diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-01-26 11:42:01 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-02-01 20:39:20 +0900 |
commit | 36af3455e2213b0ad923bdd8bd1d88304f7265c9 (patch) | |
tree | e7ba93a6aa5fedc11437186f164ed5e0bc9f202a /make_helpers/build_macros.mk | |
parent | 91704d9d482da12ffd7ac80688414661a246f45a (diff) |
Build: make tools depend on $(BIN) instead of PHONY target
The PHONY target "bl*" generate $(BIN) and $(DUMP), but host tools
(fiptool, cert_create) only need $(BIN).
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'make_helpers/build_macros.mk')
-rw-r--r-- | make_helpers/build_macros.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/make_helpers/build_macros.mk b/make_helpers/build_macros.mk index 894b14cb..8fb46b46 100644 --- a/make_helpers/build_macros.mk +++ b/make_helpers/build_macros.mk @@ -103,7 +103,7 @@ endef # Optionally, it adds the dependency on this payload # $(1) = payload filename (i.e. bl31.bin) # $(2) = command line option for the specified payload (i.e. --soc-fw) -# $(3) = tool target dependency (optional) (i.e. bl31) +# $(3) = tool target dependency (optional) (ex. build/fvp/release/bl31.bin) # $(4) = FIP prefix (optional) (if FWU_, target is fwu_fip instead of fip) define TOOL_ADD_PAYLOAD $(4)FIP_ARGS += $(2) $(1) @@ -296,7 +296,7 @@ bl$(1): $(BIN) $(DUMP) all: bl$(1) -$(if $(2),$(call TOOL_ADD_PAYLOAD,$(BIN),--$(2),bl$(1),$(3))) +$(if $(2),$(call TOOL_ADD_PAYLOAD,$(BIN),--$(2),$(BIN),$(3))) endef |