From d9121854fbf14ec7b4001a0915ae62c6569f63b5 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 28 Jun 2024 11:07:52 +0200 Subject: toolchain: set shell toolchain, whenever busybox is available --- toolchains/shell/busybox.TARGETS | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'toolchains/shell/busybox.TARGETS') 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"]] + } } -- cgit v1.2.3