Author: blogic
Date: 2015-10-11 18:23:18 +0200 (Sun, 11 Oct 2015)
New Revision: 47171

Modified:
   trunk/target/linux/brcm2708/image/Makefile
Log:
brcm2708: use mmd for overlays subdirectory

Fixes https://dev.openwrt.org/ticket/20704

Signed-off-by: ?\195?\129lvaro Fern?\195?\161ndez Rojas <[email protected]>

Modified: trunk/target/linux/brcm2708/image/Makefile
===================================================================
--- trunk/target/linux/brcm2708/image/Makefile  2015-10-11 16:23:11 UTC (rev 
47170)
+++ trunk/target/linux/brcm2708/image/Makefile  2015-10-11 16:23:18 UTC (rev 
47171)
@@ -21,12 +21,6 @@
   endef
 endif
 
-define Image/Prepare
-       rm -rf $(KDIR)/overlays
-       mkdir -p $(KDIR)/overlays
-       $(CP) $(DTS_DIR)/overlays/*.dtb $(KDIR)/overlays/
-endef
-
 ### Image scripts ###
 define Build/gen-cfg
        cat config.txt > [email protected]
@@ -47,7 +41,8 @@
        mcopy -i [email protected] [email protected] ::config.txt
        mcopy -i [email protected] $(word 1,$^) ::kernel.img
        mcopy -i [email protected] $(DTS_DIR)/$(DEVICE_DTS).dtb ::$(DEVICE_DTS).dtb
-       mcopy -s -i [email protected] $(KDIR)/overlays ::
+       mmd -i [email protected] ::/overlays
+       mcopy -i [email protected] $(DTS_DIR)/overlays/*.dtb ::/overlays/
 endef
 
 define Build/sdcard-img
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to