summaryrefslogtreecommitdiffstats
path: root/package/glibc/Config.in
blob: 115388e32c18ee352703147261da547ff60dabf4 (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
if BR2_TOOLCHAIN_BUILDROOT_GLIBC

config BR2_PACKAGE_GLIBC
	bool
	default y
	select BR2_PACKAGE_LINUX_HEADERS
	select BR2_TOOLCHAIN_HAS_SSP

choice
	prompt "glibc version"
	default BR2_GLIBC_VERSION_2_24

config BR2_GLIBC_VERSION_2_23
	bool "2.23"

config BR2_GLIBC_VERSION_2_24
	bool "2.24"
	# Linux 3.2 or later kernel headers are required on all arches.
	# See: https://sourceware.org/ml/libc-alpha/2016-08/msg00212.html
	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2

config BR2_GLIBC_VERSION_2_25
	bool "2.25"
	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2

comment "glibc-2.24+ needs kernel headers >= 3.2"
	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2

endchoice

endif

config BR2_GLIBC_VERSION_STRING
	string
	default "2.23" if BR2_GLIBC_VERSION_2_23
	default "2.24" if BR2_GLIBC_VERSION_2_24
	default "2.25" if BR2_GLIBC_VERSION_2_25
OpenPOWER on IntegriCloud