aboutsummaryrefslogtreecommitdiff
path: root/fwu
diff options
context:
space:
mode:
authorBence Szépkúti <bence.szepkuti@arm.com>2019-11-29 18:23:56 +0100
committerBence Szépkúti <bence.szepkuti@arm.com>2019-11-29 18:23:56 +0100
commit537b358321b850bfca59c5f8f5941a1e70d9341d (patch)
tree987a079bd37de7624f90edb441b48aa5a1eb167c /fwu
parent640af3a32b645e1b54003081d93739a6d05527dc (diff)
downloadtf-a-tests-537b358321b850bfca59c5f8f5941a1e70d9341d.tar.gz
make: Fix parallel builds
Parallel builds would fail while generating the dependency file of the first source file that included tests_list.h due to it missing. In-order builds only worked, because a rule that specified tests_list.c as a prerequisite happened to get executed first. This patch introduces tests_list.h as an order-only dependency of all rules that generate dependency files. This is necessary because we can't know which files actually depend on it until the dependency files have been generated. This forces the autogenerated files to be generated before any other files are compiled, but does not cause unrelated files to recompile if they are modified. Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com> Change-Id: I21f0b98052a884a853935ea35a2898ff90245a49
Diffstat (limited to 'fwu')
-rw-r--r--fwu/ns_bl1u/ns_bl1u.mk2
-rw-r--r--fwu/ns_bl2u/ns_bl2u.mk2
2 files changed, 0 insertions, 4 deletions
diff --git a/fwu/ns_bl1u/ns_bl1u.mk b/fwu/ns_bl1u/ns_bl1u.mk
index 7a6b65b7..cf2b4a8e 100644
--- a/fwu/ns_bl1u/ns_bl1u.mk
+++ b/fwu/ns_bl1u/ns_bl1u.mk
@@ -68,5 +68,3 @@ ifeq (${ARCH},aarch32)
else
$(eval $(call add_define,NS_BL1U_DEFINES,AARCH64))
endif
-
-ns_bl1u: ${AUTOGEN_DIR}/tests_list.h
diff --git a/fwu/ns_bl2u/ns_bl2u.mk b/fwu/ns_bl2u/ns_bl2u.mk
index 0351e55b..dd9e6630 100644
--- a/fwu/ns_bl2u/ns_bl2u.mk
+++ b/fwu/ns_bl2u/ns_bl2u.mk
@@ -64,5 +64,3 @@ ifeq (${ARCH},aarch32)
else
$(eval $(call add_define,NS_BL2U_DEFINES,AARCH64))
endif
-
-ns_bl2u: ${AUTOGEN_DIR}/tests_list.h