summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-07-25 16:55:27 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-07-25 16:55:27 +0000
commit0b55ce2513b7c42eae051c885bb8b7b9d9b15c51 (patch)
tree77a291e847789447aa82671b6f2e8dd8c77c799c
parent4a3e490d6b91380a491e0a5adc33e8a75e88622e (diff)
catch up with header changes in glibc. patch courtesy benjp - thanks.
BKrev: 4103e5ff6rG-fdtgmk5kzGrBcXlAzw
-rw-r--r--glibc/glibc-initial_2.3.2.oe6
1 files changed, 3 insertions, 3 deletions
diff --git a/glibc/glibc-initial_2.3.2.oe b/glibc/glibc-initial_2.3.2.oe
index 361d93ff41..c38c51b979 100644
--- a/glibc/glibc-initial_2.3.2.oe
+++ b/glibc/glibc-initial_2.3.2.oe
@@ -10,7 +10,7 @@ PACKAGES = ""
do_configure () {
sed -ie 's,{ (exit 1); exit 1; }; },{ (exit 0); }; },g' ${S}/configure
CC="${BUILD_CC}" CPP="${BUILD_CPP}" LD="${BUILD_LD}" ${S}/configure --host=${TARGET_SYS} --build=${BUILD_SYS} \
- --without-cvs --disable-sanity-checks --with-headers=${WORKDIR}/linux/include \
+ --without-cvs --disable-sanity-checks --with-headers=${HEADERS_DIR}/include \
--enable-hacker-mode
if grep -q GLIBC_2.3 ${S}/ChangeLog; then
# glibc-2.3.x passes cross options to $(CC) when generating errlist-compat.c, which fails without a real cross-compiler.
@@ -38,8 +38,8 @@ do_stage () {
touch ${CROSS_DIR}/${TARGET_SYS}/include/gnu/stubs.h
cp ${S}/include/features.h ${CROSS_DIR}/${TARGET_SYS}/include/features.h
install -d ${CROSS_DIR}/${TARGET_SYS}/include/asm
- cp -a ${WORKDIR}/linux/include/linux ${CROSS_DIR}/${TARGET_SYS}/include/
- cp -R ${WORKDIR}/linux/include/asm/* ${CROSS_DIR}/${TARGET_SYS}/include/asm/
+ cp -a ${HEADERS_DIR}/include/linux ${CROSS_DIR}/${TARGET_SYS}/include/
+ cp -R ${HEADERS_DIR}/include/asm/* ${CROSS_DIR}/${TARGET_SYS}/include/asm/
}
do_install () {