From: Jonas Gorski Date: Thu, 16 Jul 2015 11:13:47 +0000 (+0000) Subject: brcm63xx: make use of the new BuildDTB command X-Git-Tag: reboot~2463 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=71e0bd0165e4efc6c49cddaab80f1660b7fc58db;p=openwrt%2Fstaging%2Fblogic.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 63cd90a17dde..98d145276cd7 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)