ramips: fix DTB generation
using preprocessor style includes when calling dtc directly. Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
parent
fda951c443
commit
f6059cc118
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ endef
|
||||||
# $(3), optional filename suffix, e.g. "-initramfs"
|
# $(3), optional filename suffix, e.g. "-initramfs"
|
||||||
define PatchKernelLzmaDtb
|
define PatchKernelLzmaDtb
|
||||||
cp $(KDIR)/vmlinux$(3) $(KDIR)/vmlinux-$(1)$(3)
|
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
|
$(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)
|
$(call CompressLzma,$(KDIR)/vmlinux-$(1)$(3),$(KDIR)/vmlinux-$(1)$(3).bin.lzma)
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue