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:
Michael Tremer
2017-04-24 13:11:54 +02:00
parent b7093f17d5
commit bdc6837d86
2 changed files with 4 additions and 1 deletions

View File

@@ -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}