X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage0%2Fpackages-update;h=5965f8be45a955900618d4d3d4f0fcbaeeeffca6;hb=3a7d016a0246156de63a6f98bbf5be2e95230060;hp=0b071fcdb332c461b52cf59fb5d0f4e37332d270;hpb=f9cf3632a64429991fa5e6f556b0c4017e0e9435;p=hvlinux.git diff --git a/stage0/packages-update b/stage0/packages-update index 0b071fc..5965f8b 100755 --- a/stage0/packages-update +++ b/stage0/packages-update @@ -1,28 +1,25 @@ -#!/bin/sh +#!/bin/bash -LFS_STAGE="stage0" -# We don't use LFS or BLFS patches because we want to carefully -# select which patch get applied -USE_CLFS_PATCHES=1 -USE_HV_PATCHES=1 +source ../functions/main -# Reading system configuration informations, functions and package versions. -source ../sysinfos -source ../functions -source ../functions-update -source ../packages-list +update_packages_init ${*} -update_packages_init +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 ${KERNEL} "http://www.kernel.org/pub/linux/kernel/v2.6" -fpkg ${FILE_PKG} "http://cross-lfs.org/files/packages/svn" -fpkg_gnu ${NCURSES} -fpkg_gnu ${GMP} -fpkg ${MPFR} "http://www.mpfr.org/mpfr-current" -fpkg ${PPL} "http://www.cs.unipr.it/ppl/Download/ftp/releases/$(get_pkg_ver ${PPL})" -fpkg ${CLOOG_PPL} "ftp://gcc.gnu.org/pub/gcc/infrastructure" -fpkg_gnu ${BINUTILS} -fpkg ${GCC_CORE} ${GNU_URL}/gcc/${GCC_CORE} -fpkg ${EGLIBC} "http://cross-lfs.org/files/packages/svn" +fpkg -m gnu ${GMP} +fpkg -m gnu ${MPFR} +fpkg -e "tar.gz" ${MPC} "http://www.multiprecision.org/mpc/download" +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} +fpkg -m gnu -s "gcc/${GCC}" ${GCC} + +if [ x"${HVL_TARGET}" == x"avr" ]; then + fpkg ${AVRLIBC} "http://download.savannah.gnu.org/releases/avr-libc" +fi exit $?