make: add gettext dependency to make rule instead of TARGETS
This patch adds gettext dependency to make: rule instead of the TARGETS variable if locale is selected. Just to conform with common syntax. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
This commit is contained in:
parent
32cca54384
commit
5599a3102e
@ -56,7 +56,7 @@ $(TARGET_DIR)/$(GNUMAKE_TARGET_BINARY): $(GNUMAKE_DIR)/$(GNUMAKE_BINARY)
|
||||
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
|
||||
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
|
||||
|
||||
make: uclibc $(TARGET_DIR)/$(GNUMAKE_TARGET_BINARY)
|
||||
make: uclibc $(if $(BR2_PACKAGE_GETTEXT),gettext) $(TARGET_DIR)/$(GNUMAKE_TARGET_BINARY)
|
||||
|
||||
make-clean:
|
||||
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(GNUMAKE_DIR) uninstall
|
||||
@ -71,5 +71,5 @@ make-dirclean:
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(strip $(BR2_PACKAGE_MAKE)),y)
|
||||
TARGETS+=$(if $(BR2_PACKAGE_GETTEXT),gettext) make
|
||||
TARGETS+=make
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user