mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +00:00
linux: make IPv6 builtin if selected (saves >30KB)
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46834
This commit is contained in:
parent
1fb987e3b8
commit
0c8f0186d5
@ -83,7 +83,7 @@ menu "Global build settings"
|
|||||||
prompt "Enable IPv6 support in packages"
|
prompt "Enable IPv6 support in packages"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enable IPv6 support in packages (passes --enable-ipv6 to configure scripts).
|
Enables IPv6 support in kernel (builtin) and packages.
|
||||||
|
|
||||||
config PKG_BUILD_PARALLEL
|
config PKG_BUILD_PARALLEL
|
||||||
bool
|
bool
|
||||||
|
@ -439,7 +439,7 @@ $(eval $(call KernelPackage,iptunnel4))
|
|||||||
define KernelPackage/iptunnel6
|
define KernelPackage/iptunnel6
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
TITLE:=IPv6 tunneling
|
TITLE:=IPv6 tunneling
|
||||||
DEPENDS:= +kmod-ipv6
|
DEPENDS:=@IPV6
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_INET6_TUNNEL
|
CONFIG_INET6_TUNNEL
|
||||||
FILES:=$(LINUX_DIR)/net/ipv6/tunnel6.ko
|
FILES:=$(LINUX_DIR)/net/ipv6/tunnel6.ko
|
||||||
@ -456,15 +456,16 @@ $(eval $(call KernelPackage,iptunnel6))
|
|||||||
define KernelPackage/ipv6
|
define KernelPackage/ipv6
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
TITLE:=IPv6 support
|
TITLE:=IPv6 support
|
||||||
|
DEPENDS:=@IPV6
|
||||||
|
HIDDEN:=1
|
||||||
|
DEFAULT:=y
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_IPV6 \
|
CONFIG_IPV6=y \
|
||||||
CONFIG_IPV6_PRIVACY=y \
|
CONFIG_IPV6_PRIVACY=y \
|
||||||
CONFIG_IPV6_MULTIPLE_TABLES=y \
|
CONFIG_IPV6_MULTIPLE_TABLES=y \
|
||||||
CONFIG_IPV6_MROUTE=y \
|
CONFIG_IPV6_MROUTE=y \
|
||||||
CONFIG_IPV6_PIMSM_V2=n \
|
CONFIG_IPV6_PIMSM_V2=n \
|
||||||
CONFIG_IPV6_SUBTREES=y
|
CONFIG_IPV6_SUBTREES=y
|
||||||
FILES:=$(LINUX_DIR)/net/ipv6/ipv6.ko
|
|
||||||
AUTOLOAD:=$(call AutoLoad,20,ipv6)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/ipv6/description
|
define KernelPackage/ipv6/description
|
||||||
@ -476,7 +477,7 @@ $(eval $(call KernelPackage,ipv6))
|
|||||||
|
|
||||||
define KernelPackage/sit
|
define KernelPackage/sit
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
DEPENDS:=+kmod-ipv6 +kmod-iptunnel +kmod-iptunnel4
|
DEPENDS:=@IPV6 +kmod-iptunnel +kmod-iptunnel4
|
||||||
TITLE:=IPv6-in-IPv4 tunnel
|
TITLE:=IPv6-in-IPv4 tunnel
|
||||||
KCONFIG:=CONFIG_IPV6_SIT \
|
KCONFIG:=CONFIG_IPV6_SIT \
|
||||||
CONFIG_IPV6_SIT_6RD=y
|
CONFIG_IPV6_SIT_6RD=y
|
||||||
@ -494,7 +495,7 @@ $(eval $(call KernelPackage,sit))
|
|||||||
define KernelPackage/ip6-tunnel
|
define KernelPackage/ip6-tunnel
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
TITLE:=IP-in-IPv6 tunnelling
|
TITLE:=IP-in-IPv6 tunnelling
|
||||||
DEPENDS:= +kmod-ipv6 +kmod-iptunnel6
|
DEPENDS:=@IPV6 +kmod-iptunnel6
|
||||||
KCONFIG:= CONFIG_IPV6_TUNNEL
|
KCONFIG:= CONFIG_IPV6_TUNNEL
|
||||||
FILES:=$(LINUX_DIR)/net/ipv6/ip6_tunnel.ko
|
FILES:=$(LINUX_DIR)/net/ipv6/ip6_tunnel.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,32,ip6_tunnel)
|
AUTOLOAD:=$(call AutoLoad,32,ip6_tunnel)
|
||||||
@ -510,7 +511,7 @@ $(eval $(call KernelPackage,ip6-tunnel))
|
|||||||
define KernelPackage/gre
|
define KernelPackage/gre
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
TITLE:=GRE support
|
TITLE:=GRE support
|
||||||
DEPENDS:=+PACKAGE_kmod-ipv6:kmod-ipv6 +kmod-iptunnel
|
DEPENDS:=+kmod-iptunnel
|
||||||
KCONFIG:=CONFIG_NET_IPGRE CONFIG_NET_IPGRE_DEMUX
|
KCONFIG:=CONFIG_NET_IPGRE CONFIG_NET_IPGRE_DEMUX
|
||||||
FILES:=$(LINUX_DIR)/net/ipv4/ip_gre.ko $(LINUX_DIR)/net/ipv4/gre.ko
|
FILES:=$(LINUX_DIR)/net/ipv4/ip_gre.ko $(LINUX_DIR)/net/ipv4/gre.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,39,gre ip_gre)
|
AUTOLOAD:=$(call AutoLoad,39,gre ip_gre)
|
||||||
@ -526,7 +527,7 @@ $(eval $(call KernelPackage,gre))
|
|||||||
define KernelPackage/gre6
|
define KernelPackage/gre6
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
TITLE:=GRE support over IPV6
|
TITLE:=GRE support over IPV6
|
||||||
DEPENDS:=+kmod-ipv6 +kmod-iptunnel +kmod-ip6-tunnel
|
DEPENDS:=@IPV6 +kmod-iptunnel +kmod-ip6-tunnel
|
||||||
KCONFIG:=CONFIG_IPV6_GRE
|
KCONFIG:=CONFIG_IPV6_GRE
|
||||||
FILES:=$(LINUX_DIR)/net/ipv6/ip6_gre.ko
|
FILES:=$(LINUX_DIR)/net/ipv6/ip6_gre.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,39,ip6_gre)
|
AUTOLOAD:=$(call AutoLoad,39,ip6_gre)
|
||||||
@ -862,7 +863,6 @@ define KernelPackage/l2tp
|
|||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
TITLE:=Layer Two Tunneling Protocol (L2TP)
|
TITLE:=Layer Two Tunneling Protocol (L2TP)
|
||||||
DEPENDS:= \
|
DEPENDS:= \
|
||||||
+IPV6:kmod-ipv6 \
|
|
||||||
+kmod-udptunnel4 \
|
+kmod-udptunnel4 \
|
||||||
+IPV6:kmod-udptunnel6
|
+IPV6:kmod-udptunnel6
|
||||||
KCONFIG:=CONFIG_L2TP \
|
KCONFIG:=CONFIG_L2TP \
|
||||||
@ -898,7 +898,7 @@ $(eval $(call KernelPackage,l2tp-eth))
|
|||||||
define KernelPackage/l2tp-ip
|
define KernelPackage/l2tp-ip
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
TITLE:=L2TP IP encapsulation for L2TPv3
|
TITLE:=L2TP IP encapsulation for L2TPv3
|
||||||
DEPENDS:=+kmod-l2tp +IPV6:kmod-ipv6
|
DEPENDS:=+kmod-l2tp
|
||||||
KCONFIG:=CONFIG_L2TP_IP
|
KCONFIG:=CONFIG_L2TP_IP
|
||||||
FILES:= \
|
FILES:= \
|
||||||
$(LINUX_DIR)/net/l2tp/l2tp_ip.ko \
|
$(LINUX_DIR)/net/l2tp/l2tp_ip.ko \
|
||||||
@ -930,7 +930,7 @@ define KernelPackage/sctp
|
|||||||
CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5=y
|
CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5=y
|
||||||
FILES:= $(LINUX_DIR)/net/sctp/sctp.ko
|
FILES:= $(LINUX_DIR)/net/sctp/sctp.ko
|
||||||
AUTOLOAD:= $(call AutoLoad,32,sctp)
|
AUTOLOAD:= $(call AutoLoad,32,sctp)
|
||||||
DEPENDS:=+kmod-lib-crc32c +kmod-crypto-md5 +kmod-crypto-hmac +IPV6:kmod-ipv6
|
DEPENDS:=+kmod-lib-crc32c +kmod-crypto-md5 +kmod-crypto-hmac
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/sctp/description
|
define KernelPackage/sctp/description
|
||||||
|
@ -52,7 +52,6 @@ define Package/dnsmasq-full
|
|||||||
$(call Package/dnsmasq/Default)
|
$(call Package/dnsmasq/Default)
|
||||||
TITLE += (with DNSSEC, DHCPv6, Auth DNS, IPset enabled by default)
|
TITLE += (with DNSSEC, DHCPv6, Auth DNS, IPset enabled by default)
|
||||||
DEPENDS:=+PACKAGE_dnsmasq_full_dnssec:libnettle \
|
DEPENDS:=+PACKAGE_dnsmasq_full_dnssec:libnettle \
|
||||||
+PACKAGE_dnsmasq_full_dhcpv6:kmod-ipv6 \
|
|
||||||
+PACKAGE_dnsmasq_full_ipset:kmod-ipt-ipset
|
+PACKAGE_dnsmasq_full_ipset:kmod-ipt-ipset
|
||||||
VARIANT:=full
|
VARIANT:=full
|
||||||
endef
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user