[PATCH] firmware: Fix dependencies for firmware in PBL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <r.czerwinski@xxxxxxxxxxxxxx>
Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 firmware/Makefile | 3 +++
 1 file changed, 3 insertions(+)

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),)
-- 
2.25.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux