mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
make.sh: Adjust toolchain PATH in lfsmake1 instead of globally
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
3
make.sh
3
make.sh
@@ -279,8 +279,6 @@ buildtoolchain() {
|
||||
LOGFILE="$BASEDIR/log/_build.toolchain.log"
|
||||
export LOGFILE
|
||||
|
||||
local ORG_PATH=$PATH
|
||||
export PATH="/tools/ccache/bin:/tools/bin:$PATH"
|
||||
lfsmake1 ccache PASS=1
|
||||
lfsmake1 binutils PASS=1
|
||||
lfsmake1 gcc PASS=1
|
||||
@@ -316,7 +314,6 @@ buildtoolchain() {
|
||||
lfsmake1 xz
|
||||
lfsmake1 fake-environ
|
||||
lfsmake1 cleanup-toolchain PASS=2
|
||||
export PATH=$ORG_PATH
|
||||
}
|
||||
|
||||
buildbase() {
|
||||
|
||||
Reference in New Issue
Block a user