# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 29 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ targets/stage1/stage1-controller.sh:
+ Remove code for gcc-config/binutils-config since it should be getting done
+ in the preclean script, anyway.
+
29 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
targets/stage1/stage1-chroot.sh:
I missed one place where HOSTUSE was being used incorrectly.
|| exit 1
;;
preclean)
- # Before we enter the chroot, we need to run gcc-config/binutils-config
- if [ -x /usr/bin/gcc-config ] && [ -z "${clst_FETCH}" ]
- then
- mythang=$( cd ${clst_chroot_path}/tmp/stage1root/etc/env.d/gcc; ls ${clst_CHOST}-* | head -n 1 )
- if [ -z "${mythang}" ]
- then
- mythang=1
- fi
- ROOT=${clst_chroot_path}/tmp/stage1root/ \
- CHOST=${clst_CHOST} \
- gcc-config ${mythang}
- fi
- if [ -x /usr/bin/binutils-config ] && [ -z "${clst_FETCH}" ]
- then
- mythang=$( cd ${clst_chroot_path}/tmp/stage1root/etc/env.d/binutils; ls ${clst_CHOST}-* | head -n 1 )
- if [ -z "${mythang}" ]
- then
- mythang=1
- fi
- ROOT=${clst_chroot_path}/tmp/stage1root/ \
- CHOST=${clst_CHOST} \
- binutils-config ${mythang}
- fi
-
exec_in_chroot ${clst_sharedir}/targets/${clst_target}/${clst_target}-preclean-chroot.sh /tmp/stage1root || exit 1
;;
clean)