diff options
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2014-10-27 17:10:46 +0000 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2014-11-26 10:13:08 +0000 |
commit | 07deed40e7b9f654dedaa5b58b0a8d60a9c703c6 (patch) | |
tree | e78d6e5b17766191904a84575ac3c7e7bd9d2634 /tools | |
parent | 435cdcf42be8b4540a7a0d112b33da19429cc654 (diff) |
Fix problem of dependencies on the fiptool makefile target
The 'fiptool' target doesn't depend on fip_create's source files,
neither directly nor indirectly. As a result, the FIP tool is not
rebuilt whenever its source files change.
This patch makes the ${FIPTOOL} target into a phony target so that the
FIP tool's sub-makefile is always called. The sub-makefile correctly
handles the dependencies. It also moves the completion message into
the sub-makefile so that it is only displayed when the tool is
actually recompiled.
Fixes ARM-software/tf-issues#278
Change-Id: Ia027519fe51d3c42be30665d1ad20a7b89fa350f
Diffstat (limited to 'tools')
-rw-r--r-- | tools/fip_create/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
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 $<" |