brcm2708: use mmd for overlays subdirectory
Fixes https://dev.openwrt.org/ticket/20704 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47171
This commit is contained in:
parent
19a491b047
commit
4412334bea
1 changed files with 2 additions and 7 deletions
|
@ -21,12 +21,6 @@ else
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define Image/Prepare
|
|
||||||
rm -rf $(KDIR)/overlays
|
|
||||||
mkdir -p $(KDIR)/overlays
|
|
||||||
$(CP) $(DTS_DIR)/overlays/*.dtb $(KDIR)/overlays/
|
|
||||||
endef
|
|
||||||
|
|
||||||
### Image scripts ###
|
### Image scripts ###
|
||||||
define Build/gen-cfg
|
define Build/gen-cfg
|
||||||
cat config.txt > $@.config
|
cat config.txt > $@.config
|
||||||
|
@ -47,7 +41,8 @@ define Build/boot-img
|
||||||
mcopy -i $@.boot $@.config ::config.txt
|
mcopy -i $@.boot $@.config ::config.txt
|
||||||
mcopy -i $@.boot $(word 1,$^) ::kernel.img
|
mcopy -i $@.boot $(word 1,$^) ::kernel.img
|
||||||
mcopy -i $@.boot $(DTS_DIR)/$(DEVICE_DTS).dtb ::$(DEVICE_DTS).dtb
|
mcopy -i $@.boot $(DTS_DIR)/$(DEVICE_DTS).dtb ::$(DEVICE_DTS).dtb
|
||||||
mcopy -s -i $@.boot $(KDIR)/overlays ::
|
mmd -i $@.boot ::/overlays
|
||||||
|
mcopy -i $@.boot $(DTS_DIR)/overlays/*.dtb ::/overlays/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/sdcard-img
|
define Build/sdcard-img
|
||||||
|
|
Loading…
Reference in a new issue