Author: luka
Date: 2016-05-11 00:37:29 +0200 (Wed, 11 May 2016)
New Revision: 49360

Modified:
   trunk/target/linux/ramips/image/Makefile
Log:
ramips: fix DTB generation

using preprocessor style includes when calling dtc directly.

Signed-off-by: John Crispin <[email protected]>

Modified: trunk/target/linux/ramips/image/Makefile
===================================================================
--- trunk/target/linux/ramips/image/Makefile    2016-05-10 22:37:28 UTC (rev 
49359)
+++ trunk/target/linux/ramips/image/Makefile    2016-05-10 22:37:29 UTC (rev 
49360)
@@ -107,7 +107,7 @@
 # $(3), optional filename suffix, e.g. "-initramfs"
 define PatchKernelLzmaDtb
        cp $(KDIR)/vmlinux$(3) $(KDIR)/vmlinux-$(1)$(3)
-       $(LINUX_DIR)/scripts/dtc/dtc -O dtb -o $(KDIR)/$(2).dtb ../dts/$(2).dts
+       $(call Image/BuildDTB,../dts/$(2).dts,$(KDIR)/$(2).dtb)
        $(STAGING_DIR_HOST)/bin/patch-dtb $(KDIR)/vmlinux-$(1)$(3) 
$(KDIR)/$(2).dtb
        $(call 
CompressLzma,$(KDIR)/vmlinux-$(1)$(3),$(KDIR)/vmlinux-$(1)$(3).bin.lzma)
 endef
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to