X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage0%2Fpackages-update;h=5965f8be45a955900618d4d3d4f0fcbaeeeffca6;hb=4e78d26dd7f5e46a21cdc916e031f1b4a68578c0;hp=e6e9b0d262b9ee611f023c0c4739db91e2d4fc97;hpb=cd4743168caa0d3a5869188db99d0b0f5801bf42;p=hvlinux.git diff --git a/stage0/packages-update b/stage0/packages-update index e6e9b0d..5965f8b 100755 --- a/stage0/packages-update +++ b/stage0/packages-update @@ -1,41 +1,25 @@ #!/bin/bash -USE_LFS_PATCHES=1 -USE_LFS_OLD_PATCHES=1 -USE_BLFS_PATCHES=1 -USE_CLFS_PATCHES=1 -USE_HV_PATCHES=1 - source ../functions/main update_packages_init ${*} -if [ "x${KERNEL}" = "x${NOUVEAU_NVIDIA_KERNEL}" ]; then - # Special case - fpkg -m hv ${KERNEL} -else - fpkg -s "linux/kernel/v$(get_pkg_ver1 ${KERNEL}).0" ${KERNEL} ${KERNEL_URL} +if [ x"${INSTALL_GLIBC}" == x"1" ]; then + fpkg -m gnu ${GLIBC} + fpkg -s "linux/kernel/v$(get_pkg_ver1 ${KERNEL}).0" ${KERNEL} \ + ${KERNEL_URL} fi -fpkg -e "tar.gz" ${FILE_PKG} "ftp://ftp.astron.com/pub/file" -fpkg -m gnu ${NCURSES} fpkg -m gnu ${GMP} fpkg -m gnu ${MPFR} fpkg -e "tar.gz" ${MPC} "http://www.multiprecision.org/mpc/download" -fpkg -s "$(get_pkg_ver ${PPL})" ${PPL} \ - "http://bugseng.com/products/ppl/download/ftp/releases" +fpkg ${ISL} "http://isl.gforge.inria.fr" fpkg -e "tar.gz" ${CLOOG} "http://www.bastoul.net/cloog/pages/download" fpkg -e "tar.bz2" -m gnu ${BINUTILS} - -# For GCC, we don't use LFS or BLFS patches because we want to carefully -# select which patch get applied -unset USE_LFS_PATCHES -unset USE_BLFS_PATCHES fpkg -m gnu -s "gcc/${GCC}" ${GCC} -USE_LFS_PATCHES=1 -USE_BLFS_PATCHES=1 -fpkg ${EGLIBC} ${CLFS_PKG_COSMO_URL} -fpkg ${EGLIBC_PORTS} ${CLFS_PKG_COSMO_URL} +if [ x"${HVL_TARGET}" == x"avr" ]; then + fpkg ${AVRLIBC} "http://download.savannah.gnu.org/releases/avr-libc" +fi exit $?