diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-09-27 14:55:15 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-09-27 15:57:24 +0200 |
commit | 8c5a5e17484c92f286a26fca45b6db4bddde1f3b (patch) | |
tree | 73c4e5fe3bede48cc1dd99f66cc98ec39e7a8df2 /toolchains/shell/python.TARGETS | |
parent | aa079bbb57c26abafb29dde57508b3ce9d0567b6 (diff) | |
download | bootstrappable-toolchain-8c5a5e17484c92f286a26fca45b6db4bddde1f3b.tar.gz |
toolchains: move python to shell defaults
... and drop unneeded duplication as well as wrong expansion
variables in "PATH" fields.
Diffstat (limited to 'toolchains/shell/python.TARGETS')
-rw-r--r-- | toolchains/shell/python.TARGETS | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/toolchains/shell/python.TARGETS b/toolchains/shell/python.TARGETS index a2a686c..0a9e053 100644 --- a/toolchains/shell/python.TARGETS +++ b/toolchains/shell/python.TARGETS @@ -1,3 +1,13 @@ -{ "defaults": {"type": "export", "target": "defaults (unexported)"} -, "defaults (unexported)": {"type": ["@", "rules", "shell", "defaults"]} +{ "defaults": + { "type": "export" + , "target": "defaults (unexported)" + , "flexible_config": + ["ARCH", "ENV", "HOST_ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG"] + } +, "defaults (unexported)": + { "type": ["@", "rules", "shell", "defaults"] + , "toolchain": ["staged-python"] + , "bin dirs": ["python/usr/bin"] + } +, "staged-python": {"type": "install", "dirs": [[["", "toolchain"], "python"]]} } |