aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-11-20 13:16:36 +0000
committerPhil Blundell <philb@gnu.org>2004-11-20 13:16:36 +0000
commitc18dfabcaedabe3f664e10dcd4aca331de1bceb1 (patch)
tree31a95703b5f0562b746d679eb9349b1adf6281dd /classes
parentd0c90d4fc32b76e7839712c65fb7370116d9cabb (diff)
downloadopenembedded-c18dfabcaedabe3f664e10dcd4aca331de1bceb1.tar.gz
correct staging of include/asm directory
BKrev: 419f43b4PJ6rCQxmT6x4R6wzUiiYeg
Diffstat (limited to 'classes')
-rw-r--r--classes/kernel.oeclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/classes/kernel.oeclass b/classes/kernel.oeclass
index da279c0489..3c55e3ce1e 100644
--- a/classes/kernel.oeclass
+++ b/classes/kernel.oeclass
@@ -55,9 +55,11 @@ kernel_do_compile() {
}
kernel_do_stage() {
- install -d ${STAGING_KERNEL_DIR}/include/{asm,asm-generic,linux,net,pcmcia}
+ ASMDIR=`readlink include/asm`
+ install -d ${STAGING_KERNEL_DIR}/include/{$ASMDIR,asm-generic,linux,net,pcmcia}
+ ln -sf $ASMDIR ${STAGING_KERNEL_DIR}/include/asm
cp -fR include/linux/* ${STAGING_KERNEL_DIR}/include/linux/
- cp -fR include/asm/* ${STAGING_KERNEL_DIR}/include/asm/
+ cp -fR include/$ASMDIR/* ${STAGING_KERNEL_DIR}/include/$ASMDIR/
cp -fR include/asm-generic/* ${STAGING_KERNEL_DIR}/include/asm-generic/
cp -fR include/net/* ${STAGING_KERNEL_DIR}/include/net/
cp -fR include/pcmcia/* ${STAGING_KERNEL_DIR}/include/pcmcia/