summaryrefslogtreecommitdiffstats
path: root/rules/glibc.in
blob: 4d92949e26cf615f7e26c09adad24874ed7a1946 (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# config for glibc

config GLIBC_HEADERS
	bool
	select KERNEL_HEADERS
	select CROSS_BINUTILS

config GLIBC_CRT
	bool
	select CROSS_GCC_FIRST

config GLIBC_FIRST
	bool
	select CROSS_GCC_FIRST

menuconfig GLIBC
	bool

	select GLIBC_CRT

	select TOOLCHAIN_ENABLE_SYSROOT
	select TOOLCHAIN_DISABLE_MULTILIB

	select CROSS_GCC
	select CROSS_GCC_ENABLE_CXA_ATEXIT
	select CROSS_GCC_DISABLE_SJLJ_EXCEPTIONS
	select CROSS_GCC_DISABLE_LIBSSP
	select CROSS_GCC_ENABLE_SHARED
	select CROSS_GCC_THREADS_POSIX

	prompt "glibc                       "

if GLIBC

config GLIBC_VERSION
	string
	prompt "glibc version"
	default "2.8"
	help
	  Specify the glibc version here.
	  Leave empty for glibc trunk snapshots and enter a timestamp below.

config GLIBC_MD5
	string
	prompt "glibc source md5sum"

config GLIBC_LICENSE
	string
	prompt "glibc license"

config GLIBC_LICENSE_FILES
	string
	prompt "glibc license files"

config GLIBC_TIMESTAMP
	string
	prompt "glibc timestamp"
	default ""
	help
	  For glibc releases just leave this field empty.

	  For glibc snapshots enter a timestap (YYYYMMDD, e.g. 20080811) here,
	  or "latest" or if you want try the latest snapshot.

config GLIBC_SERIES
	string
	prompt "glibc patch series file"
	default "series"

config GLIBC_ENABLE_KERNEL
	string
	prompt "mininum kernel version"
	default "2.6.23"

config GLIBC_CONFIG_EXTRA
	string
	prompt "extra configure options"
	help
	  Add these extra options to glibc's configure script.

config GLIBC_CONFIG_EXTRA_CROSS
	string
	prompt "extra configure options (cross)"
	help
	  Add these extra options to glibc's configure script.
	  this is for configure options that require the cross gcc and can therefore
	  not be used when building the glibc-headers

config GLIBC_HEADERS_FAKE_CROSS
	string
	prompt "fake cross args"
	default "-D__ARM_EABI__"	if ARCH_ARM
	default "-DBOOTSTRAP_GCC"	if ARCH_MIPS
	help
	  Add these args to fake a crosscompiler during glibc-header extraction stage.

endif