diff options
Diffstat (limited to 'linux/mnci-ramses_2.4.21-rmk2-pxa1.oe')
-rw-r--r-- | linux/mnci-ramses_2.4.21-rmk2-pxa1.oe | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/linux/mnci-ramses_2.4.21-rmk2-pxa1.oe b/linux/mnci-ramses_2.4.21-rmk2-pxa1.oe index 143bc71659..198ba2dcca 100644 --- a/linux/mnci-ramses_2.4.21-rmk2-pxa1.oe +++ b/linux/mnci-ramses_2.4.21-rmk2-pxa1.oe @@ -4,7 +4,7 @@ LICENSE = "GPL" KV = "2.4.21" RMKV = "2" PXAV = "1" -#PR = "r0" +PR = "r1" SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \ ftp://ftp.arm.linux.org.uk/pub/armlinux/source/kernel-patches/v2.4/patch-${KV}-rmk${RMKV}.gz;patch=1 \ @@ -62,3 +62,15 @@ kernel_do_install() { bzip2 -9 ${D}/boot/* install -d ${D}/etc/modutils } + +do_stage () { + rm -rf ${STAGING_INCDIR}/linux ${STAGING_INCDIR}/asm + mkdir -p ${STAGING_INCDIR}/linux ${STAGING_INCDIR}/asm + cp -a include/linux/* ${STAGING_INCDIR}/linux/ + cp -a include/asm/* ${STAGING_INCDIR}/asm/ + find ${STAGING_INCDIR}/linux -name "*~*" | xargs rm + find ${STAGING_INCDIR}/asm -name "*~*" | xargs rm + + ln -sf ${STAGING_KERNEL_DIR}/include/linux/wireless.h ${STAGING_INCDIR}/linux/wireless.h + ln -sf ${STAGING_KERNEL_DIR}/include/linux/wireless.h ${CROSS_DIR}/${TARGET_SYS}/include/linux/wireless.h +} |