xref: /openbmc/linux/net/ipv6/Makefile (revision 03ab8e6297acd1bc0eedaa050e2a1635c576fd11)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for the Linux TCP/IP (INET6) layer.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
61da177e4SLinus Torvaldsobj-$(CONFIG_IPV6) += ipv6.o
71da177e4SLinus Torvalds
8*1817750bSMasahiro Yamadaipv6-y :=	af_inet6.o anycast.o ip6_output.o ip6_input.o addrconf.o \
92a8cc6c8SYOSHIFUJI Hideaki		addrlabel.o \
10db8dac20SDavid S. Miller		route.o ip6_fib.o ipv6_sockglue.o ndisc.o udp.o udplite.o \
116d0bfe22SLorenzo Colitti		raw.o icmp.o mcast.o reassembly.o tcp_ipv6.o ping.o \
12a6024562STom Herbert		exthdrs.o datagram.o ip6_flowlabel.o inet6_connection_sock.o \
139ee11f0fSJustin Iurman		udp_offload.o seg6.o fib6_notifier.o rpl.o ioam6.o
141da177e4SLinus Torvalds
15*1817750bSMasahiro Yamadaipv6-$(CONFIG_SYSCTL) += sysctl_net_ipv6.o
167bc570c8SYOSHIFUJI Hideakiipv6-$(CONFIG_IPV6_MROUTE) += ip6mr.o
177bc570c8SYOSHIFUJI Hideaki
181da177e4SLinus Torvaldsipv6-$(CONFIG_XFRM) += xfrm6_policy.o xfrm6_state.o xfrm6_input.o \
197e14ea15SSteffen Klassert	xfrm6_output.o xfrm6_protocol.o
205bf887f2SDavid S. Milleripv6-$(CONFIG_NETFILTER) += netfilter.o
21101367c2SThomas Grafipv6-$(CONFIG_IPV6_MULTIPLE_TABLES) += fib6_rules.o
2230041e4aSDavid S. Milleripv6-$(CONFIG_PROC_FS) += proc.o
23c6aefafbSGlenn Griffinipv6-$(CONFIG_SYN_COOKIES) += syncookies.o
24cb72d382SHuw Daviesipv6-$(CONFIG_NETLABEL) += calipso.o
25d1df6fd8SDavid Lebrunipv6-$(CONFIG_IPV6_SEG6_LWTUNNEL) += seg6_iptunnel.o seg6_local.o
2646738b13SDavid Lebrunipv6-$(CONFIG_IPV6_SEG6_HMAC) += seg6_hmac.o
27a7a29f9cSAlexander Aringipv6-$(CONFIG_IPV6_RPL_LWTUNNEL) += rpl_iptunnel.o
283edede08SJustin Iurmanipv6-$(CONFIG_IPV6_IOAM6_LWTUNNEL) += ioam6_iptunnel.o
292c8d7ca0SNoriaki TAKAMIYA
301da177e4SLinus Torvaldsobj-$(CONFIG_INET6_AH) += ah6.o
311da177e4SLinus Torvaldsobj-$(CONFIG_INET6_ESP) += esp6.o
327785bba2SSteffen Klassertobj-$(CONFIG_INET6_ESP_OFFLOAD) += esp6_offload.o
331da177e4SLinus Torvaldsobj-$(CONFIG_INET6_IPCOMP) += ipcomp6.o
34d2acc347SHerbert Xuobj-$(CONFIG_INET6_XFRM_TUNNEL) += xfrm6_tunnel.o
35d2acc347SHerbert Xuobj-$(CONFIG_INET6_TUNNEL) += tunnel6.o
3659fbb3a6SMasahide NAKAMURAobj-$(CONFIG_IPV6_MIP6) += mip6.o
3733f11d16STom Herbertobj-$(CONFIG_IPV6_ILA) += ila/
385bf887f2SDavid S. Millerobj-$(CONFIG_NETFILTER)	+= netfilter/
391da177e4SLinus Torvalds
40ed1efb2aSSteffen Klassertobj-$(CONFIG_IPV6_VTI) += ip6_vti.o
41989e5b96SJoerg Roedelobj-$(CONFIG_IPV6_SIT) += sit.o
421da177e4SLinus Torvaldsobj-$(CONFIG_IPV6_TUNNEL) += ip6_tunnel.o
43c12b395aSxeb@mail.ruobj-$(CONFIG_IPV6_GRE) += ip6_gre.o
4495e4daa8SArnd Bergmannobj-$(CONFIG_IPV6_FOU) += fou6.o
451da177e4SLinus Torvalds
465f5624cfSPravin B Shelarobj-y += addrconf_core.o exthdrs_core.o ip6_checksum.o ip6_icmp.o
479a121384SMasahiro Yamadaobj-$(CONFIG_INET) += output_core.o protocol.o \
489a121384SMasahiro Yamada			ip6_offload.o tcpv6_offload.o exthdrs_offload.o
495324a040SArnaldo Carvalho de Melo
505324a040SArnaldo Carvalho de Meloobj-$(subst m,y,$(CONFIG_IPV6)) += inet6_hashtables.o
516d967f87SAndy Zhou
526d967f87SAndy Zhouifneq ($(CONFIG_IPV6),)
536d967f87SAndy Zhouobj-$(CONFIG_NET_UDP_TUNNEL) += ip6_udp_tunnel.o
549afd85c9SLinus Lüssingobj-y += mcast_snoop.o
556d967f87SAndy Zhouendif
56