aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2020-09-25 09:05:43 -0500
committerDan Murphy <dmurphy@ti.com>2020-09-25 09:05:43 -0500
commitff68d0df13267467319a6192f20870ba219ce716 (patch)
tree9ff4a8b436fe89c45dad7ee961b23c4a00b5598a
parentc00e801ee6f4d922b4af87d97a908fbbf6f63426 (diff)
parent9a39e27c4245a6cf4fa745a1394ee7fd76b4956c (diff)
downloadlinux-dt-ff68d0df13267467319a6192f20870ba219ce716.tar.gz
Merge pull request #15 in LCPDPUB/ti-upstream-tools from ~A0132425/ti-upstream-tools:next to master
* commit '9a39e27c4245a6cf4fa745a1394ee7fd76b4956c': Makefile: Fix build when output directory is specific
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3dd99fb..76d5a88 100644
--- a/Makefile
+++ b/Makefile
@@ -91,7 +91,7 @@ $(dtb_tmp): $(O)/%.dts.pre : $(LINUX)/%.dts
$(dtb_dst): $(O)/%.dtb : $(O)/%.dts.pre
@echo " DTC $@"
- @$(DTC) $(DTC_FLAGS) -i$(LINUX)/$(dir $<) -o $@ $<
+ @$(DTC) $(DTC_FLAGS) -i$(LINUX)/$(patsubst $(O)/%,%,$(dir $@)) -o $@ $<
dtbs: $(dtb_dst)