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>
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
#
#############################################################
ifeq ($(strip $(BR2_PACKAGE_MAKE)),y)
-TARGETS+=$(if $(BR2_PACKAGE_GETTEXT),gettext) make
+TARGETS+=make
endif