From 10c1eec2c3351e8a7040431d3178b5a3104db5a2 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sun, 19 Sep 2010 21:54:09 +0200 Subject: toolchain: add new toolchain backend: crosstool-NG [Peter: indent Config.in, shuffle make targets around] Signed-off-by: Yann E. MORIN Signed-off-by: Peter Korsgaard --- toolchain/toolchain-crosstool-ng/Config.in | 54 ++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 toolchain/toolchain-crosstool-ng/Config.in (limited to 'toolchain/toolchain-crosstool-ng/Config.in') 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 -- cgit v1.2.3