From: Jan-Benedict G. <jb...@us...> - 2005-11-02 18:02:22
|
Update of /cvsroot/linux-vax/toolchain/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30716 Modified Files: build_toolchain.sh Log Message: - Build uClibc using the correct Makefile (the newly used Makefile.in is now already aged...) - Build native GCC in it's own directory instead of the root directory of the whole build. Index: build_toolchain.sh =================================================================== RCS file: /cvsroot/linux-vax/toolchain/scripts/build_toolchain.sh,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- build_toolchain.sh 1 Nov 2005 10:53:32 -0000 1.25 +++ build_toolchain.sh 2 Nov 2005 18:02:09 -0000 1.26 @@ -40,7 +40,7 @@ # # Flags for make. # -# MAKEFLAGS="-j2" +#MAKEFLAGS="-j2" # # Default target (if it's not given on command line) @@ -387,6 +387,7 @@ UCLIBC_BUILD="${BUILD_BASE}/uclibc" BINUTILS_NATIVE_BUILD="${BUILD_BASE}/binutils-native" +GCC1_NATIVE_BUILD="${BUILD_BASE}/gcc1-native" # # Create all the directories @@ -407,6 +408,7 @@ mkdir "${UCLIBC_BUILD}"; UCLIBC_BUILD="`check_path "${UCLIBC_BUILD}"`" mkdir "${INSTALL_NATIVE_BASE}"; INSTALL_NATIVE_BASE="`check_path "${INSTALL_NATIVE_BASE}"`" mkdir "${BINUTILS_NATIVE_BUILD}"; BINUTILS_NATIVE_BUILD="`check_path "${BINUTILS_NATIVE_BUILD}"`" +mkdir "${GCC1_NATIVE_BUILD}"; GCC1_NATIVE_BUILD="`check_path "${GCC1_NATIVE_BUILD}"`" # # Redirect all output to a file if requested. @@ -580,13 +582,16 @@ # Prepare build "${BUILD_UCLIBC}" && execute ./extra/scripts/create_makefiles.sh - build "${BUILD_UCLIBC}" && execute make -f Makefile.in oldconfig + ###build "${BUILD_UCLIBC}" && execute make -f Makefile.in oldconfig + build "${BUILD_UCLIBC}" && execute make oldconfig # Build - build "${BUILD_GCC1}" && execute make -f Makefile.in ${MAKEFLAGS} + ###build "${BUILD_GCC1}" && execute make -f Makefile.in ${MAKEFLAGS} + build "${BUILD_GCC1}" && execute make ${MAKEFLAGS} # Install - build "${BUILD_GCC1}" && execute make -f Makefile.in install + ###build "${BUILD_GCC1}" && execute make -f Makefile.in install + build "${BUILD_GCC1}" && execute make install # Fixup. Until LINK_SPEC is correct for GCC, we need to fiddle # with library and header file location... @@ -654,7 +659,7 @@ ${WERROR} # Build - build "${BUILD_GCC1}" && execute make ${MAKEFLAGS} all-gcc + build "${BUILD_GCC1}" && execute make ${MAKEFLAGS} all-gcc # Install build "${BUILD_GCC1}" && \ |