summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2015-12-30 00:10:38 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-30 09:54:33 +0100
commit863036378b257d9a9eb9908322edaf29f2121ae7 (patch)
tree0d72e657edd4d3c665bcfae9dccdb2931257fc4a
parent35dc775b83b8054d27a75a218d30c7a0f15b6a6d (diff)
package/c-libraries: need linux-headers
Now that we check that a target package in the _DEPENDENCIES of another package has to be enabled in config, all target packages must have a kconfig symbol. Add a Kconfig symbol for linux-headers, and select it from the packages that depends on it (C libraries). Also remove the now-misleading comments "for legal-info" from the C libraries. Fixes: http://autobuild.buildroot.org/results/2a9/2a9e5d27b34357819b44f573a834da1ba5079030/ ... and numerous similar failures ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/glibc/Config.in4
-rw-r--r--package/linux-headers/Config.in2
-rw-r--r--package/musl/Config.in2
-rw-r--r--package/uclibc/Config.in2
-rw-r--r--toolchain/toolchain-buildroot/Config.in1
5 files changed, 7 insertions, 4 deletions
diff --git a/package/glibc/Config.in b/package/glibc/Config.in
index 72fd3dfff..aeb236c59 100644
--- a/package/glibc/Config.in
+++ b/package/glibc/Config.in
@@ -1,9 +1,9 @@
if BR2_TOOLCHAIN_BUILDROOT_EGLIBC
-# For legal-info
config BR2_PACKAGE_EGLIBC
bool
default y
+ select BR2_PACKAGE_LINUX_HEADERS
choice
prompt "eglibc version"
@@ -25,10 +25,10 @@ endif
if BR2_TOOLCHAIN_BUILDROOT_GLIBC
-# For legal-info
config BR2_PACKAGE_GLIBC
bool
default y
+ select BR2_PACKAGE_LINUX_HEADERS
choice
prompt "glibc version"
diff --git a/package/linux-headers/Config.in b/package/linux-headers/Config.in
new file mode 100644
index 000000000..0ea95164d
--- /dev/null
+++ b/package/linux-headers/Config.in
@@ -0,0 +1,2 @@
+config BR2_PACKAGE_LINUX_HEADERS
+ bool
diff --git a/package/musl/Config.in b/package/musl/Config.in
index 0aa353706..4f6cc51b6 100644
--- a/package/musl/Config.in
+++ b/package/musl/Config.in
@@ -1,5 +1,5 @@
-# For legal-info
config BR2_PACKAGE_MUSL
bool
depends on BR2_TOOLCHAIN_USES_MUSL
default y
+ select BR2_PACKAGE_LINUX_HEADERS
diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in
index bd95041d1..9ebec704b 100644
--- a/package/uclibc/Config.in
+++ b/package/uclibc/Config.in
@@ -1,9 +1,9 @@
if BR2_TOOLCHAIN_BUILDROOT_UCLIBC
-# For legal-info
config BR2_PACKAGE_UCLIBC
bool
default y
+ select BR2_PACKAGE_LINUX_HEADERS
comment "uClibc Options"
diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
index cee2578dd..cbeb0305b 100644
--- a/toolchain/toolchain-buildroot/Config.in
+++ b/toolchain/toolchain-buildroot/Config.in
@@ -110,6 +110,7 @@ config BR2_TOOLCHAIN_BUILDROOT_LIBC
default "glibc" if BR2_TOOLCHAIN_BUILDROOT_GLIBC
default "musl" if BR2_TOOLCHAIN_BUILDROOT_MUSL
+source "package/linux-headers/Config.in"
source "package/uclibc/Config.in"
source "package/glibc/Config.in"
source "package/binutils/Config.in.host"