Skip to contentSkip to conversation

Fix kernel build, version >= 2.6.33-rc1, arch x86

PATCH In review Aleksey Makarov 2 participants 2 messages Jan 18, 2010 – Jan 21, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix kernel build, version >= 2.6.33-rc1, arch x86

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(-)
classes/kernel.bbclass +3 -1
index 83530b5..53ea252 100644
@@ -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
Signature · 1 line
1.6.4.4
#1 lore raw
Quoted 1 line · Aleksey Makarov

A check was missed in the x86 path of the stage method. Compare it to the common path.

Pushed thanks!

Quoted 27 lines
---
 classes/kernel.bbclass |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
classes/kernel.bbclass +3 -1
index 83530b5..53ea252 100644
@@ -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
Signature · 7 lines
1.6.4.4


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 3 lines
uin:136542059                jid:[email protected]
Jansa Martin                 sip:[email protected] 
JaMa