X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage0%2Finstall-1;h=755a345bb1461a01edc57a982e1790eff21c556b;hb=dcec87c5d26412332ea56c1ce39eef61b3a932af;hp=b9bf7358a6c031cb32e202a4b2c6b25803b072db;hpb=1786cd5454ea76e7f894efa81a7cef80a057b634;p=hvlinux.git diff --git a/stage0/install-1 b/stage0/install-1 index b9bf735..755a345 100755 --- a/stage0/install-1 +++ b/stage0/install-1 @@ -30,32 +30,19 @@ CPPFLAGS=-fexceptions \ LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ ipkg_ac ${MPFR} "--enable-shared --with-gmp=/cross-tools" -case "${HVL_TARGET}" in - x86*) - LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ - ipkg_ac ${PPL} "--enable-shared \ - --enable-interfaces=c,cxx \ - --disable-optimization \ - --with-libgmp-prefix=/cross-tools \ - --with-libgmpxx-prefix=/cross-tools" - LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ - ipkg_cust ${CLOOG_PPL} cis-cloog-ppl "--enable-shared --with-bits=gmp \ - --with-gmp=/cross-tools --with-ppl=/cross-tools" - ;; -esac +LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ + ipkg_ac ${PPL} "--enable-shared \ + --enable-interfaces=c,cxx \ + --disable-optimization \ + --with-libgmp-prefix=/cross-tools \ + --with-libgmpxx-prefix=/cross-tools" +LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ + ipkg_cust ${CLOOG_PPL} cis-cloog-ppl "--enable-shared --with-bits=gmp \ + --with-gmp=/cross-tools --with-ppl=/cross-tools" ipkg_cust ${BINUTILS} cis-binutils -ipkg ${GCC_CORE} cis-gcc-pass1 "${GCC_CORE}-pass1" - -case "${HVL_TARGET}" in - x86*) - ipkg_cust ${EGLIBC} cis-eglibc - ;; - arm*) - ipkg_cust ${UCLIBC} cis-uclibc - ;; -esac - -ipkg ${GCC_CORE} cis-gcc-pass2 "${GCC_CORE}-pass2" +ipkg ${GCC} cis-gcc-pass1 "${GCC}-pass1" +ipkg_cust ${EGLIBC} cis-eglibc +ipkg ${GCC} cis-gcc-pass2 "${GCC}-pass2" exit $?