X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage0%2Fhv-install-2;h=7b7f32e998463dfcb6e9965140a1404f6e60ccd5;hb=fdfe3465d577792d614b8ceae56c5a30e9e20481;hp=0be337f8dfd0c0acdda959725cc367ad5ebedc41;hpb=156c4e984968dd572d24a265085f1487815b7009;p=hvlinux.git diff --git a/stage0/hv-install-2 b/stage0/hv-install-2 index 0be337f..7b7f32e 100755 --- a/stage0/hv-install-2 +++ b/stage0/hv-install-2 @@ -1,12 +1,13 @@ #!/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*) @@ -15,15 +16,13 @@ case "${HVL_TARGET}" in ;; 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" @@ -32,15 +31,11 @@ ipkg ${MPC} "\ --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" @@ -49,7 +44,10 @@ 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 $?