diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-07-25 22:06:27 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-07-26 09:01:40 +0200 |
commit | 822be877376d481947772dc09cd64ea454b6153c (patch) | |
tree | 9867fbd77e687f04df00498e7723d2f227a2a180 | |
parent | b1a11a0ccc3089c1a33e2bc2fe8bfca6728d6174 (diff) | |
download | buildroot-822be877376d481947772dc09cd64ea454b6153c.tar.gz buildroot-822be877376d481947772dc09cd64ea454b6153c.zip |
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>
-rw-r--r-- | package/glibc/Config.in | 10 | ||||
-rw-r--r-- | package/musl/Config.in | 5 | ||||
-rw-r--r-- | package/uclibc/Config.in | 5 |
3 files changed, 20 insertions, 0 deletions
diff --git a/package/glibc/Config.in b/package/glibc/Config.in index c2d6231847..df1e27305b 100644 --- a/package/glibc/Config.in +++ b/package/glibc/Config.in @@ -1,5 +1,10 @@ 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 @@ -18,6 +23,11 @@ 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 diff --git a/package/musl/Config.in b/package/musl/Config.in new file mode 100644 index 0000000000..0aa353706c --- /dev/null +++ b/package/musl/Config.in @@ -0,0 +1,5 @@ +# For legal-info +config BR2_PACKAGE_MUSL + bool + depends on BR2_TOOLCHAIN_USES_MUSL + default y diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in index 0838b6cb82..851ad1e91f 100644 --- a/package/uclibc/Config.in +++ b/package/uclibc/Config.in @@ -1,5 +1,10 @@ if BR2_TOOLCHAIN_BUILDROOT_UCLIBC +# For legal-info +config BR2_PACKAGE_UCLIBC + bool + default y + comment "uClibc Options" choice |