mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 02:24:18 +00:00
Build: specify check_* targets as .PHONY
check_* targets just check necessary command line argument, not build any images. They should be specified as .PHONY. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
1e0c078425
commit
87ebd20d4b
1 changed files with 2 additions and 0 deletions
|
@ -129,6 +129,7 @@ define FIP_ADD_IMG
|
|||
FIP_DEPS += check_$(1)
|
||||
$(call FIP_ADD_PAYLOAD,$(value $(1)),$(2))
|
||||
|
||||
.PHONY: check_$(1)
|
||||
check_$(1):
|
||||
$$(if $(value $(1)),,$$(error "Platform '${PLAT}' requires $(1). Please set $(1) to point to the right file"))
|
||||
endef
|
||||
|
@ -162,6 +163,7 @@ define FWU_FIP_ADD_IMG
|
|||
FWU_FIP_DEPS += check_$(1)
|
||||
$(call FWU_FIP_ADD_PAYLOAD,$(value $(1)),$(2))
|
||||
|
||||
.PHONY: check_$(1)
|
||||
check_$(1):
|
||||
$$(if $(value $(1)),,$$(error "Platform '${PLAT}' requires $(1). Please set $(1) to point to the right file"))
|
||||
endef
|
||||
|
|
Loading…
Add table
Reference in a new issue