From 50856f0e3b104cc02b928d7bcb7121f6ab260f7f Mon Sep 17 00:00:00 2001 From: Stelios Koroneos Date: Tue, 27 Feb 2007 13:55:05 +0000 Subject: packages/linux/linux-efika_2.6.20.bb: Copy additional kernel headers required by externel modules Closes bug #1696 --- packages/linux/linux-efika_2.6.20.bb | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'packages') 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} -- cgit v1.2.3