Makefile 2.4 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
Linus Torvalds's avatar
Linus Torvalds committed
2 3 4 5 6 7 8
#
# Makefile for the linux networking.
#
# 2 Sep 2000, Christoph Hellwig <hch@infradead.org>
# Rewritten to use lists instead of if-statements.
#

9
obj-y				:= devres.o socket.o core/
Linus Torvalds's avatar
Linus Torvalds committed
10

11
obj-$(CONFIG_COMPAT)		+= compat.o
Linus Torvalds's avatar
Linus Torvalds committed
12 13 14

# LLC has to be linked before the files in net/802/
obj-$(CONFIG_LLC)		+= llc/
15
obj-y				+= ethernet/ 802/ sched/ netlink/ bpf/ ethtool/
16
obj-$(CONFIG_NETFILTER)		+= netfilter/
17
obj-$(CONFIG_INET)		+= ipv4/
Dave Watson's avatar
Dave Watson committed
18
obj-$(CONFIG_TLS)		+= tls/
Linus Torvalds's avatar
Linus Torvalds committed
19
obj-$(CONFIG_XFRM)		+= xfrm/
20
obj-$(CONFIG_UNIX_SCM)		+= unix/
21
obj-y				+= ipv6/
22
obj-$(CONFIG_BPFILTER)		+= bpfilter/
Linus Torvalds's avatar
Linus Torvalds committed
23 24 25
obj-$(CONFIG_PACKET)		+= packet/
obj-$(CONFIG_NET_KEY)		+= key/
obj-$(CONFIG_BRIDGE)		+= bridge/
26
obj-$(CONFIG_NET_DSA)		+= dsa/
Linus Torvalds's avatar
Linus Torvalds committed
27 28 29 30 31 32
obj-$(CONFIG_ATALK)		+= appletalk/
obj-$(CONFIG_X25)		+= x25/
obj-$(CONFIG_LAPB)		+= lapb/
obj-$(CONFIG_NETROM)		+= netrom/
obj-$(CONFIG_ROSE)		+= rose/
obj-$(CONFIG_AX25)		+= ax25/
33
obj-$(CONFIG_CAN)		+= can/
Linus Torvalds's avatar
Linus Torvalds committed
34 35
obj-$(CONFIG_BT)		+= bluetooth/
obj-$(CONFIG_SUNRPC)		+= sunrpc/
36
obj-$(CONFIG_AF_RXRPC)		+= rxrpc/
37
obj-$(CONFIG_AF_KCM)		+= kcm/
38
obj-$(CONFIG_STREAM_PARSER)	+= strparser/
Linus Torvalds's avatar
Linus Torvalds committed
39
obj-$(CONFIG_ATM)		+= atm/
40
obj-$(CONFIG_L2TP)		+= l2tp/
Linus Torvalds's avatar
Linus Torvalds committed
41
obj-$(CONFIG_DECNET)		+= decnet/
42
obj-$(CONFIG_PHONET)		+= phonet/
43 44 45
ifneq ($(CONFIG_VLAN_8021Q),)
obj-y				+= 8021q/
endif
46
obj-$(CONFIG_IP_DCCP)		+= dccp/
Linus Torvalds's avatar
Linus Torvalds committed
47
obj-$(CONFIG_IP_SCTP)		+= sctp/
Andy Grover's avatar
Andy Grover committed
48
obj-$(CONFIG_RDS)		+= rds/
49
obj-$(CONFIG_WIRELESS)		+= wireless/
50
obj-$(CONFIG_MAC80211)		+= mac80211/
Per Liden's avatar
Per Liden committed
51
obj-$(CONFIG_TIPC)		+= tipc/
52
obj-$(CONFIG_NETLABEL)		+= netlabel/
53
obj-$(CONFIG_IUCV)		+= iucv/
54
obj-$(CONFIG_SMC)		+= smc/
55
obj-$(CONFIG_RFKILL)		+= rfkill/
56
obj-$(CONFIG_NET_9P)		+= 9p/
57
obj-$(CONFIG_CAIF)		+= caif/
58
obj-$(CONFIG_DCB)		+= dcb/
59 60
obj-$(CONFIG_6LOWPAN)		+= 6lowpan/
obj-$(CONFIG_IEEE802154)	+= ieee802154/
61
obj-$(CONFIG_MAC802154)		+= mac802154/
Linus Torvalds's avatar
Linus Torvalds committed
62 63

obj-$(CONFIG_SYSCTL)		+= sysctl_net.o
64
obj-$(CONFIG_DNS_RESOLVER)	+= dns_resolver/
65
obj-$(CONFIG_CEPH_LIB)		+= ceph/
66
obj-$(CONFIG_BATMAN_ADV)	+= batman-adv/
67
obj-$(CONFIG_NFC)		+= nfc/
68
obj-$(CONFIG_PSAMPLE)		+= psample/
69
obj-$(CONFIG_NET_IFE)		+= ife/
70
obj-$(CONFIG_OPENVSWITCH)	+= openvswitch/
Andy King's avatar
Andy King committed
71
obj-$(CONFIG_VSOCKETS)	+= vmw_vsock/
72
obj-$(CONFIG_MPLS)		+= mpls/
Jiri Benc's avatar
Jiri Benc committed
73
obj-$(CONFIG_NET_NSH)		+= nsh/
74
obj-$(CONFIG_HSR)		+= hsr/
75
obj-$(CONFIG_NET_SWITCHDEV)	+= switchdev/
76 77 78
ifneq ($(CONFIG_NET_L3_MASTER_DEV),)
obj-y				+= l3mdev/
endif
79
obj-$(CONFIG_QRTR)		+= qrtr/
Gavin Shan's avatar
Gavin Shan committed
80
obj-$(CONFIG_NET_NCSI)		+= ncsi/
81
obj-$(CONFIG_XDP_SOCKETS)	+= xdp/
82
obj-$(CONFIG_MPTCP)		+= mptcp/