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>
This commit is contained in:
Thomas Petazzoni 2017-07-03 22:50:17 +02:00
parent dc9ad9139f
commit 7b1b0bd0ab
2 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,6 @@ config BR2_PACKAGE_KBD
bool "kbd" bool "kbd"
# Uses fork() # Uses fork()
depends on BR2_USE_MMU depends on BR2_USE_MMU
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
help help
Keytable files and keyboard utilities. Keytable files and keyboard utilities.

View File

@ -11,7 +11,7 @@ KBD_CONF_OPTS = \
--disable-vlock \ --disable-vlock \
--disable-tests --disable-tests
KBD_DEPENDENCIES = \ KBD_DEPENDENCIES = \
$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \ $(TARGET_NLS_DEPENDENCIES) \
host-pkgconf host-pkgconf
KBD_LICENSE = GPL-2.0+ KBD_LICENSE = GPL-2.0+
KBD_LICENSE_FILES = COPYING KBD_LICENSE_FILES = COPYING