From 83c4dd95e1cb221a9afc49f856a99f0b182b2a7f Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Wed, 21 Apr 2004 05:18:00 +0000 Subject: fix glibc and uclibc silent build errors BKrev: 40860408ymapx4AGOe8XR6F6_m1NOQ --- uclibc/uclibc_0.9.26.oe | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'uclibc') 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 -- cgit v1.2.3