From 2ffa33b77cab2e30b912e14bb839f491630ceefb Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 24 Apr 2024 19:01:03 +0200 Subject: export toolchains An intended use case of this bootstrappable toolchain is to be imported as toolchain into other projects. However, only export targets should be imported into other projects (a recommendation that is a requirement when obtaineing the imported project via a serve endpoint). Fix this by exporting the toolchains. --- toolchains/CC/gcc.TARGETS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'toolchains/CC/gcc.TARGETS') diff --git a/toolchains/CC/gcc.TARGETS b/toolchains/CC/gcc.TARGETS index 9f0fbc0..5d17103 100644 --- a/toolchains/CC/gcc.TARGETS +++ b/toolchains/CC/gcc.TARGETS @@ -1,4 +1,10 @@ { "defaults": + { "type": "export" + , "target": "defaults (unexported)" + , "flexible_config": + ["ARCH", "ENV", "HOST_ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG"] + } +, "defaults (unexported)": { "type": ["@", "rules", "CC", "defaults"] , "arguments_config": ["TOOLCHAIN_CONFIG"] , "CC": ["gcc/bin/gcc"] -- cgit v1.2.3