diff --git a/make_helpers/build_macros.mk b/make_helpers/build_macros.mk index e57aa37..a4fbc5a 100644 --- a/make_helpers/build_macros.mk +++ b/make_helpers/build_macros.mk @@ -129,6 +129,7 @@ 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 @@ 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