Author: blogic
Date: 2015-10-05 12:27:34 +0200 (Mon, 05 Oct 2015)
New Revision: 47124

Modified:
   trunk/target/linux/brcm2708/Makefile
   trunk/target/linux/brcm2708/image/Makefile
Log:
brcm2708: switch device tree compilation to linux

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

Modified: trunk/target/linux/brcm2708/Makefile
===================================================================
--- trunk/target/linux/brcm2708/Makefile        2015-10-05 10:27:18 UTC (rev 
47123)
+++ trunk/target/linux/brcm2708/Makefile        2015-10-05 10:27:34 UTC (rev 
47124)
@@ -26,6 +26,6 @@
        Currently produces SD Card image for Raspberry Pi.
 endef
 
-KERNELNAME:=Image
+KERNELNAME:=Image dtbs
 
 $(eval $(call BuildTarget))

Modified: trunk/target/linux/brcm2708/image/Makefile
===================================================================
--- trunk/target/linux/brcm2708/image/Makefile  2015-10-05 10:27:18 UTC (rev 
47123)
+++ trunk/target/linux/brcm2708/image/Makefile  2015-10-05 10:27:34 UTC (rev 
47124)
@@ -22,10 +22,6 @@
 endif
 
 ### Image scripts ###
-define Build/build-dtb
-       $(call Image/BuildDTB,$(DTS_DIR)/$(DEVICE_DTS).dts,[email protected])
-endef
-
 define Build/gen-cfg
        cat config.txt > [email protected]
        echo -e "\ndevice_tree=$(DEVICE_DTS).dtb" >> [email protected]
@@ -44,7 +40,7 @@
        mcopy -i [email protected] cmdline.txt ::
        mcopy -i [email protected] [email protected] ::config.txt
        mcopy -i [email protected] $(word 1,$^) ::kernel.img
-       mcopy -i [email protected] [email protected] ::$(DEVICE_DTS).dtb
+       mcopy -i [email protected] $(DTS_DIR)/$(DEVICE_DTS).dtb ::$(DEVICE_DTS).dtb
 endef
 
 define Build/sdcard-img
@@ -59,7 +55,7 @@
   PROFILES = Default $$(DEVICE_PROFILE)
   KERNEL := kernel-bin
   IMAGES := sdcard.bin
-  IMAGE/sdcard.bin := build-dtb | gen-cfg | boot-img | sdcard-img
+  IMAGE/sdcard.bin := gen-cfg | boot-img | sdcard-img
   DEVICE_PROFILE :=
   DEVICE_DTS :=
 endef
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to