summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 45a79c0)
raw | patch | inline | side by side (parent: 45a79c0)
author | Andrew F. Davis <afd@ti.com> | |
Tue, 11 Jun 2019 14:43:42 +0000 (10:43 -0400) | ||
committer | Andreas Dannenberg <dannenberg@ti.com> | |
Tue, 11 Jun 2019 18:37:36 +0000 (13:37 -0500) |
The rule for making the HS sysfw.bin file concatenates all its
dependencies, the rule for 'sysfw_version' is a phony target and does
not produce a file. Drop this dependency for HS.
While we are here lets do the same for non-HS builds. Phony targets
force the rebuilding of any rule that depends on them, this can
cause Make to perform more build steps than are actually needed.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Tested-by: Denys Dmytriyenko <denys@ti.com>
dependencies, the rule for 'sysfw_version' is a phony target and does
not produce a file. Drop this dependency for HS.
While we are here lets do the same for non-HS builds. Phony targets
force the rebuilding of any rule that depends on them, this can
cause Make to perform more build steps than are actually needed.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Tested-by: Denys Dmytriyenko <denys@ti.com>
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index c449838260a09eec2bad6722aac012ae651d7345..a442e0314221010080253b61f8240adc1a561eb5 100644 (file)
--- a/Makefile
+++ b/Makefile
@echo "Signing the SYSFW inner certificate with $(KEY) key...";
./gen_x509_cert.sh -d -c m3 -b $< -o $@ -l 0x40000 -k $(KEY);
-$(soc_objroot)/sysfw.bin: $(SYSFW_HS_CERTS_PATH) $(SYSFW_HS_PATH) sysfw_version
+$(soc_objroot)/sysfw.bin: $(SYSFW_HS_CERTS_PATH) $(SYSFW_HS_PATH)
cat $^ > $@
else
-$(soc_objroot)/sysfw.bin: $(SYSFW_PATH) sysfw_version
+$(soc_objroot)/sysfw.bin: $(SYSFW_PATH)
@if [ -n "$(KEY)" ]; then \
echo "Signing the SYSFW release image with $(KEY) key..."; \
./gen_x509_cert.sh -c m3 -b $< -o $@ -l 0x40000 -k $(KEY); \