Commit 87ebd20d authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 1e0c0784
...@@ -129,6 +129,7 @@ define FIP_ADD_IMG ...@@ -129,6 +129,7 @@ define FIP_ADD_IMG
FIP_DEPS += check_$(1) FIP_DEPS += check_$(1)
$(call FIP_ADD_PAYLOAD,$(value $(1)),$(2)) $(call FIP_ADD_PAYLOAD,$(value $(1)),$(2))
.PHONY: check_$(1)
check_$(1): check_$(1):
$$(if $(value $(1)),,$$(error "Platform '${PLAT}' requires $(1). Please set $(1) to point to the right file")) $$(if $(value $(1)),,$$(error "Platform '${PLAT}' requires $(1). Please set $(1) to point to the right file"))
endef endef
...@@ -162,6 +163,7 @@ define FWU_FIP_ADD_IMG ...@@ -162,6 +163,7 @@ define FWU_FIP_ADD_IMG
FWU_FIP_DEPS += check_$(1) FWU_FIP_DEPS += check_$(1)
$(call FWU_FIP_ADD_PAYLOAD,$(value $(1)),$(2)) $(call FWU_FIP_ADD_PAYLOAD,$(value $(1)),$(2))
.PHONY: check_$(1)
check_$(1): check_$(1):
$$(if $(value $(1)),,$$(error "Platform '${PLAT}' requires $(1). Please set $(1) to point to the right file")) $$(if $(value $(1)),,$$(error "Platform '${PLAT}' requires $(1). Please set $(1) to point to the right file"))
endef endef
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment