Makefile.inc: make sure .xcompile is removed when building tools
Most of the toolchain build targets already ran clean-for-update, but
there were a few that didn't. Add the clean to those targets.
Change-Id: I7faad32ac8bb1815e0c58e7d142ca2dbfc877896
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/12571
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
diff --git a/Makefile.inc b/Makefile.inc
index e68ee6e..9d754ad 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -489,7 +489,7 @@
# For the toolchain builds, use CPUS=x to use multiple processors to build
# use BUILDGCC_OPTIONS= to set any crossgcc command line options
# Example: BUILDGCC_OPTIONS='-t' will keep temporary files after build
-crossgcc:
+crossgcc: clean-for-update
$(MAKE) -C util/crossgcc all_without_gdb SKIP_CLANG=1
.PHONY: crossgcc crossgcc-i386 crossgcc-x64 crossgcc-arm crossgcc-aarch64 \
@@ -515,13 +515,13 @@
crossgcc-riscv: clean-for-update
$(MAKE) -C util/crossgcc build-riscv SKIP_GDB=1
-crosstools:
+crosstools: clean-for-update
$(MAKE) -C util/crossgcc all_with_gdb SKIP_CLANG=1
-iasl:
+iasl: clean-for-update
$(MAKE) -C util/crossgcc build_iasl
-clang:
+clang: clean-for-update
$(MAKE) -C util/crossgcc build_clang
crosstools-i386: clean-for-update