summaryrefslogtreecommitdiffstats
path: root/rules/pre
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-06-04 14:48:25 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-06-04 21:10:00 +0200
commit87acd6909282c9d8bb75d0c1ba1fc719925713a3 (patch)
tree53c96856a260cbc4e647735aadeedd62212194b2 /rules/pre
parent9b0ca78cbc47b7dc9c7cdda243b2f7d39bee3e40 (diff)
downloadptxdist-87acd6909282c9d8bb75d0c1ba1fc719925713a3.tar.gz
ptxdist-87acd6909282c9d8bb75d0c1ba1fc719925713a3.tar.xz
Rules: expand $PATH
Otherwise, it's not correctly expanded: ptx/escape currently prepends a '\' and in the future it may not be expanded at all. Just expand it immediately to avoid these problems. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/pre')
-rw-r--r--rules/pre/Rules.make4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make
index 0e6a41e01..f99adc20d 100644
--- a/rules/pre/Rules.make
+++ b/rules/pre/Rules.make
@@ -29,7 +29,7 @@ CHECK_PIPE_STATUS := \
#
# prepare the search path when cross compiling
#
-CROSS_PATH := $(PTXDIST_SYSROOT_CROSS)/bin:$(PTXDIST_SYSROOT_CROSS)/sbin:$$PATH
+CROSS_PATH := $(PTXDIST_SYSROOT_CROSS)/bin:$(PTXDIST_SYSROOT_CROSS)/sbin:$(PATH)
# ----------------------------------------------------------------------------
@@ -280,7 +280,7 @@ endif
# HOST stuff
# ----------------------------------------------------------------------------
-HOST_PATH := $$PATH
+HOST_PATH := $(PATH)
HOST_ENV_AC := \
enable_option_checking=fatal \