From f6059cc118709b98ac7865e9487e686f2e8a310c Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 10 May 2016 14:42:50 +0200 Subject: [PATCH] ramips: fix DTB generation using preprocessor style includes when calling dtc directly. Signed-off-by: John Crispin --- target/linux/ramips/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2