diff options
| author | Luka Perkov | 2016-05-10 22:37:29 +0000 |
|---|---|---|
| committer | Luka Perkov | 2016-05-10 22:37:29 +0000 |
| commit | e35793713eb0ef42290a14b9d5da2b3e3e64e6b7 (patch) | |
| tree | 5c881e8e124d23bdf327053e56d55c0600909b9f | |
| parent | 4e9487fb780cb7df8f0afb15b2330f796e33a6a0 (diff) | |
| download | openwrt-e35793713eb0ef42290a14b9d5da2b3e3e64e6b7.tar.gz | |
ramips: fix DTB generation
using preprocessor style includes when calling dtc directly.
Signed-off-by: John Crispin <john@phrozen.org>
SVN-Revision: 49360
| -rw-r--r-- | target/linux/ramips/image/Makefile | 2 |
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 |