summaryrefslogtreecommitdiff
path: root/toolchain/toolchain-crosstool-ng/Config.in
blob: f9b7e691d4c182c342262d7fe8ee3ccc1db2db43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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