summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2020-08-27 09:42:00 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-08-27 16:37:01 +0200
commit690dd80d07b3c807547df63337ed658d0fdf3b40 (patch)
tree0f879c38915a77102e289be88ee833c5730e7566
parent0cfa5b88609c3223381c444796eead5eb65eabc4 (diff)
downloadOSELAS.Toolchain-690dd80d07b3c807547df63337ed658d0fdf3b40.tar.gz
OSELAS.Toolchain-690dd80d07b3c807547df63337ed658d0fdf3b40.tar.xz
pre/toolchain: swap order of the prefix-map
It seem that the last argument is checked first, so put the more specific substitution first. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/pre/toolchain.make8
1 files changed, 4 insertions, 4 deletions
diff --git a/rules/pre/toolchain.make b/rules/pre/toolchain.make
index a6a21e3..c7c3d97 100644
--- a/rules/pre/toolchain.make
+++ b/rules/pre/toolchain.make
@@ -49,13 +49,13 @@ PTXDIST_HOST_LDFLAGS := -L${PTXDIST_PATH_SYSROOT_HOST_PREFIX}/lib
ifndef PTXCONF_TOOLCHAIN_DEBUG
TOOLCHAIN_CROSS_DEBUG_MAP := \
- $(PTXDIST_SYSROOT_CROSS)= \
- $(PTXDIST_WORKSPACE)/platform-=$(call remove_quotes,$(PTXCONF_PROJECT))/platform-
+ $(PTXDIST_WORKSPACE)/platform-=$(call remove_quotes,$(PTXCONF_PROJECT))/platform- \
+ $(PTXDIST_SYSROOT_CROSS)=
ifneq ($(PTXDIST_SYSROOT_CROSS),$(call ptx/sh, realpath $(PTXDIST_SYSROOT_CROSS)))
TOOLCHAIN_CROSS_DEBUG_MAP += \
- $(call ptx/sh, realpath $(PTXDIST_SYSROOT_CROSS))= \
- $(call ptx/sh, realpath $(PTXDIST_WORKSPACE))/platform-=$(call remove_quotes,$(PTXCONF_PROJECT))/platform-
+ $(call ptx/sh, realpath $(PTXDIST_WORKSPACE))/platform-=$(call remove_quotes,$(PTXCONF_PROJECT))/platform- \
+ $(call ptx/sh, realpath $(PTXDIST_SYSROOT_CROSS))=
endif
PTXDIST_HOST_CPPFLAGS := \