summaryrefslogtreecommitdiff
path: root/toolchains/shell
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-06-28 11:07:52 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-06-28 16:23:54 +0200
commitd9121854fbf14ec7b4001a0915ae62c6569f63b5 (patch)
tree50d73c00a20d6f399d62d75458b6e0372c1c0d89 /toolchains/shell
parent88863749859d85eee7232e77b7a9da5716bf1f0a (diff)
downloadbootstrappable-toolchain-d9121854fbf14ec7b4001a0915ae62c6569f63b5.tar.gz
toolchain: set shell toolchain, whenever busybox is available
Diffstat (limited to 'toolchains/shell')
-rw-r--r--toolchains/shell/busybox.TARGETS22
-rw-r--r--toolchains/shell/compiler+tools.TARGETS12
-rw-r--r--toolchains/shell/tools-all.TARGETS12
3 files changed, 40 insertions, 6 deletions
diff --git a/toolchains/shell/busybox.TARGETS b/toolchains/shell/busybox.TARGETS
index a2a686c..70e6132 100644
--- a/toolchains/shell/busybox.TARGETS
+++ b/toolchains/shell/busybox.TARGETS
@@ -1,3 +1,21 @@
-{ "defaults": {"type": "export", "target": "defaults (unexported)"}
-, "defaults (unexported)": {"type": ["@", "rules", "shell", "defaults"]}
+{ "defaults":
+ { "type": "export"
+ , "target": "defaults (unexported)"
+ , "flexible_config":
+ ["ARCH", "ENV", "HOST_ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG"]
+ }
+, "defaults (unexported)":
+ { "type": ["@", "rules", "shell", "defaults"]
+ , "toolchain": ["shell-busybox"]
+ , "bin dirs":
+ [ "shell-busybox/bin"
+ , "shell-busybox/sbin"
+ , "shell-busybox/usr/bin"
+ , "shell-busybox/usr/sbin"
+ ]
+ }
+, "shell-busybox":
+ { "type": "install"
+ , "dirs": [[["@", "busybox", "", "busybox"], "shell-busybox"]]
+ }
}
diff --git a/toolchains/shell/compiler+tools.TARGETS b/toolchains/shell/compiler+tools.TARGETS
index a2a686c..f081d9f 100644
--- a/toolchains/shell/compiler+tools.TARGETS
+++ b/toolchains/shell/compiler+tools.TARGETS
@@ -1,3 +1,11 @@
-{ "defaults": {"type": "export", "target": "defaults (unexported)"}
-, "defaults (unexported)": {"type": ["@", "rules", "shell", "defaults"]}
+{ "defaults":
+ { "type": "export"
+ , "target": "defaults (unexported)"
+ , "flexible_config":
+ ["ARCH", "ENV", "HOST_ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG"]
+ }
+, "defaults (unexported)":
+ { "type": ["@", "rules", "shell", "defaults"]
+ , "base": [["@", "busybox", "shell", "defaults"]]
+ }
}
diff --git a/toolchains/shell/tools-all.TARGETS b/toolchains/shell/tools-all.TARGETS
index a2a686c..f081d9f 100644
--- a/toolchains/shell/tools-all.TARGETS
+++ b/toolchains/shell/tools-all.TARGETS
@@ -1,3 +1,11 @@
-{ "defaults": {"type": "export", "target": "defaults (unexported)"}
-, "defaults (unexported)": {"type": ["@", "rules", "shell", "defaults"]}
+{ "defaults":
+ { "type": "export"
+ , "target": "defaults (unexported)"
+ , "flexible_config":
+ ["ARCH", "ENV", "HOST_ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG"]
+ }
+, "defaults (unexported)":
+ { "type": ["@", "rules", "shell", "defaults"]
+ , "base": [["@", "busybox", "shell", "defaults"]]
+ }
}