From: Jonas Gorski Date: Thu, 16 Jul 2015 11:13:47 +0000 (+0000) Subject: brcm63xx: make use of the new BuildDTB command X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=71e0bd0165e4efc6c49cddaab80f1660b7fc58db;p=openwrt%2Fstaging%2F981213.git brcm63xx: make use of the new BuildDTB command Now that we have a BuildDTB command, make use of it instead of calling dtc directly. Signed-off-by: Jonas Gorski SVN-Revision: 46390 --- diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index 63cd90a17d..98d145276c 100755 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -198,7 +198,7 @@ endef define Image/PrepareCFELzmaKernelDTB # compile the dts (the dtb will be later reused for the lzma loader) - $(LINUX_DIR)/scripts/dtc/dtc -O dtb -o $(DTS_DIR)/$(1).dtb ../dts/$(1).dts + $(call Image/BuildDTB,../dts/$(1).dts,$(DTS_DIR)/$(1).dtb) cat $(KDIR)/vmlinux $(DTS_DIR)/$(1).dtb > $(KDIR)/vmlinux-$(1) $(call Image/PrepareCFELzmaKernel,-$(1)) rm -f $(KDIR)/vmlinux-$(1)