diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-07-25 21:45:51 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-07-25 21:45:51 +0000 |
commit | e404fd711b84841fc8736161c5fe49fbe9f24d13 (patch) | |
tree | 05880aec9c25779e83d6897331dd4fbd1dcaf357 /rules.mk | |
parent | 019799277838f2ae6fcebcb0ff1dd5aedfc3b428 (diff) | |
download | upstream-e404fd711b84841fc8736161c5fe49fbe9f24d13.tar.gz upstream-e404fd711b84841fc8736161c5fe49fbe9f24d13.tar.bz2 upstream-e404fd711b84841fc8736161c5fe49fbe9f24d13.zip |
[package] globally define IPv6 support or not in OpenWrt, just like for largefiles, ipv6 disabled by default (#4857)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16983 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -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) |