summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorStelios Koroneos <skoroneos@digital-opsis.com>2007-02-27 13:55:05 +0000
committerStelios Koroneos <skoroneos@digital-opsis.com>2007-02-27 13:55:05 +0000
commit50856f0e3b104cc02b928d7bcb7121f6ab260f7f (patch)
treed63be7dbd9eef6e402a474eb1871e90d5e9623ea /packages
parente3ee858755e64a20dac592cfa2214918b933aff0 (diff)
packages/linux/linux-efika_2.6.20.bb: Copy additional kernel headers required by externel modules
Closes bug #1696
Diffstat (limited to 'packages')
-rw-r--r--packages/linux/linux-efika_2.6.20.bb16
1 files changed, 15 insertions, 1 deletions
diff --git a/packages/linux/linux-efika_2.6.20.bb b/packages/linux/linux-efika_2.6.20.bb
index 79fa08e5fe..c74b6b8c4c 100644
--- a/packages/linux/linux-efika_2.6.20.bb
+++ b/packages/linux/linux-efika_2.6.20.bb
@@ -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}