summaryrefslogtreecommitdiff
path: root/linux/mnci-ramses_2.4.21-rmk2-pxa1.oe
diff options
context:
space:
mode:
authorHolger Schurig <schurig@mn-solutions.de>2004-09-30 14:49:57 +0000
committerHolger Schurig <schurig@mn-solutions.de>2004-09-30 14:49:57 +0000
commit51a1649782b24ee9a6ec1e20a83b02f5e3b8f4dd (patch)
tree6654c56857a68f1ab6a70824e6996ebe19d6d4fa /linux/mnci-ramses_2.4.21-rmk2-pxa1.oe
parent7d5b527f225ceb3c28a1942a065da143ea87f593 (diff)
some MNCI "Ramses" related changes
BKrev: 415c1d15quLlMWHqQc8WEmYm8QzznA
Diffstat (limited to 'linux/mnci-ramses_2.4.21-rmk2-pxa1.oe')
-rw-r--r--linux/mnci-ramses_2.4.21-rmk2-pxa1.oe14
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
+}