X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage0%2Finstall-1;h=755a345bb1461a01edc57a982e1790eff21c556b;hb=5837862ba64bfafa96ff8007aceed581d28fb133;hp=6f07a43bcbbe4d3c4d7daeb63041090e432b3587;hpb=f9cf3632a64429991fa5e6f556b0c4017e0e9435;p=hvlinux.git diff --git a/stage0/install-1 b/stage0/install-1 index 6f07a43..755a345 100755 --- a/stage0/install-1 +++ b/stage0/install-1 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash source ~/.bashrc @@ -17,24 +17,32 @@ export LFS_TMP="${LFS}/tmp" init_log_file ipkg_cust ${KERNEL} cis-linux-api-headers -ipkg_ac ${FILE_PKG} -ipkg_cust ${NCURSES} cis-ncurses "--without-debug --without-shared" + +case "${HVL_TARGET}" in + x86*) + ipkg_ac ${FILE_PKG} + ipkg_cust ${NCURSES} cis-ncurses "--without-debug --without-shared" + ;; +esac + CPPFLAGS=-fexceptions \ ipkg_ac ${GMP} "--enable-cxx" LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ ipkg_ac ${MPFR} "--enable-shared --with-gmp=/cross-tools" + 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" + --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" + --with-gmp=/cross-tools --with-ppl=/cross-tools" + ipkg_cust ${BINUTILS} cis-binutils -ipkg ${GCC_CORE} cis-gcc-pass1 "${GCC_CORE}-pass1" -ipkg_cust ${EGLIBC} cis-eglibc -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 $?