diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-07-05 21:57:27 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-07-05 21:58:23 +0200 |
commit | 1ec4ca50586575426ed9732c8e335b05df0b4f6a (patch) | |
tree | f8ba579e2554f3dd6a7555722933e2cdc541a11c /rules/pre | |
parent | d89fb713d8b51c0e62d5a5b23f206c15def3c292 (diff) | |
download | ptxdist-1ec4ca50586575426ed9732c8e335b05df0b4f6a.tar.gz ptxdist-1ec4ca50586575426ed9732c8e335b05df0b4f6a.tar.xz |
ptx/in-path: fix with older make versions
With oder make versions '$(1)' starts with a newline. So strip the argument
to avoid this.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/pre')
-rw-r--r-- | rules/pre/000-ptx-search.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/pre/000-ptx-search.make b/rules/pre/000-ptx-search.make index f34088f2f..8676732d9 100644 --- a/rules/pre/000-ptx-search.make +++ b/rules/pre/000-ptx-search.make @@ -14,7 +14,7 @@ ptx/get_alternative = $(error ptx/get_alternative has been renamed to ptx/get-al # # resolve all possible paths define ptx/in-path3 -$(wildcard $(addsuffix /$(strip $(2)),$(1))) +$(wildcard $(addsuffix /$(strip $(2)),$(strip $(1)))) endef # expand a relative path if found define ptx/in-path2 |