make: 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:58:33 +02:00
parent 17875ff369
commit 10e1d2b3e5
2 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
config BR2_PACKAGE_MAKE config BR2_PACKAGE_MAKE
bool "make" bool "make"
depends on BR2_USE_MMU # fork() depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
help help
A tool which controls the generation of executables and other A tool which controls the generation of executables and other
non-source files of a program from the program's source files. non-source files of a program from the program's source files.

View File

@ -7,7 +7,7 @@
MAKE_VERSION = 4.2.1 MAKE_VERSION = 4.2.1
MAKE_SOURCE = make-$(MAKE_VERSION).tar.bz2 MAKE_SOURCE = make-$(MAKE_VERSION).tar.bz2
MAKE_SITE = $(BR2_GNU_MIRROR)/make MAKE_SITE = $(BR2_GNU_MIRROR)/make
MAKE_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) MAKE_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
MAKE_LICENSE = GPL-3.0+ MAKE_LICENSE = GPL-3.0+
MAKE_LICENSE_FILES = COPYING MAKE_LICENSE_FILES = COPYING