summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-04 16:47:46 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-04 19:09:50 +0200
commit85cb34a880a0eca6c7c33e548057adfbb0c0a8a1 (patch)
treebc229a43a46221d1829abc19684e6cad9484417a
parent9318b864d35542a2ea1d7a3ad12391660854a83c (diff)
downloadbuildroot-85cb34a880a0eca6c7c33e548057adfbb0c0a8a1.tar.gz
buildroot-85cb34a880a0eca6c7c33e548057adfbb0c0a8a1.zip
toolchain: introduce BR2_TOOLCHAIN_HAS_FULL_GETTEXT
This new boolean is true if the toolchain provides a built-in full-featured implementation of gettext (glibc), and false if only a stub implementation is provided (uclibc, musl). This will be used in follow-up commits to decide whether libintl needs to be built by gettext or not. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--toolchain/Config.in1
-rw-r--r--toolchain/toolchain-common.in6
2 files changed, 7 insertions, 0 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 6aaf68bf65..15ee335481 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -11,6 +11,7 @@ config BR2_TOOLCHAIN_USES_GLIBC
bool
select BR2_USE_WCHAR
select BR2_ENABLE_LOCALE
+ select BR2_TOOLCHAIN_HAS_FULL_GETTEXT
select BR2_TOOLCHAIN_HAS_THREADS
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
select BR2_TOOLCHAIN_HAS_THREADS_NPTL
diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in
index 74e0e069c7..59115f39e9 100644
--- a/toolchain/toolchain-common.in
+++ b/toolchain/toolchain-common.in
@@ -93,6 +93,12 @@ config BR2_NEEDS_GETTEXT_IF_LOCALE
bool
default y if (BR2_NEEDS_GETTEXT && BR2_ENABLE_LOCALE)
+# This boolean is true if the toolchain provides a built-in full
+# featured gettext implementation (glibc), and false if only a stub
+# gettext implementation is provided (uclibc, musl)
+config BR2_TOOLCHAIN_HAS_FULL_GETTEXT
+ bool
+
config BR2_USE_MMU
bool "Enable MMU support" if BR2_ARCH_HAS_MMU_OPTIONAL
default y if BR2_ARCH_HAS_MMU_OPTIONAL || BR2_ARCH_HAS_MMU_MANDATORY
OpenPOWER on IntegriCloud