From 53ea39ed02d1a5d98e5d4db859c036af9506adce Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 25 Jul 2009 21:45:51 +0000 Subject: [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 --- rules.mk | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'rules.mk') diff --git a/rules.mk b/rules.mk index 05609b9ac..3f39eefd7 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) -- cgit v1.2.3