diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2024-04-04 11:52:05 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2024-04-04 12:02:20 +0200 |
commit | 231b991edcf3853486e613c8c6fad0981a4af272 (patch) | |
tree | bc54246f191da4f07bd81d631e380b272fb5597c | |
parent | 1dd86efdebb18ebf099396f45b366677b66a5cfd (diff) | |
download | bootstrappable-toolchain-231b991edcf3853486e613c8c6fad0981a4af272.tar.gz |
Fix PATH of top-level toolchains
... which not only requires "/bin" (for "sh") but also
"/usr/bin" for coreutils ("dirname", "realpath", "chmod",
etc.), which are needed for compiler wrappers and the patch
runner script.
-rw-r--r-- | toolchains/CC/clang.TARGETS | 2 | ||||
-rw-r--r-- | toolchains/CC/gcc.TARGETS | 2 | ||||
-rw-r--r-- | toolchains/patch/busybox.TARGETS | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/toolchains/CC/clang.TARGETS b/toolchains/CC/clang.TARGETS index bcea8e4..d482b54 100644 --- a/toolchains/CC/clang.TARGETS +++ b/toolchains/CC/clang.TARGETS @@ -83,7 +83,7 @@ } } , "toolchain": ["staged-clang"] - , "PATH": ["$(TOOLCHAIN)/clang/bin", "/bin"] + , "PATH": ["$(TOOLCHAIN)/clang/bin", "/bin", "/usr/bin"] } , "staged-clang": {"type": "install", "dirs": [[["", "toolchain"], "clang"]]} } diff --git a/toolchains/CC/gcc.TARGETS b/toolchains/CC/gcc.TARGETS index c0b6fbe..9f0fbc0 100644 --- a/toolchains/CC/gcc.TARGETS +++ b/toolchains/CC/gcc.TARGETS @@ -32,7 +32,7 @@ , "else": [["@", "gcc", "", "runlibs"]] } , "toolchain": ["staged-gcc"] - , "PATH": ["$(TOOLCHAIN)/gcc/bin", "/bin"] + , "PATH": ["$(TOOLCHAIN)/gcc/bin", "/bin", "/usr/bin"] } , "staged-gcc": {"type": "install", "dirs": [[["", "toolchain"], "gcc"]]} } diff --git a/toolchains/patch/busybox.TARGETS b/toolchains/patch/busybox.TARGETS index 5581cb7..e027085 100644 --- a/toolchains/patch/busybox.TARGETS +++ b/toolchains/patch/busybox.TARGETS @@ -2,7 +2,7 @@ { "type": ["@", "rules", "patch", "defaults"] , "PATCH": ["busybox/usr/bin/patch"] , "toolchain": ["staged-busybox"] - , "PATH": ["/bin"] + , "PATH": ["/bin", "/usr/bin"] } , "staged-busybox": {"type": "install", "dirs": [[["", "toolchain"], "busybox"]]} |