summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2014-12-08 12:16:44 +0000
committerdanh-arm <dan.handley@arm.com>2014-12-08 12:16:44 +0000
commit29e32cba4ad243071c643c839dfd4f46a0b19655 (patch)
treedd5814aa7f23d4e7b8a172237175a77444b95584
parentc5c64dd6a1541651b599ef2fa4b45b22fa40b825 (diff)
parent07deed40e7b9f654dedaa5b58b0a8d60a9c703c6 (diff)
Merge pull request #223 from sandrine-bailleux/sb/fix-fiptool-target
Fix problem of dependencies on the fiptool makefile target
-rw-r--r--Makefile4
-rw-r--r--tools/fip_create/Makefile3
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9b15c213..8979f7f8 100644
--- a/Makefile
+++ b/Makefile
@@ -290,11 +290,9 @@ checkpatch: locate-checkpatch
@echo " CHECKING STYLE"
@git format-patch --stdout ${BASE_COMMIT} | ${CHECKPATCH} ${CHECKPATCH_ARGS} - || true
+.PHONY: ${FIPTOOL}
${FIPTOOL}:
${Q}${MAKE} --no-print-directory -C ${FIPTOOLPATH}
- @echo
- @echo "Built $@ successfully"
- @echo
define match_goals
$(strip $(foreach goal,$(1),$(filter $(goal),$(MAKECMDGOALS))))
diff --git a/tools/fip_create/Makefile b/tools/fip_create/Makefile
index 69569a1b..c72bae53 100644
--- a/tools/fip_create/Makefile
+++ b/tools/fip_create/Makefile
@@ -52,6 +52,9 @@ all: ${PROJECT}
${PROJECT}: ${OBJECTS} Makefile
@echo " LD $@"
${Q}${CC} ${OBJECTS} -o $@
+ @echo
+ @echo "Built $@ successfully"
+ @echo
%.o: %.c %.h Makefile
@echo " CC $<"