diff options
author | Gerald Britton <gbritton@doomcom.org> | 2004-04-21 05:18:00 +0000 |
---|---|---|
committer | Gerald Britton <gbritton@doomcom.org> | 2004-04-21 05:18:00 +0000 |
commit | 83c4dd95e1cb221a9afc49f856a99f0b182b2a7f (patch) | |
tree | 53c7ab7f966d79fbe8454087cda499fd25bb3ad9 | |
parent | e5733028af7646efdd097cd9fbc5fbbfd5e48384 (diff) |
fix glibc and uclibc silent build errors
BKrev: 40860408ymapx4AGOe8XR6F6_m1NOQ
-rw-r--r-- | glibc/glibc_2.3.2.oe | 4 | ||||
-rw-r--r-- | uclibc/uclibc_0.9.26.oe | 17 |
2 files changed, 11 insertions, 10 deletions
diff --git a/glibc/glibc_2.3.2.oe b/glibc/glibc_2.3.2.oe index 5991f54469..3b6ddf8b3a 100644 --- a/glibc/glibc_2.3.2.oe +++ b/glibc/glibc_2.3.2.oe @@ -96,7 +96,7 @@ EXTRA_OECONF = "--without-tls --without-__thread --enable-kernel=${OLDEST_KERNEL glibcbuild_do_unpack () { mv "${WORKDIR}/linuxthreads" "${WORKDIR}/linuxthreads_db" "${S}/" # kernel headers - cp -a "${FILESDIR}/autoconf.h" "${WORKDIR}/linux/include/linux/" + touch ${WORKDIR}/linux/include/linux/autoconf.h sed 's:\(^.*define.*__NR_waitpid.*$\):/*&*/:' < ${WORKDIR}/linux/include/asm-arm/unistd.h > ${WORKDIR}/linux/include/asm-arm/unistd.h.new mv ${WORKDIR}/linux/include/asm-arm/unistd.h.new ${WORKDIR}/linux/include/asm-arm/unistd.h case ${TARGET_ARCH} in @@ -195,7 +195,7 @@ do_stage() { ${CROSS_DIR}/${TARGET_SYS}/include/rpcsvc install -m 0644 ${S}/include/gnu/stubs.h ${CROSS_DIR}/${TARGET_SYS}/include/gnu/ install -m 0644 ${B}/bits/stdio_lim.h ${CROSS_DIR}/${TARGET_SYS}/include/bits/ - install -m 0644 misc/syscall-list.h ${CROSS_DIR}/${TARGET_SYS}/bits/syscall.h + install -m 0644 misc/syscall-list.h ${CROSS_DIR}/${TARGET_SYS}/include/bits/syscall.h for r in ${rpcsvc}; do h=`echo $r|sed -e's,\.x$,.h,'` install -m 0644 ${S}/sunrpc/rpcsvc/$h ${CROSS_DIR}/${TARGET_SYS}/include/rpcsvc/ diff --git a/uclibc/uclibc_0.9.26.oe b/uclibc/uclibc_0.9.26.oe index f723f762f7..b8e308a293 100644 --- a/uclibc/uclibc_0.9.26.oe +++ b/uclibc/uclibc_0.9.26.oe @@ -57,13 +57,14 @@ python do_patch () { } do_stage() { - # Install into the staging dir - make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ - RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ + # Install into the cross dir (this MUST be done first because we + # will install crt1.o in the install_dev stage and gcc needs it) + make PREFIX= DEVEL_PREFIX=${UCLIBC_PREFIX}/ \ + RUNTIME_PREFIX=${UCLIBC_PREFIX}/ \ install_dev install_runtime install_utils # We don't really need this - rm -f ${UCLIBC_STAGE_PREFIX}/include/.cvsignore + rm -f ${UCLIBC_PREFIX}/include/.cvsignore # Fixup shared lib symlinks ( cd ${UCLIBC_STAGE_PREFIX}/lib @@ -72,13 +73,13 @@ do_stage() { done ) - # Install into the cross dir - make PREFIX= DEVEL_PREFIX=${UCLIBC_PREFIX}/ \ - RUNTIME_PREFIX=${UCLIBC_PREFIX}/ \ + # Install into the staging dir + make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ + RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ install_dev install_runtime install_utils # We don't really need this - rm -f ${UCLIBC_PREFIX}/include/.cvsignore + rm -f ${UCLIBC_STAGE_PREFIX}/include/.cvsignore # Fixup shared lib symlinks ( cd ${UCLIBC_STAGE_PREFIX}/lib |