projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to poppler-0.29.0
[hvlinux.git]
/
stage0
/
hv-install-2
diff --git
a/stage0/hv-install-2
b/stage0/hv-install-2
index
33a9447
..
0fd794c
100755
(executable)
--- a/
stage0/hv-install-2
+++ b/
stage0/hv-install-2
@@
-1,48
+1,50
@@
#!/bin/bash
source ~/.bashrc
#!/bin/bash
source ~/.bashrc
-
source ../functions/main
init_log_file
source ../functions/main
init_log_file
-ipkg -m noac ${KERNEL}
-
-case "${HVL_TARGET}" in
- x86*)
- ipkg ${FILE_PKG}
- ipkg ${NCURSES}
- ;;
-esac
+if [ x"${INSTALL_GLIBC}" == x"1" ]; then
+ ipkg -m noac ${KERNEL}
+fi
-CPPFLAGS=-fexceptions \
- ipkg ${GMP} "\
+ipkg ${GMP} "\
--enable-cxx \
--disable-static"
--enable-cxx \
--disable-static"
-export LDFLAGS="-Wl,-rpath,
/cross-tools
/lib"
+export LDFLAGS="-Wl,-rpath,
${CROSS_TOOLS_DIR}
/lib"
ipkg ${MPFR} "\
ipkg ${MPFR} "\
- --enable-shared \
--disable-static \
--disable-static \
- --with-gmp=
/cross-tools
"
+ --with-gmp=
${CROSS_TOOLS_DIR}
"
ipkg ${MPC} "\
--disable-static \
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_DIR}"
ipkg ${CLOOG} "\
ipkg ${CLOOG} "\
- --enable-shared \
--disable-static \
--with-bits=gmp \
--disable-static \
--with-bits=gmp \
- --with-gmp-prefix=
/cross-tools
"
+ --with-gmp-prefix=
${CROSS_TOOLS_DIR}
"
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
+
+if [ x"${HVL_TARGET}" == x"avr" ]; then
+ ipkg ${AVRLIBC} "--host=avr"
+fi
exit $?
exit $?