Merge pull request #223 from sandrine-bailleux/sb/fix-fiptool-target
Fix problem of dependencies on the fiptool makefile target
diff --git a/Makefile b/Makefile
index 9b15c21..8979f7f 100644
--- a/Makefile
+++ b/Makefile
@@ -290,11 +290,9 @@
@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 69569a1..c72bae5 100644
--- a/tools/fip_create/Makefile
+++ b/tools/fip_create/Makefile
@@ -52,6 +52,9 @@
${PROJECT}: ${OBJECTS} Makefile
@echo " LD $@"
${Q}${CC} ${OBJECTS} -o $@
+ @echo
+ @echo "Built $@ successfully"
+ @echo
%.o: %.c %.h Makefile
@echo " CC $<"