brcm2708: fix multi-device image generation

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47610
This commit is contained in:
John Crispin 2015-11-24 18:27:43 +00:00
parent 6d3901bf76
commit c7bcdac82e

View file

@ -30,7 +30,7 @@ define Build/boot-img
mcopy -i $@.boot cmdline.txt :: mcopy -i $@.boot cmdline.txt ::
mcopy -i $@.boot config.txt :: mcopy -i $@.boot config.txt ::
mcopy -i $@.boot $(word 1,$^) ::kernel.img mcopy -i $@.boot $(word 1,$^) ::kernel.img
$(foreach dts,$(shell echo $(DEVICE_DTS)),mcopy -i $@.boot $(DTS_DIR)/$(dts).dtb ::) $(foreach dts,$(shell echo $(DEVICE_DTS)),mcopy -i $@.boot $(DTS_DIR)/$(dts).dtb ::;)
mmd -i $@.boot ::/overlays mmd -i $@.boot ::/overlays
mcopy -i $@.boot $(DTS_DIR)/overlays/*.dtb ::/overlays/ mcopy -i $@.boot $(DTS_DIR)/overlays/*.dtb ::/overlays/
mcopy -i $@.boot $(DTS_DIR)/overlays/README ::/overlays/ mcopy -i $@.boot $(DTS_DIR)/overlays/README ::/overlays/