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 <jogo@openwrt.org>

SVN-Revision: 46390
lede-17.01
Jonas Gorski 2015-07-16 11:13:47 +00:00
parent e7b5dd0e1d
commit 71e0bd0165
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ endef
define Image/PrepareCFELzmaKernelDTB define Image/PrepareCFELzmaKernelDTB
# compile the dts (the dtb will be later reused for the lzma loader) # 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) cat $(KDIR)/vmlinux $(DTS_DIR)/$(1).dtb > $(KDIR)/vmlinux-$(1)
$(call Image/PrepareCFELzmaKernel,-$(1)) $(call Image/PrepareCFELzmaKernel,-$(1))
rm -f $(KDIR)/vmlinux-$(1) rm -f $(KDIR)/vmlinux-$(1)