Update of /cvsroot/linux-vax/toolchain/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15355/scripts
Modified Files:
build_toolchain.sh
Log Message:
- Use our own libm instead of the IEEE one from uClibc.
Index: build_toolchain.sh
===================================================================
RCS file: /cvsroot/linux-vax/toolchain/scripts/build_toolchain.sh,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- build_toolchain.sh 2 Nov 2005 18:08:15 -0000 1.27
+++ build_toolchain.sh 9 Nov 2005 23:24:21 -0000 1.28
@@ -590,6 +590,19 @@
# Install
build "${BUILD_GCC1}" && execute make install
+ case "${TARGET}" in
+ vax-*)
+ pushd "${UCLIBC_SRC}/libm-vax"
+ execute make TARGET="${TARGET}-" libm.a
+ execute cp "${INSTALL_BASE}/usr/${TARGET}/lib/lib/libm.a" \
+ "${INSTALL_BASE}/usr/${TARGET}/lib/lib/libm-uClibc.a"
+ execute cp libm.a "${INSTALL_BASE}/usr/${TARGET}/lib/lib/"
+ popd
+ ;;
+ *)
+ :;;
+ esac
+
# Fixup. Until LINK_SPEC is correct for GCC, we need to fiddle
# with library and header file location...
pushd "${INSTALL_BASE}/usr/${TARGET}/lib"
|