buildrootschalter/package/glibc/Config.in
Yann E. MORIN 822be87737 toolchain: include C libraries in legal-info
So far, the legal-info infrastructure was not exporting the legal
info for the C libraries. This is because the legal-info only acts
on packages defined in $(TARGETS).

But the C libraries are never added to $(TARGETS), since there is no
corresponding BR2_PACKAGE_<C-LIBRARY>.

This patch adds such symbols for the 4 C libraries we support in our
internal backend: uClibc, glibc, eglibc and musl.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-26 09:01:40 +02:00

52 lines
860 B
Plaintext

if BR2_TOOLCHAIN_BUILDROOT_EGLIBC
# For legal-info
config BR2_PACKAGE_EGLIBC
bool
default y
choice
prompt "eglibc version"
default BR2_EGLIBC_VERSION_2_18
config BR2_EGLIBC_VERSION_2_18
bool "2.18-svnr23787"
config BR2_EGLIBC_VERSION_2_19
bool "2.19-svnr25243"
# Build breakage
depends on !BR2_powerpc_SPE
endchoice
endif
if BR2_TOOLCHAIN_BUILDROOT_GLIBC
# For legal-info
config BR2_PACKAGE_GLIBC
bool
default y
choice
prompt "glibc version"
default BR2_GLIBC_VERSION_2_18
config BR2_GLIBC_VERSION_2_18
bool "2.18"
depends on !BR2_powerpc64le
config BR2_GLIBC_VERSION_2_19
bool "2.19"
endchoice
endif
config BR2_GLIBC_VERSION_STRING
string
default "2.18-svnr23787" if BR2_EGLIBC_VERSION_2_18
default "2.19-svnr25243" if BR2_EGLIBC_VERSION_2_19
default "2.18" if BR2_GLIBC_VERSION_2_18
default "2.19" if BR2_GLIBC_VERSION_2_19