#!/bin/bash
source ~/.bashrc
-
source ../functions/main
init_log_file
-ipkg -m noac ${KERNEL}
+if [ x"${INSTALL_GLIBC}" == x"1" ]; then
+ ipkg -m noac ${KERNEL}
+fi
case "${HVL_TARGET}" in
x86*)
;;
esac
-CPPFLAGS=-fexceptions \
- ipkg ${GMP} "--enable-cxx"
+ipkg ${GMP} "\
+ --enable-cxx \
+ --disable-static"
export LDFLAGS="-Wl,-rpath,/cross-tools/lib"
ipkg ${MPFR} "\
- --enable-shared \
+ --disable-static \
--with-gmp=/cross-tools"
+
ipkg ${MPC} "\
+ --disable-static \
--with-gmp=/cross-tools \
--with-mpfr=/cross-tools"
-ipkg ${PPL} "\
- --enable-shared \
- --enable-interfaces=c,cxx \
- --disable-optimization \
- --with-libgmp-prefix=/cross-tools \
- --with-libgmpxx-prefix=/cross-tools"
+
+ipkg ${ISL} "\
+ --disable-static \
+ --with-gmp-prefix=/cross-tools"
+
ipkg ${CLOOG} "\
- --enable-shared \
+ --disable-static \
--with-bits=gmp \
- --with-gmp=/cross-tools"
+ --with-gmp-prefix=/cross-tools"
LDFLAGS=""
ipkg ${BINUTILS}
ipkg -l "${GCC}-pass1" ${GCC}
-ipkg ${EGLIBC}
-ipkg -l "${GCC}-pass2" ${GCC}
+
+if [ x"${INSTALL_GLIBC}" == x"1" ]; then
+ ipkg ${GLIBC}
+ ipkg -l "${GCC}-pass2" ${GCC}
+fi
exit $?