aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-bug_2.6.27.2.bb
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2010-10-16 19:17:07 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2010-10-17 21:37:56 +0200
commit0fc54bae7b8f6546b64356fa798b0a0deabf979d (patch)
treeb9d014c2d3e8ec38ecf291de45e409fa1f2ab24a /recipes/linux/linux-bug_2.6.27.2.bb
parent2d9d8d68c65491a5aa55b6bdb53f192838912f43 (diff)
downloadopenembedded-0fc54bae7b8f6546b64356fa798b0a0deabf979d.tar.gz
linux-bug: fix installation
without the fix it does that: | cp: target `.../work/bug-angstrom-linux-gnueabi/linux-bug-2.6.27.2+svnr10746-r32/image/kernel//include/asm/' is not a directory NOTE: package linux-bug-2.6.27.2+svnr10746-r32: task do_install: Failed Thanks to eFfeM on #oe for help: <eFfeM> you copy to $kerneldir/include/asm but that is not guaranteed to exist, ust add an install -d (install -d is better than mkdir as it will also create inbetween dirs if needed) [...] <eFfeM> just add the install Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Diffstat (limited to 'recipes/linux/linux-bug_2.6.27.2.bb')
-rw-r--r--recipes/linux/linux-bug_2.6.27.2.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/linux/linux-bug_2.6.27.2.bb b/recipes/linux/linux-bug_2.6.27.2.bb
index 680d5975e4..459c4e7e4a 100644
--- a/recipes/linux/linux-bug_2.6.27.2.bb
+++ b/recipes/linux/linux-bug_2.6.27.2.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Linux kernel for bug"
PV_append = "+svnr${SRCREV}"
KV = "2.6.27.2"
-PR = "r32"
+PR = "r33"
COMPATIBLE_MACHINE = "bug"
@@ -25,6 +25,7 @@ do_install_append() {
}
do_install_append() {
+ install -d $kerneldir/include/asm/
cp -fR ${S}/arch/arm/include/asm/* $kerneldir/include/asm/
if [ ! -e $kerneldir/include/mach ]; then
mkdir $kerneldir/include/mach