1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-12 00:44:03 +02:00

[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
This commit is contained in:
florian 2009-07-25 21:45:51 +00:00
parent 1a5fdf719a
commit 53ea39ed02
3 changed files with 21 additions and 4 deletions

View File

@ -142,6 +142,13 @@ config DEBUG_DIR
This will install all compiled package binaries into build_dir/target-*/debug-*/, This will install all compiled package binaries into build_dir/target-*/debug-*/,
useful for cross-debugging via gdb/gdbserver useful for cross-debugging via gdb/gdbserver
config IPV6
bool
prompt "Enable IPv6 support in packages"
default n
help
Enable IPV6 support in packages (passes --enable-ipv6 to configure scripts).
comment "Kernel build options" comment "Kernel build options"
config KERNEL_KALLSYMS config KERNEL_KALLSYMS

View File

@ -60,7 +60,9 @@ CONFIGURE_ARGS = \
--localstatedir=/var \ --localstatedir=/var \
--mandir=$(CONFIGURE_PREFIX)/man \ --mandir=$(CONFIGURE_PREFIX)/man \
--infodir=$(CONFIGURE_PREFIX)/info \ --infodir=$(CONFIGURE_PREFIX)/info \
$(DISABLE_NLS) $(DISABLE_NLS) \
$(DISABLE_LARGEFILE) \
$(DISABLE_IPV6)
CONFIGURE_VARS = \ CONFIGURE_VARS = \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \

View File

@ -153,13 +153,21 @@ else
endif endif
ifeq ($(CONFIG_ENABLE_LOCALE),true) ifeq ($(CONFIG_ENABLE_LOCALE),true)
DISABLE_NLS:= DISABLE_NLS:=--enable-nls
else else
DISABLE_NLS:=--disable-nls DISABLE_NLS:=--disable-nls
endif endif
ifneq ($(CONFIG_LARGEFILE),y) ifeq ($(CONFIG_IPV6),y)
DISABLE_LARGEFILE= --disable-largefile DISABLE_IPV6:=--enable-ipv6
else
DISABLE_IPV6:=--disable-ipv6
endif
ifeq ($(CONFIG_LARGEFILE),y)
DISABLE_LARGEFILE:=
else
DISABLE_LARGEFILE:=--disable-largefile
endif endif
ifeq ($(CONFIG_TAR_VERBOSITY),y) ifeq ($(CONFIG_TAR_VERBOSITY),y)