projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add boot partition for ASUS G3220
[hvlinux.git]
/
stage0
/
hv-install-2
diff --git
a/stage0/hv-install-2
b/stage0/hv-install-2
index
8b6c069
..
7b7f32e
100755
(executable)
--- a/
stage0/hv-install-2
+++ b/
stage0/hv-install-2
@@
-1,15
+1,13
@@
#!/bin/bash
source ~/.bashrc
#!/bin/bash
source ~/.bashrc
-
-# Reading system configuration informations, functions and package versions.
-source ../config/sysinfos
-source ../functions
-source ../config/packages-list
+source ../functions/main
init_log_file
init_log_file
-ipkg -m noac ${KERNEL}
+if [ x"${INSTALL_GLIBC}" == x"1" ]; then
+ ipkg -m noac ${KERNEL}
+fi
case "${HVL_TARGET}" in
x86*)
case "${HVL_TARGET}" in
x86*)
@@
-18,34
+16,38
@@
case "${HVL_TARGET}" in
;;
esac
;;
esac
-CPPFLAGS=-fexceptions \
- ipkg ${GMP} "--enable-cxx"
+ipkg ${GMP} "\
+ --enable-cxx \
+ --disable-static"
export LDFLAGS="-Wl,-rpath,/cross-tools/lib"
ipkg ${MPFR} "\
export LDFLAGS="-Wl,-rpath,/cross-tools/lib"
ipkg ${MPFR} "\
- --
enable-shared
\
+ --
disable-static
\
--with-gmp=/cross-tools"
--with-gmp=/cross-tools"
+
ipkg ${MPC} "\
ipkg ${MPC} "\
+ --disable-static \
--with-gmp=/cross-tools \
--with-mpfr=/cross-tools"
--with-gmp=/cross-tools \
--with-mpfr=/cross-tools"
-ipkg ${PPL} "\
- --enable-shared \
- --enable-interfaces=c,cxx \
- --disable-optimization \
- --with-libgmp-prefix=/cross-tools \
- --with-libgmpxx-prefix=/cross-tools"
-ipkg ${CLOOG_PPL} "\
- --enable-shared \
+
+ipkg ${ISL} "\
+ --disable-static \
+ --with-gmp-prefix=/cross-tools"
+
+ipkg ${CLOOG} "\
+ --disable-static \
--with-bits=gmp \
--with-bits=gmp \
- --with-gmp=/cross-tools \
- --with-ppl=/cross-tools"
+ --with-gmp-prefix=/cross-tools"
LDFLAGS=""
ipkg ${BINUTILS}
ipkg -l "${GCC}-pass1" ${GCC}
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 $?
exit $?