mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
make.sh: Set correct PATH in stage1
We did not use any of the tools that we were building which made the build fail when cross-building on a different architecture. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
0ce11c680d
commit
1c74bc461d
5
make.sh
5
make.sh
@@ -663,8 +663,11 @@ lfsmake1() {
|
||||
lfsmakecommoncheck $*
|
||||
[ $? == 1 ] && return 0
|
||||
|
||||
# Set PATH to use the toolchain tools first and then whatever the host has set
|
||||
local PATH="${TOOLS_DIR}/ccache/bin:${TOOLS_DIR}/sbin:${TOOLS_DIR}/bin:${PATH}"
|
||||
|
||||
if [ -n "${CUSTOM_PATH}" ]; then
|
||||
local PATH="${CUSTOM_PATH}:${PATH}"
|
||||
PATH="${CUSTOM_PATH}:${PATH}"
|
||||
fi
|
||||
|
||||
cd $BASEDIR/lfs && env -i \
|
||||
|
||||
Reference in New Issue
Block a user