Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit b78f394a authored by Andrew F. Davis's avatar Andrew F. Davis Committed by Andreas Dannenberg
Browse files

Makefile: Fix HS builds by removing version reporting dependency


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: default avatarAndrew F. Davis <afd@ti.com>
Tested-by: default avatarDenys Dmytriyenko <denys@ti.com>
parent 45a79c0e
Branches
Tags BVF-0.5.0
No related merge requests found
......@@ -141,10 +141,10 @@ $(SYSFW_HS_CERTS_PATH): $(SYSFW_HS_INNER_CERT_PATH)
@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); \
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment