#!/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} "\
+ipkg ${GMP} "\
--enable-cxx \
--disable-static"
export LDFLAGS="-Wl,-rpath,/cross-tools/lib"
ipkg ${MPFR} "\
- --enable-shared \
--disable-static \
--with-gmp=/cross-tools"
--with-gmp=/cross-tools \
--with-mpfr=/cross-tools"
-CPPFLAGS="-I/cross-tools/include" \
- ipkg ${PPL} "\
- --enable-shared \
+ipkg ${ISL} "\
--disable-static \
- --enable-interfaces=c,cxx \
- --disable-optimization \
- --with-gmp=/cross-tools"
+ --with-gmp-prefix=/cross-tools"
+
ipkg ${CLOOG} "\
- --enable-shared \
--disable-static \
--with-bits=gmp \
--with-gmp-prefix=/cross-tools"
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 $?