X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage0%2Fhv-install-2;h=0fd794c07b4a6427fa5a816bf886cc539894caab;hb=6ef29aea0134cb6e7e3f34233495b4d68818668f;hp=c7ee29339c818138fb12a58e8c58f8cab7c5daa3;hpb=f0d54c69a71d7d5cb32aa342ea38cba6aab9570f;p=hvlinux.git diff --git a/stage0/hv-install-2 b/stage0/hv-install-2 index c7ee293..0fd794c 100755 --- a/stage0/hv-install-2 +++ b/stage0/hv-install-2 @@ -9,39 +9,29 @@ if [ x"${INSTALL_GLIBC}" == x"1" ]; then ipkg -m noac ${KERNEL} fi -case "${HVL_TARGET}" in - x86*) - ipkg ${FILE_PKG} - ipkg ${NCURSES} - ;; -esac - -CPPFLAGS=-fexceptions \ - ipkg ${GMP} "\ +ipkg ${GMP} "\ --enable-cxx \ --disable-static" -export LDFLAGS="-Wl,-rpath,/cross-tools/lib" +export LDFLAGS="-Wl,-rpath,${CROSS_TOOLS_DIR}/lib" ipkg ${MPFR} "\ - --enable-shared \ --disable-static \ - --with-gmp=/cross-tools" + --with-gmp=${CROSS_TOOLS_DIR}" ipkg ${MPC} "\ --disable-static \ - --with-gmp=/cross-tools \ - --with-mpfr=/cross-tools" + --with-gmp=${CROSS_TOOLS_DIR} \ + --with-mpfr=${CROSS_TOOLS_DIR}" ipkg ${ISL} "\ --disable-static \ - --with-gmp-prefix=/cross-tools" + --with-gmp-prefix=${CROSS_TOOLS_DIR}" ipkg ${CLOOG} "\ - --enable-shared \ --disable-static \ --with-bits=gmp \ - --with-gmp-prefix=/cross-tools" + --with-gmp-prefix=${CROSS_TOOLS_DIR}" LDFLAGS="" @@ -53,4 +43,8 @@ if [ x"${INSTALL_GLIBC}" == x"1" ]; then ipkg -l "${GCC}-pass2" ${GCC} fi +if [ x"${HVL_TARGET}" == x"avr" ]; then + ipkg ${AVRLIBC} "--host=avr" +fi + exit $?