toolchain: get rid of eglibc version kconfig symbol overloading
SVN-Revision: 36358
This commit is contained in:
parent
4aa6663599
commit
68f2e7f940
2 changed files with 21 additions and 9 deletions
|
@ -1,21 +1,21 @@
|
||||||
choice
|
choice
|
||||||
prompt "eglibc version"
|
prompt "eglibc version"
|
||||||
depends on TOOLCHAINOPTS && USE_EGLIBC
|
depends on TOOLCHAINOPTS && USE_EGLIBC
|
||||||
default EGLIBC_VERSION_2_15
|
default EGLIBC_USE_VERSION_2_15
|
||||||
help
|
help
|
||||||
Select the version of eglibc you wish to use.
|
Select the version of eglibc you wish to use.
|
||||||
|
|
||||||
config EGLIBC_VERSION_2_15
|
config EGLIBC_USE_VERSION_2_15
|
||||||
bool "eglibc 2.15"
|
bool "eglibc 2.15"
|
||||||
depends on !GCC_VERSION_LLVM
|
select EGLIBC_VERSION_2_15
|
||||||
|
|
||||||
config EGLIBC_VERSION_2_16
|
config EGLIBC_USE_VERSION_2_16
|
||||||
bool "eglibc 2.16"
|
bool "eglibc 2.16"
|
||||||
depends on !GCC_VERSION_LLVM
|
select EGLIBC_VERSION_2_16
|
||||||
|
|
||||||
config EGLIBC_VERSION_2_17
|
config EGLIBC_USE_VERSION_2_17
|
||||||
bool "eglibc 2.17"
|
bool "eglibc 2.17"
|
||||||
depends on !GCC_VERSION_LLVM
|
select EGLIBC_VERSION_2_17
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,19 @@
|
||||||
|
if USE_EGLIBC
|
||||||
|
|
||||||
config EGLIBC_VERSION
|
config EGLIBC_VERSION
|
||||||
string
|
string
|
||||||
depends on USE_EGLIBC
|
|
||||||
default "2.15" if EGLIBC_VERSION_2_15
|
default "2.15" if EGLIBC_VERSION_2_15
|
||||||
default "2.16" if EGLIBC_VERSION_2_16
|
default "2.16" if EGLIBC_VERSION_2_16
|
||||||
default "2.17" if EGLIBC_VERSION_2_17
|
default "2.17" if EGLIBC_VERSION_2_17
|
||||||
default "2.15"
|
|
||||||
|
config EGLIBC_VERSION_2_15
|
||||||
|
default y if !TOOLCHAINOPTS
|
||||||
|
bool
|
||||||
|
|
||||||
|
config EGLIBC_VERSION_2_16
|
||||||
|
bool
|
||||||
|
|
||||||
|
config EGLIBC_VERSION_2_17
|
||||||
|
bool
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in a new issue