packages/linux/linux-efika_2.6.20.bb: Copy additional kernel headers required by...
authorStelios Koroneos <skoroneos@digital-opsis.com>
Tue, 27 Feb 2007 13:55:05 +0000 (13:55 +0000)
committerStelios Koroneos <skoroneos@digital-opsis.com>
Tue, 27 Feb 2007 13:55:05 +0000 (13:55 +0000)
Closes bug #1696

packages/linux/linux-efika_2.6.20.bb

index 79fa08e..c74b6b8 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Linux Kernel for the EFIKA dev platform"
 SECTION = "kernel"
 LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
 
 COMPATIBLE_MACHINE = "efika"
 
@@ -56,6 +56,20 @@ do_configure() {
                make ARCH=${ARCH} oldconfig
 }
 
+do_stage_append () {
+#need ppc platforms includes + friends in order for external kernel modules to compile as headers as still split
+
+       install -d ${STAGING_KERNEL_DIR}/arch/
+       cp -a arch/ppc ${STAGING_KERNEL_DIR}/arch/
+       cp -a arch/powerpc ${STAGING_KERNEL_DIR}/arch/
+
+       install -d ${STAGING_KERNEL_DIR}/include/asm
+       cp -a include/asm-powerpc ${STAGING_KERNEL_DIR}/include/
+       cp -a include/asm-ppc ${STAGING_KERNEL_DIR}/include/
+}
+
+
+
 do_deploy() {
         install -d ${DEPLOY_DIR_IMAGE}
         install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}