diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-05-07 18:15:00 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-05-08 11:34:00 +0200 |
commit | 7cb199ebc41068bf1c06b4885776659c18361bfb (patch) | |
tree | 0a24a216116b7ae16d2330632175de5e37bdac89 /rules/pre | |
parent | d6acd2f213895ed386ffaacf89d2399402e7b59b (diff) | |
download | OSELAS.Toolchain-7cb199ebc41068bf1c06b4885776659c18361bfb.tar.gz OSELAS.Toolchain-7cb199ebc41068bf1c06b4885776659c18361bfb.tar.xz |
cross-gcc: remove more absolute paths from the final installation
It seems, in some places the paths with all symlinks resolved is used as
well, so replace it as well.
And replace the path added in a header file.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/pre')
-rw-r--r-- | rules/pre/toolchain.make | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rules/pre/toolchain.make b/rules/pre/toolchain.make index 88704b0..73cbc42 100644 --- a/rules/pre/toolchain.make +++ b/rules/pre/toolchain.make @@ -49,8 +49,10 @@ PTXDIST_HOST_LDFLAGS := -L${PTXDIST_PATH_SYSROOT_HOST_PREFIX}/lib ifndef PTXCONF_TOOLCHAIN_DEBUG TOOLCHAIN_CROSS_DEBUG_MAP := \ - $(call remove_quotes,$(PTXDIST_SYSROOT_CROSS))= \ - $(PTXDIST_WORKSPACE)/platform-=$(call remove_quotes,$(PTXCONF_PROJECT))/platform- + $(PTXDIST_SYSROOT_CROSS)= \ + $(call ptx/sh, realpath $(PTXDIST_SYSROOT_CROSS))= \ + $(PTXDIST_WORKSPACE)/platform-=$(call remove_quotes,$(PTXCONF_PROJECT))/platform- \ + $(call ptx/sh, realpath $(PTXDIST_WORKSPACE))/platform-=$(call remove_quotes,$(PTXCONF_PROJECT))/platform- TOOLCHAIN_CROSS_DEBUG_MAP_FLAGS := \ $(addprefix -fdebug-prefix-map=,$(TOOLCHAIN_CROSS_DEBUG_MAP)) |