]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/cleanup-toolchain
make.sh: Use a better marker to determine if toolchain is present
[ipfire-2.x.git] / lfs / cleanup-toolchain
index e4839b951289d08e99c076e29a9c00e2846eecec..2fc460ee4d37f4fa8e75537d349bb3134552c0ba 100644 (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}