X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fhv-install-2;h=875030f49ac225719586c61f26bfdc7550ebcea2;hb=00d15832297a96f8773bd7d206a4f009506160b7;hp=8911addc1e5bf1b39796b958c8b375f42f568161;hpb=64ed4e36aa63a9417609032fd8be6078f1ceb433;p=hvlinux.git diff --git a/stage1/hv-install-2 b/stage1/hv-install-2 index 8911add..875030f 100755 --- a/stage1/hv-install-2 +++ b/stage1/hv-install-2 @@ -8,21 +8,12 @@ init_log_file # Building temporary system -HOST_CC=gcc CPPFLAGS=-fexceptions \ - ipkg ${GMP} "--enable-cxx" -ipkg ${MPFR} "--enable-shared" +ipkg ${GMP} "--enable-cxx" +ipkg ${MPFR} ipkg ${MPC} -ipkg ${PPL} "\ - --enable-shared \ - --enable-interfaces=c,cxx \ - --disable-optimization \ - --with-libgmp-prefix=/tools \ - --with-libgmpxx-prefix=/tools" -ipkg ${CLOOG_PPL} "\ - --enable-shared \ - --with-bits=gmp \ - --with-gmp=/tools \ - --with-ppl=/tools" +ipkg ${ISL} +ipkg ${CLOOG} "\ + --with-isl=system" ipkg -m acnb ${ZLIB} ipkg ${BINUTILS} ipkg ${GCC} @@ -35,7 +26,7 @@ ipkg ${NCURSES} "\ ipkg ${BASH} "--without-bash-malloc" ipkg ${BISON} ipkg -m noac ${BZIP2} -ipkg ${COREUTILS} "--enable-install-program=hostname" +ipkg -m acnb -j ${COREUTILS} "--enable-install-program=hostname" ipkg ${DIFFUTILS} ipkg ${FINDUTILS} ipkg ${FILE_PKG} @@ -61,15 +52,19 @@ rscr once "Creating symbolic links" create-symlinks ipkg ${NANO} "--enable-color --enable-multibuffer" PKG_CONFIG=true \ ipkg ${UTIL_LINUX} "\ - --prefix=/tools \ - --exec-prefix=${LFS} \ - --enable-login-utils \ + --exec-prefix=/tools \ + --disable-login \ + --disable-sulogin \ + --disable-su \ --disable-makeinstall-chown" - -ipkg ${E2FSPROGS} +ipkg ${SHADOW} "\ + --sysconfdir=/etc \ + --cache-file=config.cache" +LDFLAGS="-Wl,-lpthread,-ldl" \ + ipkg ${E2FSPROGS} ipkg -m noac ${SYSVINIT} -ipkg ${MODULE_INIT_TOOLS} -ipkg ${UDEV} +ipkg ${KMOD} +ipkg ${EUDEV} ipkg -c -m noac ${KERNEL} rscr once "Creating default users" create-users