2005-04-16 22:20:36 +00:00
|
|
|
#
|
|
|
|
# Makefile for the Linux TCP/IP (INET6) layer.
|
|
|
|
#
|
|
|
|
|
|
|
|
obj-$(CONFIG_IPV6) += ipv6.o
|
|
|
|
|
2006-10-10 21:47:44 +00:00
|
|
|
ipv6-objs := af_inet6.o anycast.o ip6_output.o ip6_input.o addrconf.o \
|
2007-11-14 06:56:23 +00:00
|
|
|
addrlabel.o \
|
2008-03-07 00:22:02 +00:00
|
|
|
route.o ip6_fib.o ipv6_sockglue.o ndisc.o udp.o udplite.o \
|
2013-05-22 20:17:31 +00:00
|
|
|
raw.o icmp.o mcast.o reassembly.o tcp_ipv6.o ping.o \
|
2016-04-05 15:22:51 +00:00
|
|
|
exthdrs.o datagram.o ip6_flowlabel.o inet6_connection_sock.o \
|
2017-08-03 11:28:16 +00:00
|
|
|
udp_offload.o seg6.o fib6_notifier.o
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2016-04-05 15:22:51 +00:00
|
|
|
ipv6-offload := ip6_offload.o tcpv6_offload.o exthdrs_offload.o
|
2012-11-15 08:49:16 +00:00
|
|
|
|
2007-12-05 09:43:25 +00:00
|
|
|
ipv6-$(CONFIG_SYSCTL) = sysctl_net_ipv6.o
|
2008-04-03 00:22:53 +00:00
|
|
|
ipv6-$(CONFIG_IPV6_MROUTE) += ip6mr.o
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
ipv6-$(CONFIG_XFRM) += xfrm6_policy.o xfrm6_state.o xfrm6_input.o \
|
2014-03-14 06:28:07 +00:00
|
|
|
xfrm6_output.o xfrm6_protocol.o
|
2006-01-11 05:02:21 +00:00
|
|
|
ipv6-$(CONFIG_NETFILTER) += netfilter.o
|
2006-08-04 10:39:02 +00:00
|
|
|
ipv6-$(CONFIG_IPV6_MULTIPLE_TABLES) += fib6_rules.o
|
2007-04-25 05:15:40 +00:00
|
|
|
ipv6-$(CONFIG_PROC_FS) += proc.o
|
2008-02-08 05:49:26 +00:00
|
|
|
ipv6-$(CONFIG_SYN_COOKIES) += syncookies.o
|
2016-06-27 19:02:46 +00:00
|
|
|
ipv6-$(CONFIG_NETLABEL) += calipso.o
|
2017-08-05 10:38:26 +00:00
|
|
|
ipv6-$(CONFIG_IPV6_SEG6_LWTUNNEL) += seg6_iptunnel.o seg6_local.o
|
2016-11-15 15:14:04 +00:00
|
|
|
ipv6-$(CONFIG_IPV6_SEG6_HMAC) += seg6_hmac.o
|
2006-08-24 03:31:11 +00:00
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
ipv6-objs += $(ipv6-y)
|
|
|
|
|
|
|
|
obj-$(CONFIG_INET6_AH) += ah6.o
|
|
|
|
obj-$(CONFIG_INET6_ESP) += esp6.o
|
2017-02-15 08:40:00 +00:00
|
|
|
obj-$(CONFIG_INET6_ESP_OFFLOAD) += esp6_offload.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_INET6_IPCOMP) += ipcomp6.o
|
2006-03-28 09:12:13 +00:00
|
|
|
obj-$(CONFIG_INET6_XFRM_TUNNEL) += xfrm6_tunnel.o
|
|
|
|
obj-$(CONFIG_INET6_TUNNEL) += tunnel6.o
|
2006-05-28 06:05:54 +00:00
|
|
|
obj-$(CONFIG_INET6_XFRM_MODE_TRANSPORT) += xfrm6_mode_transport.o
|
|
|
|
obj-$(CONFIG_INET6_XFRM_MODE_TUNNEL) += xfrm6_mode_tunnel.o
|
2006-08-24 00:59:44 +00:00
|
|
|
obj-$(CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION) += xfrm6_mode_ro.o
|
2006-10-04 06:47:05 +00:00
|
|
|
obj-$(CONFIG_INET6_XFRM_MODE_BEET) += xfrm6_mode_beet.o
|
2007-06-27 06:56:32 +00:00
|
|
|
obj-$(CONFIG_IPV6_MIP6) += mip6.o
|
2015-12-15 23:41:35 +00:00
|
|
|
obj-$(CONFIG_IPV6_ILA) += ila/
|
2006-01-11 05:02:21 +00:00
|
|
|
obj-$(CONFIG_NETFILTER) += netfilter/
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2013-08-19 06:07:34 +00:00
|
|
|
obj-$(CONFIG_IPV6_VTI) += ip6_vti.o
|
2006-10-10 21:47:44 +00:00
|
|
|
obj-$(CONFIG_IPV6_SIT) += sit.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_IPV6_TUNNEL) += ip6_tunnel.o
|
2012-08-10 00:51:50 +00:00
|
|
|
obj-$(CONFIG_IPV6_GRE) += ip6_gre.o
|
fou: fix IPv6 Kconfig options
The Kconfig options I added to work around broken compilation ended
up screwing up things more, as I used the wrong symbol to control
compilation of the file, resulting in IPv6 fou support to never be built
into the kernel.
Changing CONFIG_NET_FOU_IPV6_TUNNELS to CONFIG_IPV6_FOU fixes that
problem, I had renamed the symbol in one location but not the other,
and as the file is never being used by other kernel code, this did not
lead to a build failure that I would have caught.
After that fix, another issue with the same patch becomes obvious, as we
'select INET6_TUNNEL', which is related to IPV6_TUNNEL, but not the same,
and this can still cause the original build failure when IPV6_TUNNEL is
not built-in but IPV6_FOU is. The fix is equally trivial, we just need
to select the right symbol.
I have successfully build 350 randconfig kernels with this patch
and verified that the driver is now being built.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reported-by: Valentin Rothberg <valentinrothberg@gmail.com>
Fixes: fabb13db448e ("fou: add Kconfig options for IPv6 support")
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-31 20:42:11 +00:00
|
|
|
obj-$(CONFIG_IPV6_FOU) += fou6.o
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2013-04-25 11:08:30 +00:00
|
|
|
obj-y += addrconf_core.o exthdrs_core.o ip6_checksum.o ip6_icmp.o
|
2012-12-16 06:47:50 +00:00
|
|
|
obj-$(CONFIG_INET) += output_core.o protocol.o $(ipv6-offload)
|
2005-08-12 12:26:18 +00:00
|
|
|
|
|
|
|
obj-$(subst m,y,$(CONFIG_IPV6)) += inet6_hashtables.o
|
2014-09-20 01:02:53 +00:00
|
|
|
|
|
|
|
ifneq ($(CONFIG_IPV6),)
|
|
|
|
obj-$(CONFIG_NET_UDP_TUNNEL) += ip6_udp_tunnel.o
|
2015-05-02 12:01:07 +00:00
|
|
|
obj-y += mcast_snoop.o
|
2014-09-20 01:02:53 +00:00
|
|
|
endif
|