Merge pull request #223 from sandrine-bailleux/sb/fix-fiptool-target

Fix problem of dependencies on the fiptool makefile target
This commit is contained in:
danh-arm 2014-12-08 12:16:44 +00:00
commit 29e32cba4a
2 changed files with 4 additions and 3 deletions

View File

@ -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))))

View File

@ -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 $<"