aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-03 22:50:17 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:27:26 +0200
commit7b1b0bd0abbbbf44d0ef963f3df9348a1a2386ff (patch)
treefc3c76a0297a20a951905407cb0ed21c28abf553
parentdc9ad9139f4aa023cdaaddcc5d8b084c8b50b810 (diff)
downloadbuildroot-7b1b0bd0abbbbf44d0ef963f3df9348a1a2386ff.tar.gz
buildroot-7b1b0bd0abbbbf44d0ef963f3df9348a1a2386ff.tar.bz2
kbd: use the new gettext logic
This commit switches to use the new gettext logic, which involves: - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies on gettext/host-gettext - dropping BR2_PACKAGE_GETTEXT selection Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/kbd/Config.in1
-rw-r--r--package/kbd/kbd.mk2
2 files changed, 1 insertions, 2 deletions
diff --git a/package/kbd/Config.in b/package/kbd/Config.in
index ab1f1b3100..6cf2fc0dc6 100644
--- a/package/kbd/Config.in
+++ b/package/kbd/Config.in
@@ -2,7 +2,6 @@ config BR2_PACKAGE_KBD
bool "kbd"
# Uses fork()
depends on BR2_USE_MMU
- select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
help
Keytable files and keyboard utilities.
diff --git a/package/kbd/kbd.mk b/package/kbd/kbd.mk
index 175a2374d8..a4873f3a08 100644
--- a/package/kbd/kbd.mk
+++ b/package/kbd/kbd.mk
@@ -11,7 +11,7 @@ KBD_CONF_OPTS = \
--disable-vlock \
--disable-tests
KBD_DEPENDENCIES = \
- $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \
+ $(TARGET_NLS_DEPENDENCIES) \
host-pkgconf
KBD_LICENSE = GPL-2.0+
KBD_LICENSE_FILES = COPYING