firmware: Use dummy payload for FW_PAYLOAD

We use recently added separate dummy payload for FW_PAYLOAD
when FW_PAYLOAD_PATH is not specified.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
Anup Patel
2018-12-24 10:53:10 +05:30
committed by Anup Patel
parent bb3665d0f0
commit 2d90226e04
3 changed files with 22 additions and 6 deletions

View File

@@ -243,12 +243,15 @@ $(build_dir)/$(platform_subdir)/%.dep: $(src_dir)/%.S
$(build_dir)/$(platform_subdir)/%.o: $(src_dir)/%.S
$(call compile_as,$@,$<)
# Dependency files should only be included after default Makefile rule
# Dependency files should only be included after default Makefile rules
# They should not be included for any "xxxconfig" or "xxxclean" rule
all-deps-1 = $(if $(findstring config,$(MAKECMDGOALS)),,$(deps-y))
all-deps-2 = $(if $(findstring clean,$(MAKECMDGOALS)),,$(all-deps-1))
-include $(all-deps-2)
# Include external dependency of firmwares after default Makefile rules
include $(src_dir)/firmware/external_deps.mk
install_targets-y = install_libsbi
ifdef PLATFORM
install_targets-y += install_libplatsbi