aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image/Makefile
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2016-05-10 22:37:29 +0000
committerLuka Perkov <luka@openwrt.org>2016-06-19 19:35:02 +0200
commit151b8708476f2764607ead32b55de9621d1001d0 (patch)
tree53589be85389901e45e9d0c9cb147014e704c890 /target/linux/ramips/image/Makefile
parent2ca92c41fe83b06ce14d1176add523f575ddfabd (diff)
downloadmaster-187ad058-151b8708476f2764607ead32b55de9621d1001d0.tar.gz
master-187ad058-151b8708476f2764607ead32b55de9621d1001d0.tar.bz2
master-187ad058-151b8708476f2764607ead32b55de9621d1001d0.zip
ramips: fix DTB generation
using preprocessor style includes when calling dtc directly. Signed-off-by: John Crispin <john@phrozen.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49360 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/image/Makefile')
-rw-r--r--target/linux/ramips/image/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index 6e0349f021..52dde6780e 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -107,7 +107,7 @@ endef
# $(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