aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2021-01-13 12:47:25 +0000
committerRoss Burton <ross.burton@arm.com>2021-01-13 16:35:03 +0000
commit69a9165954b1edf295606e22ec7ae29b86b6274b (patch)
treea0b1199d5b3af7fd3615d05c7906d027f29853a9 /tools
parent986f8330ec207dfe933377cac1c091a8d051d1d5 (diff)
downloadtrusted-firmware-a-69a9165954b1edf295606e22ec7ae29b86b6274b.tar.gz
tools: don't clean when building
Don't depend on clean when building, as the user is capable of cleaning if required and this introduces a race where "all" depends on both the compile and the clean in parallel. It's quite possible for some of the compile to happen in parallel with the clean, which results in the link failing as objects just built are missing. Change-Id: I710711eea7483cafa13251c5d94ec693148bd001 Signed-off-by: Ross Burton <ross.burton@arm.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/cert_create/Makefile2
-rw-r--r--tools/encrypt_fw/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/cert_create/Makefile b/tools/cert_create/Makefile
index 0ec08b0540..c3c8bcf5e9 100644
--- a/tools/cert_create/Makefile
+++ b/tools/cert_create/Makefile
@@ -59,7 +59,7 @@ HOSTCC ?= gcc
.PHONY: all clean realclean
-all: clean ${BINARY}
+all: ${BINARY}
${BINARY}: ${OBJECTS} Makefile
@echo " HOSTLD $@"
diff --git a/tools/encrypt_fw/Makefile b/tools/encrypt_fw/Makefile
index 6eb6fae7a8..96dff23248 100644
--- a/tools/encrypt_fw/Makefile
+++ b/tools/encrypt_fw/Makefile
@@ -46,7 +46,7 @@ HOSTCC ?= gcc
.PHONY: all clean realclean
-all: clean ${BINARY}
+all: ${BINARY}
${BINARY}: ${OBJECTS} Makefile
@echo " HOSTLD $@"