Fix libfloat when calling the compiler:
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun May 27 21:30:34 2007 +0000 (2007-05-27)
changeset 140868aa6d66b01
parent 139 3e003e24f0e5
child 141 860f8380538d
Fix libfloat when calling the compiler:
- when not compiling NPTL, the shared core C compiler does not exist,
- PATH arranges for the shared core C compiler to be found before the static one, so no need to force it.
scripts/build/libfloat.sh
     1.1 --- a/scripts/build/libfloat.sh	Sun May 27 21:15:46 2007 +0000
     1.2 +++ b/scripts/build/libfloat.sh	Sun May 27 21:30:34 2007 +0000
     1.3 @@ -29,10 +29,10 @@
     1.4      # builds OK with those versions of gcc that have severed softfloat support
     1.5      # code
     1.6      CT_DoStep INFO "Installing software floating point emulation library libfloat"
     1.7 -    mkdir build-libfloat
     1.8 +    CT_Pushd "${CT_BUILD_DIR}"
     1.9 +    mkdir -p build-libfloat
    1.10      cd build-libfloat
    1.11  
    1.12 -    CT_Pushd "${CT_BUILD_DIR}"
    1.13      CT_DoLog EXTRA "Copying sources to build dir"
    1.14      ( cd "${CT_SRC_DIR}/${CT_LIBFLOAT_FILE}"; tar cf - . ) |tar xvf - |CT_DoLog ALL
    1.15  
    1.16 @@ -40,11 +40,10 @@
    1.17      make clean 2>&1 |CT_DoLog ALL
    1.18  
    1.19      CT_DoLog EXTRA "Building library"
    1.20 -    make CROSS_COMPILE="${CT_CC_CORE_SHARED_PREFIX_DIR}/bin/${CT_TARGET}-" 2>&1 |CT_DoLog ALL
    1.21 +    make CROSS_COMPILE="${CT_TARGET}-" 2>&1 |CT_DoLog ALL
    1.22  
    1.23      CT_DoLog EXTRA "Installing library"
    1.24 -    make CROSS_COMPILE="${CT_CC_CORE_SHARED_PREFIX_DIR}/bin/${CT_TARGET}-"  \
    1.25 -         DESTDIR="${CT_SYSROOT_DIR}" install                                2>&1 |CT_DoLog ALL
    1.26 +    make DESTDIR="${CT_SYSROOT_DIR}" install    2>&1 |CT_DoLog ALL
    1.27  
    1.28      CT_Popd
    1.29