From 8c5a5e17484c92f286a26fca45b6db4bddde1f3b Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 27 Sep 2024 14:55:15 +0200 Subject: toolchains: move python to shell defaults ... and drop unneeded duplication as well as wrong expansion variables in "PATH" fields. --- toolchains/CC/foreign/busybox.TARGETS | 8 -------- toolchains/CC/foreign/cmake.TARGETS | 1 - toolchains/CC/foreign/make.TARGETS | 1 - toolchains/CC/foreign/python.TARGETS | 7 +------ 4 files changed, 1 insertion(+), 16 deletions(-) (limited to 'toolchains/CC') diff --git a/toolchains/CC/foreign/busybox.TARGETS b/toolchains/CC/foreign/busybox.TARGETS index da37c1a..3559b47 100644 --- a/toolchains/CC/foreign/busybox.TARGETS +++ b/toolchains/CC/foreign/busybox.TARGETS @@ -7,13 +7,5 @@ , "defaults (unexported)": { "type": ["@", "rules", "CC/foreign", "defaults"] , "toolchain": ["staged-busybox"] - , "PATH": - [ "$(TOOLCHAIN)/busybox/bin" - , "$(TOOLCHAIN)/busybox/sbin" - , "$(TOOLCHAIN)/busybox/usr/bin" - , "$(TOOLCHAIN)/busybox/usr/sbin" - ] } -, "staged-busybox": - {"type": "install", "dirs": [[["", "toolchain"], "busybox"]]} } diff --git a/toolchains/CC/foreign/cmake.TARGETS b/toolchains/CC/foreign/cmake.TARGETS index 4436416..78f3436 100644 --- a/toolchains/CC/foreign/cmake.TARGETS +++ b/toolchains/CC/foreign/cmake.TARGETS @@ -8,7 +8,6 @@ { "type": ["@", "rules", "CC/foreign", "defaults"] , "CMAKE": ["cmake/bin/cmake"] , "toolchain": ["staged-cmake"] - , "PATH": ["$(TOOLCHAIN)/cmake/bin"] } , "staged-cmake": {"type": "install", "dirs": [[["", "toolchain"], "cmake"]]} } diff --git a/toolchains/CC/foreign/make.TARGETS b/toolchains/CC/foreign/make.TARGETS index a5efc72..ddd5f09 100644 --- a/toolchains/CC/foreign/make.TARGETS +++ b/toolchains/CC/foreign/make.TARGETS @@ -7,7 +7,6 @@ , "defaults (unexported)": { "type": ["@", "rules", "CC/foreign", "defaults"] , "MAKE": ["make/bin/make"] - , "PATH": ["$(TOOLCHAIN)/make/bin"] , "toolchain": ["staged-make"] } , "staged-make": {"type": "install", "dirs": [[["", "toolchain"], "make"]]} diff --git a/toolchains/CC/foreign/python.TARGETS b/toolchains/CC/foreign/python.TARGETS index 143cc14..97c0518 100644 --- a/toolchains/CC/foreign/python.TARGETS +++ b/toolchains/CC/foreign/python.TARGETS @@ -4,10 +4,5 @@ , "flexible_config": ["ARCH", "ENV", "HOST_ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG"] } -, "defaults (unexported)": - { "type": ["@", "rules", "CC/foreign", "defaults"] - , "toolchain": ["staged-python"] - , "PATH": ["$(TOOLCHAIN)/python/usr/bin"] - } -, "staged-python": {"type": "install", "dirs": [[["", "toolchain"], "python"]]} +, "defaults (unexported)": {"type": ["@", "rules", "CC/foreign", "defaults"]} } -- cgit v1.2.3