#!/bin/bash
-USE_LFS_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
+if [ x"${INSTALL_GLIBC}" == x"1" ]; then
+ 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}
+ fpkg -m hv ${KERNEL}
+ else
+ fpkg -s "linux/kernel/v$(get_pkg_ver1 ${KERNEL}).0" ${KERNEL} \
+ ${KERNEL_URL}
+ fi
fi
fpkg -e "tar.gz" ${FILE_PKG} "ftp://ftp.astron.com/pub/file"
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 -e "tar.gz" ${CLOOG_PPL} "ftp://gcc.gnu.org/pub/gcc/infrastructure"
+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_SVN_URL}
-fpkg ${EGLIBC_PORTS} ${CLFS_PKG_SVN_URL}
+if [ x"${INSTALL_GLIBC}" == x1 ]; then
+ fpkg -m gnu ${GLIBC}
+fi
exit $?