Ver código fonte

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>
Hans-Christian Egtvedt 17 anos atrás
pai
commit
32cca54384
2 arquivos alterados com 3 adições e 1 exclusões
  1. 2 0
      package/make/Config.in
  2. 1 1
      package/make/make.mk

+ 2 - 0
package/make/Config.in

@@ -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.

+ 1 - 1
package/make/make.mk

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