From 0fc54bae7b8f6546b64356fa798b0a0deabf979d Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sat, 16 Oct 2010 19:17:07 +0200 Subject: [PATCH] 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: 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) [...] just add the install Signed-off-by: Denis 'GNUtoo' Carikli --- recipes/linux/linux-bug_2.6.27.2.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5