diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-27 21:30:34 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-27 21:30:34 (GMT) |
commit | e163ff9125ef6b09296993087fcda39852aa6aa8 (patch) | |
tree | 65740979fb19bced1a6770b5d14b2be7f85c3d2d /scripts/build/libfloat.sh | |
parent | 2e4a36d95cb87974c7da0e4aef12c501ddc12435 (diff) |
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.
Diffstat (limited to 'scripts/build/libfloat.sh')
-rw-r--r-- | scripts/build/libfloat.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/build/libfloat.sh b/scripts/build/libfloat.sh index 147d046..ee3c119 100644 --- a/scripts/build/libfloat.sh +++ b/scripts/build/libfloat.sh @@ -29,10 +29,10 @@ do_libfloat() { # builds OK with those versions of gcc that have severed softfloat support # code CT_DoStep INFO "Installing software floating point emulation library libfloat" - mkdir build-libfloat + CT_Pushd "${CT_BUILD_DIR}" + mkdir -p build-libfloat cd build-libfloat - CT_Pushd "${CT_BUILD_DIR}" CT_DoLog EXTRA "Copying sources to build dir" ( cd "${CT_SRC_DIR}/${CT_LIBFLOAT_FILE}"; tar cf - . ) |tar xvf - |CT_DoLog ALL @@ -40,11 +40,10 @@ do_libfloat() { make clean 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Building library" - make CROSS_COMPILE="${CT_CC_CORE_SHARED_PREFIX_DIR}/bin/${CT_TARGET}-" 2>&1 |CT_DoLog ALL + make CROSS_COMPILE="${CT_TARGET}-" 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Installing library" - make CROSS_COMPILE="${CT_CC_CORE_SHARED_PREFIX_DIR}/bin/${CT_TARGET}-" \ - DESTDIR="${CT_SYSROOT_DIR}" install 2>&1 |CT_DoLog ALL + make DESTDIR="${CT_SYSROOT_DIR}" install 2>&1 |CT_DoLog ALL CT_Popd |