summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-06-28 14:32:46 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-06-28 16:23:54 +0200
commite66170d0e61426f5443e7957bcd52b65b067653b (patch)
tree7e8e3480a499d45f83f5179fa7c52b54e7fa71d8
parentd9121854fbf14ec7b4001a0915ae62c6569f63b5 (diff)
downloadbootstrappable-toolchain-e66170d0e61426f5443e7957bcd52b65b067653b.tar.gz
CC toolchains: remove wrong reference to $(TOOLCHAIN) in PATH
The environment variable PATH is taken literally by the shell, without any expansion. So, having a string like "$(TOOLCHAIN)/clang/bin" in PATH does not change anything as we do not have a directory with that name. Drop it for now. In the future we might add "bin dirs" to the CC toolchain as well, but as long as our rules do not support this, drop the wrong entry here.
-rw-r--r--toolchains/CC/clang.TARGETS2
-rw-r--r--toolchains/CC/gcc.TARGETS2
2 files changed, 2 insertions, 2 deletions
diff --git a/toolchains/CC/clang.TARGETS b/toolchains/CC/clang.TARGETS
index 8c95e0f..c68b1aa 100644
--- a/toolchains/CC/clang.TARGETS
+++ b/toolchains/CC/clang.TARGETS
@@ -89,7 +89,7 @@
}
}
, "toolchain": ["staged-clang"]
- , "PATH": ["$(TOOLCHAIN)/clang/bin", "/bin", "/usr/bin"]
+ , "PATH": ["/bin", "/usr/bin"]
}
, "staged-clang": {"type": "install", "dirs": [[["", "toolchain"], "clang"]]}
}
diff --git a/toolchains/CC/gcc.TARGETS b/toolchains/CC/gcc.TARGETS
index 5d17103..9a6d21b 100644
--- a/toolchains/CC/gcc.TARGETS
+++ b/toolchains/CC/gcc.TARGETS
@@ -38,7 +38,7 @@
, "else": [["@", "gcc", "", "runlibs"]]
}
, "toolchain": ["staged-gcc"]
- , "PATH": ["$(TOOLCHAIN)/gcc/bin", "/bin", "/usr/bin"]
+ , "PATH": ["/bin", "/usr/bin"]
}
, "staged-gcc": {"type": "install", "dirs": [[["", "toolchain"], "gcc"]]}
}