From: Stelios Koroneos Date: Tue, 27 Feb 2007 13:52:31 +0000 (+0000) Subject: packages/linux/linux-dht-walnut_2.6.20.bb: Copy additional kernel headers required... X-Git-Tag: Release-2010-05/1~9145^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3ee858755e64a20dac592cfa2214918b933aff0;p=openembedded.git packages/linux/linux-dht-walnut_2.6.20.bb: Copy additional kernel headers required by externel modules --- diff --git a/packages/linux/linux-dht-walnut_2.6.20.bb b/packages/linux/linux-dht-walnut_2.6.20.bb index 3eab6785d2..4a93954dfe 100644 --- a/packages/linux/linux-dht-walnut_2.6.20.bb +++ b/packages/linux/linux-dht-walnut_2.6.20.bb @@ -1,7 +1,7 @@ SECTION = "kernel" DESCRIPTION = "Linux kernel for DHT-Walnut (ppc) machine" LICENSE = "GPL" -PR = "r0" +PR = "r1" DEPENDS = "u-boot" KERNEL_CCSUFFIX = "-3.4.4" @@ -29,25 +29,20 @@ do_configure_prepend() { install -m 0644 ${WORKDIR}/dht-walnut_defconfig ${S}/.config } -#not sure if we still need this with 2.6.20 -#do_stage_append () { -#need ppc platforms includes + friends in order for external kernel modules to compile - -# install -d ${STAGING_KERNEL_DIR}/arch/ppc/platforms -# install -m 0755 arch/ppc/platforms/*.h ${STAGING_KERNEL_DIR}/arch/ppc/platforms -# -# install -d ${STAGING_KERNEL_DIR}/arch/ppc/platforms/4xx -# install -m 0755 arch/ppc/platforms/4xx/*.h ${STAGING_KERNEL_DIR}/arch/ppc/platforms/4xx -# -# install -d ${STAGING_KERNEL_DIR}/arch/ppc/platforms/83xx -# install -m 0755 arch/ppc/platforms/83xx/*.h ${STAGING_KERNEL_DIR}/arch/ppc/platforms/83xx -# -# install -d ${STAGING_KERNEL_DIR}/arch/ppc/platforms/85xx -# install -m 0755 arch/ppc/platforms/85xx/*.h ${STAGING_KERNEL_DIR}/arch/ppc/platforms/85xx -# -# install -d ${STAGING_KERNEL_DIR}/include/asm-m68k -# install -m 0755 include/asm-m68k/*.h ${STAGING_KERNEL_DIR}/include/asm-m68k -#} + +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/ + + cp -a include/asm-powerpc ${STAGING_KERNEL_DIR}/include/ + cp -a include/asm-ppc ${STAGING_KERNEL_DIR}/include/ +} + + + do_install_append () {