summaryrefslogtreecommitdiff
path: root/config/toolchain.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-08-29 22:27:12 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-08-29 22:27:12 (GMT)
commitd811941c9a8222476995fac6805ca0ee188dad1e (patch)
treebc20dcf4a04a0c29a09882e0cf8603ea7ea6c0e6 /config/toolchain.in
parent8f051d8ef6a9bc03da3c68da518021a6b222c176 (diff)
config: choose whether to use the shell or the C wrapper
Offer a config choice on whether to isntall the script wrapper, or the compiled C wrapper. Update docs/overview.txt accordingly.
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