162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Makefile for the linux networking.
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci# 2 Sep 2000, Christoph Hellwig <hch@infradead.org>
662306a36Sopenharmony_ci# Rewritten to use lists instead of if-statements.
762306a36Sopenharmony_ci#
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciobj-y				:= devres.o socket.o core/
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciobj-$(CONFIG_COMPAT)		+= compat.o
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci# LLC has to be linked before the files in net/802/
1462306a36Sopenharmony_ciobj-$(CONFIG_LLC)		+= llc/
1562306a36Sopenharmony_ciobj-y				+= ethernet/ 802/ sched/ netlink/ bpf/ ethtool/
1662306a36Sopenharmony_ciobj-$(CONFIG_NETFILTER)		+= netfilter/
1762306a36Sopenharmony_ciobj-$(CONFIG_INET)		+= ipv4/
1862306a36Sopenharmony_ciobj-$(CONFIG_TLS)		+= tls/
1962306a36Sopenharmony_ciobj-$(CONFIG_XFRM)		+= xfrm/
2062306a36Sopenharmony_ciobj-$(CONFIG_UNIX_SCM)		+= unix/
2162306a36Sopenharmony_ciobj-y				+= ipv6/
2262306a36Sopenharmony_ciobj-$(CONFIG_BPFILTER)		+= bpfilter/
2362306a36Sopenharmony_ciobj-$(CONFIG_PACKET)		+= packet/
2462306a36Sopenharmony_ciobj-$(CONFIG_NET_KEY)		+= key/
2562306a36Sopenharmony_ciobj-$(CONFIG_BRIDGE)		+= bridge/
2662306a36Sopenharmony_ciobj-$(CONFIG_NET_DEVLINK)	+= devlink/
2762306a36Sopenharmony_ciobj-y				+= dsa/
2862306a36Sopenharmony_ciobj-$(CONFIG_ATALK)		+= appletalk/
2962306a36Sopenharmony_ciobj-$(CONFIG_X25)		+= x25/
3062306a36Sopenharmony_ciobj-$(CONFIG_LAPB)		+= lapb/
3162306a36Sopenharmony_ciobj-$(CONFIG_NETROM)		+= netrom/
3262306a36Sopenharmony_ciobj-$(CONFIG_ROSE)		+= rose/
3362306a36Sopenharmony_ciobj-$(CONFIG_AX25)		+= ax25/
3462306a36Sopenharmony_ciobj-$(CONFIG_CAN)		+= can/
3562306a36Sopenharmony_ciobj-$(CONFIG_BT)		+= bluetooth/
3662306a36Sopenharmony_ciobj-$(CONFIG_SUNRPC)		+= sunrpc/
3762306a36Sopenharmony_ciobj-$(CONFIG_AF_RXRPC)		+= rxrpc/
3862306a36Sopenharmony_ciobj-$(CONFIG_AF_KCM)		+= kcm/
3962306a36Sopenharmony_ciobj-$(CONFIG_STREAM_PARSER)	+= strparser/
4062306a36Sopenharmony_ciobj-$(CONFIG_ATM)		+= atm/
4162306a36Sopenharmony_ciobj-$(CONFIG_L2TP)		+= l2tp/
4262306a36Sopenharmony_ciobj-$(CONFIG_PHONET)		+= phonet/
4362306a36Sopenharmony_ciifneq ($(CONFIG_VLAN_8021Q),)
4462306a36Sopenharmony_ciobj-y				+= 8021q/
4562306a36Sopenharmony_ciendif
4662306a36Sopenharmony_ciobj-$(CONFIG_IP_DCCP)		+= dccp/
4762306a36Sopenharmony_ciobj-$(CONFIG_IP_SCTP)		+= sctp/
4862306a36Sopenharmony_ciobj-$(CONFIG_RDS)		+= rds/
4962306a36Sopenharmony_ciobj-$(CONFIG_WIRELESS)		+= wireless/
5062306a36Sopenharmony_ciobj-$(CONFIG_MAC80211)		+= mac80211/
5162306a36Sopenharmony_ciobj-$(CONFIG_TIPC)		+= tipc/
5262306a36Sopenharmony_ciobj-$(CONFIG_NETLABEL)		+= netlabel/
5362306a36Sopenharmony_ciobj-$(CONFIG_IUCV)		+= iucv/
5462306a36Sopenharmony_ciobj-$(CONFIG_SMC)		+= smc/
5562306a36Sopenharmony_ciobj-$(CONFIG_RFKILL)		+= rfkill/
5662306a36Sopenharmony_ciobj-$(CONFIG_NET_9P)		+= 9p/
5762306a36Sopenharmony_ciobj-$(CONFIG_CAIF)		+= caif/
5862306a36Sopenharmony_ciobj-$(CONFIG_DCB)		+= dcb/
5962306a36Sopenharmony_ciobj-$(CONFIG_6LOWPAN)		+= 6lowpan/
6062306a36Sopenharmony_ciobj-$(CONFIG_IEEE802154)	+= ieee802154/
6162306a36Sopenharmony_ciobj-$(CONFIG_MAC802154)		+= mac802154/
6262306a36Sopenharmony_ci
6362306a36Sopenharmony_ciobj-$(CONFIG_SYSCTL)		+= sysctl_net.o
6462306a36Sopenharmony_ciobj-$(CONFIG_DNS_RESOLVER)	+= dns_resolver/
6562306a36Sopenharmony_ciobj-$(CONFIG_CEPH_LIB)		+= ceph/
6662306a36Sopenharmony_ciobj-$(CONFIG_BATMAN_ADV)	+= batman-adv/
6762306a36Sopenharmony_ciobj-$(CONFIG_NFC)		+= nfc/
6862306a36Sopenharmony_ciobj-$(CONFIG_PSAMPLE)		+= psample/
6962306a36Sopenharmony_ciobj-$(CONFIG_NET_IFE)		+= ife/
7062306a36Sopenharmony_ciobj-$(CONFIG_OPENVSWITCH)	+= openvswitch/
7162306a36Sopenharmony_ciobj-$(CONFIG_VSOCKETS)	+= vmw_vsock/
7262306a36Sopenharmony_ciobj-$(CONFIG_MPLS)		+= mpls/
7362306a36Sopenharmony_ciobj-$(CONFIG_NET_NSH)		+= nsh/
7462306a36Sopenharmony_ciobj-$(CONFIG_HSR)		+= hsr/
7562306a36Sopenharmony_ciobj-$(CONFIG_NET_SWITCHDEV)	+= switchdev/
7662306a36Sopenharmony_ciobj-$(CONFIG_NET_L3_MASTER_DEV)	+= l3mdev/
7762306a36Sopenharmony_ciobj-$(CONFIG_QRTR)		+= qrtr/
7862306a36Sopenharmony_ciobj-$(CONFIG_NET_NCSI)		+= ncsi/
7962306a36Sopenharmony_ciobj-$(CONFIG_XDP_SOCKETS)	+= xdp/
8062306a36Sopenharmony_ciobj-$(CONFIG_MPTCP)		+= mptcp/
8162306a36Sopenharmony_ciobj-$(CONFIG_MCTP)		+= mctp/
8262306a36Sopenharmony_ciobj-$(CONFIG_NET_HANDSHAKE)	+= handshake/
83