VER = ipfire
THISAPP = cleanup-toolchain
-TARGET = $(DIR_INFO)/$(THISAPP)-$(PASS)-tools
+
+ifeq "$(TOOLCHAIN)" "1"
+ TARGET = $(DIR_INFO)/$(THISAPP)-tools
+else
+ TARGET = $(DIR_INFO)/$(THISAPP)
+endif
GCC_VER = 4.1.2
# 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}