summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2004-10-13 21:33:59 +0000
committerHolger Freyther <zecke@selfish.org>2004-10-13 21:33:59 +0000
commita78c0def40146002e2e676cfb5d25fbd94f93296 (patch)
tree5ce15f080b29fc02ac392d908ea6287cc2426690
parentd3ba39827665a3871d579129f6373dcc7c6788b0 (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
-rw-r--r--classes/kernel.oeclass9
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/