From 45171532f2d76037aab146be8fb61faa8a7a7852 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 12 Jun 2025 15:35:44 +0200 Subject: export toolchains Those are a documented entry-point for the bootstrappable toolchain. As such, they should be export targets, so the bootstrappable toolchain can be used as an entirely absent repository. --- toolchains/busybox.TARGETS | 6 ++++++ toolchains/clang.TARGETS | 6 ++++++ toolchains/cmake.TARGETS | 6 ++++++ toolchains/compiler+tools.TARGETS | 6 ++++++ toolchains/gcc.TARGETS | 6 ++++++ toolchains/python.TARGETS | 6 ++++++ toolchains/tools-all.TARGETS | 6 ++++++ 7 files changed, 42 insertions(+) diff --git a/toolchains/busybox.TARGETS b/toolchains/busybox.TARGETS index 53e5b24..6b48931 100644 --- a/toolchains/busybox.TARGETS +++ b/toolchains/busybox.TARGETS @@ -1,3 +1,9 @@ { "toolchain": + { "type": "export" + , "target": "toolchain (unexported)" + , "flexible_config": + ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV", "BUILD_ARCH"] + } +, "toolchain (unexported)": {"type": "install", "dirs": [[["@", "busybox", "", "toolchain"], "."]]} } diff --git a/toolchains/clang.TARGETS b/toolchains/clang.TARGETS index 8cdc4a3..2c99d06 100644 --- a/toolchains/clang.TARGETS +++ b/toolchains/clang.TARGETS @@ -1,3 +1,9 @@ { "toolchain": + { "type": "export" + , "target": "toolchain (unexported)" + , "flexible_config": + ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV", "BUILD_ARCH"] + } +, "toolchain (unexported)": {"type": "install", "dirs": [[["@", "clang", "", "toolchain"], "."]]} } diff --git a/toolchains/cmake.TARGETS b/toolchains/cmake.TARGETS index bb16198..535ca2f 100644 --- a/toolchains/cmake.TARGETS +++ b/toolchains/cmake.TARGETS @@ -1,3 +1,9 @@ { "toolchain": + { "type": "export" + , "target": "toolchain (unexported)" + , "flexible_config": + ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV", "BUILD_ARCH"] + } +, "toolchain (unexported)": {"type": "install", "dirs": [[["@", "cmake", "", "toolchain"], "."]]} } diff --git a/toolchains/compiler+tools.TARGETS b/toolchains/compiler+tools.TARGETS index 0f21c76..da7667c 100644 --- a/toolchains/compiler+tools.TARGETS +++ b/toolchains/compiler+tools.TARGETS @@ -1,4 +1,10 @@ { "toolchain": + { "type": "export" + , "target": "toolchain (unexported)" + , "flexible_config": + ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV", "BUILD_ARCH"] + } +, "toolchain (unexported)": { "type": "install" , "dirs": [ [["@", "tools", "", "toolchain"], "."] diff --git a/toolchains/gcc.TARGETS b/toolchains/gcc.TARGETS index 4c129eb..acd7a17 100644 --- a/toolchains/gcc.TARGETS +++ b/toolchains/gcc.TARGETS @@ -1,3 +1,9 @@ { "toolchain": + { "type": "export" + , "target": "toolchain (unexported)" + , "flexible_config": + ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV", "BUILD_ARCH"] + } +, "toolchain (unexported)": {"type": "install", "dirs": [[["@", "gcc", "", "toolchain"], "."]]} } diff --git a/toolchains/python.TARGETS b/toolchains/python.TARGETS index 14e16c0..976f365 100644 --- a/toolchains/python.TARGETS +++ b/toolchains/python.TARGETS @@ -1,3 +1,9 @@ { "toolchain": + { "type": "export" + , "target": "toolchain (unexported)" + , "flexible_config": + ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV", "BUILD_ARCH"] + } +, "toolchain (unexported)": {"type": "install", "dirs": [[["@", "python", "", "toolchain"], "."]]} } diff --git a/toolchains/tools-all.TARGETS b/toolchains/tools-all.TARGETS index 2330537..d41820a 100644 --- a/toolchains/tools-all.TARGETS +++ b/toolchains/tools-all.TARGETS @@ -1,4 +1,10 @@ { "toolchain": + { "type": "export" + , "target": "toolchain (unexported)" + , "flexible_config": + ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV", "BUILD_ARCH"] + } +, "toolchain (unexported)": { "type": "install" , "dirs": [ [["@", "busybox", "", "toolchain"], "busybox"] -- cgit v1.2.3