diff options
author | Vignesh Raghavendra <vigneshr@ti.com> | 2020-06-22 14:18:29 +0530 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-06-23 09:24:01 +0300 |
commit | 85a5a94f6c542140d8aba8817860cb5e71bdc666 (patch) | |
tree | 2c580e46b8eacb2a1dcee4f2e570046105aa85d6 | |
parent | a89dc3a161923104d052cf4901e856ffbd985036 (diff) | |
download | linux-dt-85a5a94f6c542140d8aba8817860cb5e71bdc666.tar.gz |
Makefile: Fix compilation for dts with /include/
Similar to kernel's Makefile (see scripts/Makefile.lib), add src file's
directory to include path so that files using /include/ directive
compile properly
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -88,7 +88,7 @@ $(dtb_tmp): $(O)/%.dts.pre : $(LINUX)/%.dts $(dtb_dst): $(O)/%.dtb : $(O)/%.dts.pre @echo " DTC $@" - @$(DTC) $(DTC_FLAGS) -o $@ $< + @$(DTC) $(DTC_FLAGS) -i$(LINUX)/$(dir $<) -o $@ $< dtbs: $(dtb_dst) |