From a78c0def40146002e2e676cfb5d25fbd94f93296 Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Wed, 13 Oct 2004 21:33:59 +0000 Subject: 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 --- classes/kernel.oeclass | 9 +++++---- 1 file 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/ -- cgit v1.2.3