summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-21 15:54:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-03-21 15:54:07 +0000
commit51ae801ee3ba4b97e3e13e2a0ac95fe8b292898f (patch)
tree45589d27f33c5761591d3e65f39cc0f9953fa679
parent00bcebeb4cabcaa630ee940f8bd15d29a563afa6 (diff)
downloadmtk-20170518-51ae801ee3ba4b97e3e13e2a0ac95fe8b292898f.zip
mtk-20170518-51ae801ee3ba4b97e3e13e2a0ac95fe8b292898f.tar.gz
mtk-20170518-51ae801ee3ba4b97e3e13e2a0ac95fe8b292898f.tar.bz2
build: remove check to nonexistant CONFIG_ENABLE_LOCALE variable and move DISABLE_NLS to package-defaults.mk
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39980
-rw-r--r--include/package-defaults.mk1
-rw-r--r--rules.mk6
-rw-r--r--toolchain/gdb/Makefile1
-rw-r--r--toolchain/insight/Makefile1
4 files changed, 1 insertions, 8 deletions
diff --git a/include/package-defaults.mk b/include/package-defaults.mk
index 62ccbb9..8f35c32 100644
--- a/include/package-defaults.mk
+++ b/include/package-defaults.mk
@@ -64,6 +64,7 @@ ifneq ($(strip $(PKG_UNPACK)),)
endif
EXTRA_CXXFLAGS = $(EXTRA_CFLAGS)
+DISABLE_NLS:=--disable-nls
CONFIGURE_PREFIX:=/usr
CONFIGURE_ARGS = \
diff --git a/rules.mk b/rules.mk
index 0769a09..cc02b91 100644
--- a/rules.mk
+++ b/rules.mk
@@ -260,12 +260,6 @@ else
$(SCRIPT_DIR)/rstrip.sh
endif
-ifeq ($(CONFIG_ENABLE_LOCALE),true)
- DISABLE_NLS:=--enable-nls
-else
- DISABLE_NLS:=--disable-nls
-endif
-
ifeq ($(CONFIG_IPV6),y)
DISABLE_IPV6:=
else
diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile
index 627baff..10de1f8 100644
--- a/toolchain/gdb/Makefile
+++ b/toolchain/gdb/Makefile
@@ -29,7 +29,6 @@ define Host/Configure
--host=$(GNU_HOST_NAME) \
--target=$(REAL_GNU_TARGET_NAME) \
--disable-werror \
- $(DISABLE_NLS) \
--without-uiout \
--disable-tui --disable-gdbtk --without-x \
--without-included-gettext \
diff --git a/toolchain/insight/Makefile b/toolchain/insight/Makefile
index 9fb39e1..3744f56 100644
--- a/toolchain/insight/Makefile
+++ b/toolchain/insight/Makefile
@@ -28,7 +28,6 @@ define Host/Configure
--build=$(GNU_HOST_NAME) \
--host=$(GNU_HOST_NAME) \
--target=$(REAL_GNU_TARGET_NAME) \
- $(DISABLE_NLS) \
--enable-threads \
--enable-werror=no \
);