summaryrefslogtreecommitdiff
path: root/config/toolchain.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-08-29 22:35:58 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-08-29 22:35:58 (GMT)
commitb7b6314a812914c74445c52f0a8e1f543e36b72a (patch)
treec766b8933bc3f4d480e10fcdd86f9ac62a430607 /config/toolchain.in
parent78d89b928b1301c84e3983b3b3fa2bebec919594 (diff)
parentd811941c9a8222476995fac6805ca0ee188dad1e (diff)
Merge the C wrapper.
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