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:
parent
e0c4ea8276
commit
32cca54384
@ -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.
|
||||
|
@ -71,5 +71,5 @@ make-dirclean:
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(strip $(BR2_PACKAGE_MAKE)),y)
|
||||
TARGETS+=make
|
||||
TARGETS+=$(if $(BR2_PACKAGE_GETTEXT),gettext) make
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user