From ccdd25a65393cbaf985ae6120a7d23897be325b3 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 2 Mar 2020 09:01:55 +0100 Subject: firmware: Fix dependencies for firmware in PBL The object files for the PBL are not regenerated when the firmware files are updated. The dependency from the pbl-*.gen.o to the firmware files are missing, add them. Reported-by: Rouven Czerwinski Signed-off-by: Sascha Hauer --- firmware/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware') diff --git a/firmware/Makefile b/firmware/Makefile index 9581ee6116..8e8ce83e06 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -50,6 +50,9 @@ $(patsubst %,$(obj)/%.gen.S, $(fw-external-y)): %: $(wordsize_deps) \ # The .o files depend on the binaries directly; the .S files don't. $(patsubst %,$(obj)/%.gen.o, $(fw-external-y)): $(obj)/%.gen.o: $(fwdir)/% +# The same for pbl: +$(patsubst %,$(obj)/pbl-%.gen.o, $(fw-external-y)): $(obj)/pbl-%.gen.o: $(fwdir)/% + obj-pbl-y += $(patsubst %,%.gen.o, $(fw-external-y)) ifeq ($(KBUILD_SRC),) -- cgit v1.2.1