summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2018-12-24 10:53:10 +0530
committerAnup Patel <[email protected]>2018-12-27 09:29:29 +0530
commit2d90226e04a6b886e9f09e6e1328600134f1a754 (patch)
tree0f3e2126430cd6cd3cb428339845a680e0389f22 /Makefile
parentbb3665d0f097745f5f081e687b7487f3bbed3500 (diff)
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 <[email protected]>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9c55559a..9c19729e 100644
--- a/Makefile
+++ b/Makefile
@@ -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