diff options
author | Holger Freyther <zecke@selfish.org> | 2004-10-13 21:33:59 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2004-10-13 21:33:59 +0000 |
commit | a78c0def40146002e2e676cfb5d25fbd94f93296 (patch) | |
tree | 5ce15f080b29fc02ac392d908ea6287cc2426690 /classes | |
parent | d3ba39827665a3871d579129f6373dcc7c6788b0 (diff) |
Merge bk://openembedded@openembedded.bkbits.net/packages
into handhelds.org:/home/ich/programming/oe/oe-packages-exported
2004/10/13 23:25:01+02:00 handhelds.org!zecke
Merge bk://openembedded@openembedded.bkbits.net/packages
into handhelds.org:/home/ich/programming/oe/oe-packages-exported
2004/10/13 23:24:44+02:00 handhelds.org!zecke
Install arch/${ARCH}/Makefile to fix compilation of hostap modules that try to
include kernel Makefile.
At least the 2.4.17er beagle kernels toplevel kernel Makefile includes
arch/arm/Makefile so it is better to be installed.
BKrev: 416d9f47sNTDuVC9wNMQUdmWHKG7BA
Diffstat (limited to 'classes')
-rw-r--r-- | classes/kernel.oeclass | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/classes/kernel.oeclass b/classes/kernel.oeclass index 53482f3213..16236055d6 100644 --- a/classes/kernel.oeclass +++ b/classes/kernel.oeclass @@ -68,10 +68,11 @@ kernel_do_stage() { echo "${KERNEL_LDSUFFIX}" >${STAGING_KERNEL_DIR}/kernel-ldsuffix [ -e Rules.make ] && install -m 0644 Rules.make ${STAGING_KERNEL_DIR}/ [ -e Makefile ] && install -m 0644 Makefile ${STAGING_KERNEL_DIR}/ - # Makefile includes arch/mips/Makefile on mips - if [ "${ARCH}" = "mips" ]; then - install -d ${STAGING_KERNEL_DIR}/arch/mips - install -m 0644 arch/mips/Makefile ${STAGING_KERNEL_DIR}/arch/mips + + # Check if arch/${ARCH}/Makefile exists and install it + if [ -e arch/${ARCH}/Makefile ]; then + install -d ${STAGING_KERNEL_DIR}/arch/${ARCH} + install -m 0644 arch/${ARCH}/Makefile ${STAGING_KERNEL_DIR}/arch/${ARCH} fi cp -fR scripts ${STAGING_KERNEL_DIR}/ cp -fR include/config* ${STAGING_KERNEL_DIR}/include/ |