diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-04-24 19:01:03 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-04-24 19:21:02 +0200 |
commit | 2ffa33b77cab2e30b912e14bb839f491630ceefb (patch) | |
tree | cf5815d67a00314e14d9cbeae84606791db1a2ab /toolchains/patch | |
parent | 67e7ba44cf7cf845cbb7f0f41e423ed3b9f1d7c6 (diff) | |
download | bootstrappable-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/patch')
-rw-r--r-- | toolchains/patch/busybox.TARGETS | 6 | ||||
-rw-r--r-- | toolchains/patch/compiler+tools.TARGETS | 6 | ||||
-rw-r--r-- | toolchains/patch/tools-all.TARGETS | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/toolchains/patch/busybox.TARGETS b/toolchains/patch/busybox.TARGETS index e027085..fba575c 100644 --- a/toolchains/patch/busybox.TARGETS +++ b/toolchains/patch/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", "patch", "defaults"] , "PATCH": ["busybox/usr/bin/patch"] , "toolchain": ["staged-busybox"] diff --git a/toolchains/patch/compiler+tools.TARGETS b/toolchains/patch/compiler+tools.TARGETS index 86297fe..3f16919 100644 --- a/toolchains/patch/compiler+tools.TARGETS +++ b/toolchains/patch/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", "patch", "defaults"] , "base": [["@", "tools", "patch", "defaults"]] } diff --git a/toolchains/patch/tools-all.TARGETS b/toolchains/patch/tools-all.TARGETS index 0dd1455..9eeb7e8 100644 --- a/toolchains/patch/tools-all.TARGETS +++ b/toolchains/patch/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", "patch", "defaults"] , "base": [["@", "busybox", "patch", "defaults"]] } |