diff options
author | Phil Blundell <philb@gnu.org> | 2004-11-20 13:16:36 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-11-20 13:16:36 +0000 |
commit | c18dfabcaedabe3f664e10dcd4aca331de1bceb1 (patch) | |
tree | 31a95703b5f0562b746d679eb9349b1adf6281dd | |
parent | d0c90d4fc32b76e7839712c65fb7370116d9cabb (diff) |
correct staging of include/asm directory
BKrev: 419f43b4PJ6rCQxmT6x4R6wzUiiYeg
-rw-r--r-- | classes/kernel.oeclass | 6 |
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/ |