[oe] [PATCH] Fix kernel build, version >= 2.6.33-rc1, arch x86
Aleksey Makarov
amakarov at dev.rtsoft.ru
Mon Jan 18 21:06:23 UTC 2010
A check was missed in the x86 path of the stage method. Compare it to the common path.
---
classes/kernel.bbclass | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 83530b5..53ea252 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -112,7 +112,9 @@ kernel_do_stage() {
# Check for arch/x86 on i386
elif [ -d arch/x86/include/asm/ ]; then
- cp -fR arch/x86/include/asm/* ${STAGING_KERNEL_DIR}/include/asm-x86/
+ if [ -e include/asm ] ; then
+ cp -fR arch/x86/include/asm/* ${STAGING_KERNEL_DIR}/include/asm-x86/
+ fi
install -d ${STAGING_KERNEL_DIR}/arch/x86/include
cp -fR arch/x86/* ${STAGING_KERNEL_DIR}/arch/x86/
fi
--
1.6.4.4
More information about the Openembedded-devel
mailing list