summaryrefslogtreecommitdiffstats
path: root/rules/glibc.in
blob: cc26c559e930c4d77f5eb0914de4e575186c0f4e (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# config for glibc

menuconfig GLIBC
	bool
	select GLIBC_PORTS if GLIBC_ADDON_NPTL && ( ARCH_ARM || ARCH_MIPS )
	select GLIBC_LINUXTHREADS if GLIBC_ADDON_LINUXTHREADS
	select CROSS_GCC_FIRST
	select LIBC_NEEDS_KERNEL_HEADERS
	prompt "glibc                       "

config GLIBC_VERSION
	depends on GLIBC
	string
	prompt "glibc version"
	default "2.5"
	help
	  Specify the glibc version here.

config GLIBC_SERIES
	depends on GLIBC
	string
	prompt "glibc patch series file"

config GLIBC_ENABLE_KERNEL
	depends on GLIBC
	string
	prompt "mininum kernel version"
	default "2.6.16"

config GLIBC_EXTRA_CONFIG
	depends on GLIBC
	string
	prompt "extra configure options"
	help
	  Add these extra options to glibc's configure script.

config GLIBC_HEADERS_FAKE_CROSS
	depends on GLIBC
	string
	prompt "fake cross args"
	help
	  Add these args to fake a crosscompiler during glibc-header extraction stage.

choice
	prompt "Thread implementation"
	depends on GLIBC
	default GLIBC_ADDON_NPTL

	config GLIBC_ADDON_LINUXTHREADS
		bool
		prompt "linuxthreads"
		help
		  Activate the linuxthreads addon.

	config GLIBC_ADDON_NPTL
		bool
		prompt "nptl"
		select GLIBC_TLS
		help
		  Activate the NPTL addon.
endchoice

config GLIBC_TLS
	depends on GLIBC
	bool
	prompt "enable TLS"
	help
	  Activate Thread Local Storage.