summaryrefslogtreecommitdiff
path: root/toolchains/CC/foreign
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-04-24 19:01:03 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-04-24 19:21:02 +0200
commit2ffa33b77cab2e30b912e14bb839f491630ceefb (patch)
treecf5815d67a00314e14d9cbeae84606791db1a2ab /toolchains/CC/foreign
parent67e7ba44cf7cf845cbb7f0f41e423ed3b9f1d7c6 (diff)
downloadbootstrappable-toolchain-2ffa33b77cab2e30b912e14bb839f491630ceefb.tar.gz
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.
Diffstat (limited to 'toolchains/CC/foreign')
-rw-r--r--toolchains/CC/foreign/busybox.TARGETS6
-rw-r--r--toolchains/CC/foreign/cmake.TARGETS6
-rw-r--r--toolchains/CC/foreign/compiler+tools.TARGETS6
-rw-r--r--toolchains/CC/foreign/make.TARGETS6
-rw-r--r--toolchains/CC/foreign/python.TARGETS6
-rw-r--r--toolchains/CC/foreign/tools-all.TARGETS6
6 files changed, 36 insertions, 0 deletions
diff --git a/toolchains/CC/foreign/busybox.TARGETS b/toolchains/CC/foreign/busybox.TARGETS
index d051ad1..da37c1a 100644
--- a/toolchains/CC/foreign/busybox.TARGETS
+++ b/toolchains/CC/foreign/busybox.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/foreign", "defaults"]
, "toolchain": ["staged-busybox"]
, "PATH":
diff --git a/toolchains/CC/foreign/cmake.TARGETS b/toolchains/CC/foreign/cmake.TARGETS
index facb83d..4436416 100644
--- a/toolchains/CC/foreign/cmake.TARGETS
+++ b/toolchains/CC/foreign/cmake.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/foreign", "defaults"]
, "CMAKE": ["cmake/bin/cmake"]
, "toolchain": ["staged-cmake"]
diff --git a/toolchains/CC/foreign/compiler+tools.TARGETS b/toolchains/CC/foreign/compiler+tools.TARGETS
index bc75880..fabf11d 100644
--- a/toolchains/CC/foreign/compiler+tools.TARGETS
+++ b/toolchains/CC/foreign/compiler+tools.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/foreign", "defaults"]
, "base": [["@", "tools", "CC/foreign", "defaults"]]
}
diff --git a/toolchains/CC/foreign/make.TARGETS b/toolchains/CC/foreign/make.TARGETS
index ca679db..a5efc72 100644
--- a/toolchains/CC/foreign/make.TARGETS
+++ b/toolchains/CC/foreign/make.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/foreign", "defaults"]
, "MAKE": ["make/bin/make"]
, "PATH": ["$(TOOLCHAIN)/make/bin"]
diff --git a/toolchains/CC/foreign/python.TARGETS b/toolchains/CC/foreign/python.TARGETS
index 2824c77..143cc14 100644
--- a/toolchains/CC/foreign/python.TARGETS
+++ b/toolchains/CC/foreign/python.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/foreign", "defaults"]
, "toolchain": ["staged-python"]
, "PATH": ["$(TOOLCHAIN)/python/usr/bin"]
diff --git a/toolchains/CC/foreign/tools-all.TARGETS b/toolchains/CC/foreign/tools-all.TARGETS
index 260bc43..079a97c 100644
--- a/toolchains/CC/foreign/tools-all.TARGETS
+++ b/toolchains/CC/foreign/tools-all.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/foreign", "defaults"]
, "base":
[ ["@", "busybox", "CC/foreign", "defaults"]