make: select gettext and libintl if locale is enabled

This patch makes sure gettext and libintl are selected if locale support is
enabled. Gettext must also be compiled before make so appropriate headers are
available to make.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
This commit is contained in:
Hans-Christian Egtvedt 2008-11-05 08:09:30 +00:00
parent e0c4ea8276
commit 32cca54384
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
config BR2_PACKAGE_MAKE
bool "make"
select BR2_PACKAGE_GETTEXT if BR2_ENABLE_LOCALE
select BR2_PACKAGE_LIBINTL if BR2_ENABLE_LOCALE
help
A tool which controls the generation of executables and other
non-source files of a program from the program's source files.

View File

@ -71,5 +71,5 @@ make-dirclean:
#
#############################################################
ifeq ($(strip $(BR2_PACKAGE_MAKE)),y)
TARGETS+=make
TARGETS+=$(if $(BR2_PACKAGE_GETTEXT),gettext) make
endif