toolchain: get rid of eglibc version kconfig symbol overloading
[openwrt.git] / toolchain / eglibc / Config.in
1 choice
2         prompt "eglibc version"
3         depends on TOOLCHAINOPTS && USE_EGLIBC
4         default EGLIBC_USE_VERSION_2_15
5         help
6           Select the version of eglibc you wish to use.
7
8         config EGLIBC_USE_VERSION_2_15
9                 bool "eglibc 2.15"
10                 select EGLIBC_VERSION_2_15
11
12         config EGLIBC_USE_VERSION_2_16
13                 bool "eglibc 2.16"
14                 select EGLIBC_VERSION_2_16
15
16         config EGLIBC_USE_VERSION_2_17
17                 bool "eglibc 2.17"
18                 select EGLIBC_VERSION_2_17
19
20 endchoice
21
22 config EGLIBC_REVISION
23         string
24         depends on TOOLCHAINOPTS && USE_EGLIBC
25         default "18909" if EGLIBC_VERSION_2_15
26         default "21110" if EGLIBC_VERSION_2_16
27         default "22243" if EGLIBC_VERSION_2_17
28         default ""
29
30 menu "eglibc configuration"
31         depends on TOOLCHAINOPTS && USE_EGLIBC
32         source toolchain/eglibc/config/Config.in
33 endmenu