summaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-07-25 21:45:51 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-07-25 21:45:51 +0000
commit11e1304ca0d2be464d881fca375f22deafd52536 (patch)
treef4eba264bb0dc752b046c6d0f2ed54836fac2ac0 /rules.mk
parent5f2d2695d9a0090ddede54a61dde715b536fb4e7 (diff)
downloadmtk-20170518-11e1304ca0d2be464d881fca375f22deafd52536.zip
mtk-20170518-11e1304ca0d2be464d881fca375f22deafd52536.tar.gz
mtk-20170518-11e1304ca0d2be464d881fca375f22deafd52536.tar.bz2
globally define IPv6 support or not in OpenWrt, just like for largefiles, ipv6 disabled by default (#4857)
SVN-Revision: 16983
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk14
1 files changed, 11 insertions, 3 deletions
diff --git a/rules.mk b/rules.mk
index 05609b9..3f39eef 100644
--- a/rules.mk
+++ b/rules.mk
@@ -153,13 +153,21 @@ else
endif
ifeq ($(CONFIG_ENABLE_LOCALE),true)
- DISABLE_NLS:=
+ DISABLE_NLS:=--enable-nls
else
DISABLE_NLS:=--disable-nls
endif
-ifneq ($(CONFIG_LARGEFILE),y)
- DISABLE_LARGEFILE= --disable-largefile
+ifeq ($(CONFIG_IPV6),y)
+ DISABLE_IPV6:=--enable-ipv6
+else
+ DISABLE_IPV6:=--disable-ipv6
+endif
+
+ifeq ($(CONFIG_LARGEFILE),y)
+ DISABLE_LARGEFILE:=
+else
+ DISABLE_LARGEFILE:=--disable-largefile
endif
ifeq ($(CONFIG_TAR_VERBOSITY),y)