|
@@ -21,6 +21,10 @@ $(GETTEXT_DIR)/.unpacked: $(DL_DIR)/$(GETTEXT_SOURCE)
|
|
toolchain/patch-kernel.sh $(GETTEXT_DIR) package/gettext/ gettext\*.patch
|
|
toolchain/patch-kernel.sh $(GETTEXT_DIR) package/gettext/ gettext\*.patch
|
|
touch $(GETTEXT_DIR)/.unpacked
|
|
touch $(GETTEXT_DIR)/.unpacked
|
|
|
|
|
|
|
|
+ifeq ($(strip $(BR2_TOOLCHAIN_EXTERNAL)),y)
|
|
|
|
+IGNORE_EXTERNAL_GETTEXT:=--with-included-gettext
|
|
|
|
+endif
|
|
|
|
+
|
|
$(GETTEXT_DIR)/.configured: $(GETTEXT_DIR)/.unpacked
|
|
$(GETTEXT_DIR)/.configured: $(GETTEXT_DIR)/.unpacked
|
|
(cd $(GETTEXT_DIR); rm -rf config.cache; \
|
|
(cd $(GETTEXT_DIR); rm -rf config.cache; \
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
@@ -95,6 +99,7 @@ $(GETTEXT_DIR)/.configured: $(GETTEXT_DIR)/.unpacked
|
|
--mandir=/usr/man \
|
|
--mandir=/usr/man \
|
|
--infodir=/usr/info \
|
|
--infodir=/usr/info \
|
|
--disable-libasprintf \
|
|
--disable-libasprintf \
|
|
|
|
+ $(IGNORE_EXTERNAL_GETTEXT) \
|
|
);
|
|
);
|
|
touch $(GETTEXT_DIR)/.configured
|
|
touch $(GETTEXT_DIR)/.configured
|
|
|
|
|