summaryrefslogtreecommitdiff
path: root/config/toolchain.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/toolchain.in')
-rw-r--r--config/toolchain.in38
1 files changed, 38 insertions, 0 deletions
diff --git a/config/toolchain.in b/config/toolchain.in
index ffa4f3e..0aae112 100644
--- a/config/toolchain.in
+++ b/config/toolchain.in
@@ -296,4 +296,42 @@ config TARGET_SUFFIX
endif # CROSS_NATIVE || CANADIAN
+# Kept as a separate if block, even if it could go into the above block,
+# because it seems better. No real reason, only that it seems right...
+if CANADIAN
+
+comment "Host specifics"
+
+choice
+ bool
+ prompt "| Install tools wrapper as:"
+ default TOOLS_WRAPPER_SHELL
+
+config TOOLS_WRAPPER_SCRIPT
+ bool
+ prompt "shell script"
+ help
+ If your host has a shell, then you should say 'Y' here, to use
+ a (very very simple) shell script as wrapper.
+
+ See docs/overview.txt, section "Tools wrapper".
+
+config TOOLS_WRAPPER_EXEC
+ bool
+ prompt "executable"
+ help
+ If your host lacks a shell, then you should say 'Y' here, to use
+ an executable.
+
+ See docs/overview.txt, section "Tools wrapper".
+
+endchoice
+
+config TOOLS_WRAPPER
+ string
+ default "script" if TOOLS_WRAPPER_SCRIPT
+ default "exec" if TOOLS_WRAPPER_EXEC
+
+endif # CROSS_NATIVE || CANADIAN
+
endmenu