From: Michael Tremer Date: Sun, 5 Apr 2009 19:26:04 +0000 (+0200) Subject: Changed behavior of toolchain_make. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a36f3a369296c10948d17d261fb27b81c080ef30;p=ipfire-3.x.git Changed behavior of toolchain_make. --- diff --git a/tools/make-include b/tools/make-include index a1f3a0d9d..a48856d46 100644 --- a/tools/make-include +++ b/tools/make-include @@ -254,7 +254,11 @@ toolchain_make() { [ $? == 1 ] && return 0 local PKG_TIME_START=$(date +%s) - cd $BASEDIR/lfs && make -f $* \ + cd $BASEDIR/lfs && env -i \ + HOME=/root \ + TERM=$TERM \ + PS1='\u:\w\$ ' \ + PATH=$PATH \ CONFIG_ROOT=$CONFIG_ROOT \ LINKER=$LINKER \ TOOLS_DIR=$TOOLS_DIR \ @@ -272,7 +276,7 @@ toolchain_make() { KVER=$KVER \ STAGE=$STAGE \ STAGE_ORDER=$STAGE_ORDER \ - install >> $LOGFILE 2>&1 + make -f $* install >> $LOGFILE 2>&1 local COMPILE_SUCCESS=$? local PKG_TIME_END=$(date +%s)