diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-10-08 20:24:32 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-10-09 08:47:13 +0200 |
commit | f1e39da158b350d770a3691de4df72346d6a8098 (patch) | |
tree | 3463608df16b5d7ed2e39d3b02af0652251465fe | |
parent | 22e1ddfc62bf36331c28eef79e1540253e84e576 (diff) | |
download | ptxdist-f1e39da158b350d770a3691de4df72346d6a8098.tar.gz ptxdist-f1e39da158b350d770a3691de4df72346d6a8098.tar.xz |
dtc: use the improved ptx/in-path macro
It can now handle path variables that are not yet exported.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/dtc.make | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/dtc.make b/rules/dtc.make index 22a05e7e6..ed74b371d 100644 --- a/rules/dtc.make +++ b/rules/dtc.make @@ -18,12 +18,14 @@ PACKAGES-$(PTXCONF_DTC) += dtc DTC_VERSION := 1.0.0 DTC_LICENSE := ignore +DTC_OFTREE_DTS_PATH := $(call remove_quotes,$(PTXCONF_DTC_OFTREE_DTS_PATH)) + # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- ptx/dtb = $(notdir $(basename $(strip $(1)))).dtb -ptx/dts = $(shell p=$(PTXCONF_DTC_OFTREE_DTS_PATH) ptxd_in_path p "$(strip $(1))" && echo "$${ptxd_reply}") +ptx/dts = $(call ptx/in-path,DTC_OFTREE_DTS_PATH,$(strip $(1))) ifdef PTXCONF_DTC_OFTREE_DTS # Note: this must match the magic in ptxd_make_dts_dtb |