diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-08-30 00:27:12 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-08-30 00:27:12 +0200 |
commit | d811941c9a8222476995fac6805ca0ee188dad1e (patch) | |
tree | bc20dcf4a04a0c29a09882e0cf8603ea7ea6c0e6 /config/toolchain.in | |
parent | 8f051d8ef6a9bc03da3c68da518021a6b222c176 (diff) | |
download | crosstool-ng-d811941c9a8222476995fac6805ca0ee188dad1e.tar.gz crosstool-ng-d811941c9a8222476995fac6805ca0ee188dad1e.tar.bz2 crosstool-ng-d811941c9a8222476995fac6805ca0ee188dad1e.zip |
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.in | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/config/toolchain.in b/config/toolchain.in index ffa4f3e4..0aae1124 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 |