mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
make.sh: Use a better marker to determine if toolchain is present
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -67,6 +67,9 @@ ifeq "$(TOOLCHAIN)" "1"
|
||||
|
||||
# Update/create linker cache.
|
||||
/tools/sbin/ldconfig
|
||||
|
||||
# Set a marker when the toolchain was successfully built
|
||||
touch /tools/.toolchain-successful
|
||||
else
|
||||
mv -v /tools/bin/{ld,ld-old}
|
||||
mv -v /tools/$(BUILDTARGET)/bin/{ld,ld-old}
|
||||
|
||||
Reference in New Issue
Block a user