summaryrefslogtreecommitdiffstats
path: root/toolchain/toolchain-crosstool-ng/Config.in
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@anciens.enib.fr>2010-09-19 21:54:09 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-10-01 16:40:40 +0200
commit10c1eec2c3351e8a7040431d3178b5a3104db5a2 (patch)
tree7aa1e4bad6d9374acf668c1329908499e2b05f0a /toolchain/toolchain-crosstool-ng/Config.in
parentd0c3d1cf4365a80ba2ec35eef0c3ed7ac907f320 (diff)
downloadbuildroot-novena-10c1eec2c3351e8a7040431d3178b5a3104db5a2.tar.gz
buildroot-novena-10c1eec2c3351e8a7040431d3178b5a3104db5a2.zip
toolchain: add new toolchain backend: crosstool-NG
[Peter: indent Config.in, shuffle make targets around] Signed-off-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/toolchain-crosstool-ng/Config.in')
-rw-r--r--toolchain/toolchain-crosstool-ng/Config.in54
1 files changed, 54 insertions, 0 deletions
diff --git a/toolchain/toolchain-crosstool-ng/Config.in b/toolchain/toolchain-crosstool-ng/Config.in
new file mode 100644
index 000000000..f9b7e691d
--- /dev/null
+++ b/toolchain/toolchain-crosstool-ng/Config.in
@@ -0,0 +1,54 @@
+# Selection options for crosstool-NG
+
+if BR2_TOOLCHAIN_CTNG
+
+choice
+ prompt "Crosstool-NG C library"
+
+config BR2_TOOLCHAIN_CTNG_uClibc
+ bool "uClibc"
+
+# Although eglibc can be configured to opt-out some features,
+# let's not deal with that for the time being, it's complex...
+config BR2_TOOLCHAIN_CTNG_eglibc
+ bool "eglibc"
+ select BR2_LARGEFILE
+ select BR2_INET_IPV6
+ select BR2_INET_RPC
+ select BR2_ENABLE_LOCALE
+ select BR2_USE_WCHAR
+ select BR2_PROGRAM_INVOCATION
+
+config BR2_TOOLCHAIN_CTNG_glibc
+ bool "glibc"
+ select BR2_LARGEFILE
+ select BR2_INET_IPV6
+ select BR2_INET_RPC
+ select BR2_ENABLE_LOCALE
+ select BR2_USE_WCHAR
+ select BR2_PROGRAM_INVOCATION
+
+endchoice # C library
+
+config BR2_TOOLCHAIN_CTNG_LIBC
+ string
+ default "uClibc" if BR2_TOOLCHAIN_CTNG_uClibc
+ default "eglibc" if BR2_TOOLCHAIN_CTNG_eglibc
+ default "glibc" if BR2_TOOLCHAIN_CTNG_glibc
+
+config BR2_TOOLCHAIN_CTNG_CONFIG
+ string "crosstool-NG configuration file to use"
+ default "toolchain/toolchain-crosstool-ng/crosstool-ng.config"
+ help
+ Enter here the crosstool-NG's .config file to use.
+ If unsure, use the default.
+ To finetune your toolchain, you can also call:
+ make ctng-menuconfig
+
+config BR2_TOOLCHAIN_CTNG_STRIP_LIBS
+ bool "Strip libs copied to target"
+ default !BR2_STRIP_none
+ help
+ Strip shared libraries copied from the toolchain.
+
+endif # BR2_TOOLCHAIN_CTNG