Makefile 2.5 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
L
Linus Torvalds 已提交
2 3 4 5 6 7 8 9 10 11 12 13 14 15
#
# Makefile for the linux networking.
#
# 2 Sep 2000, Christoph Hellwig <hch@infradead.org>
# Rewritten to use lists instead of if-statements.
#

obj-$(CONFIG_NET)		:= socket.o core/

tmp-$(CONFIG_COMPAT) 		:= compat.o
obj-$(CONFIG_NET)		+= $(tmp-y)

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

ifeq ($(CONFIG_NET),y)
obj-$(CONFIG_SYSCTL)		+= sysctl_net.o
endif
69
obj-$(CONFIG_WIMAX)		+= wimax/
70
obj-$(CONFIG_DNS_RESOLVER)	+= dns_resolver/
71
obj-$(CONFIG_CEPH_LIB)		+= ceph/
72
obj-$(CONFIG_BATMAN_ADV)	+= batman-adv/
73
obj-$(CONFIG_NFC)		+= nfc/
74
obj-$(CONFIG_PSAMPLE)		+= psample/
75
obj-$(CONFIG_NET_IFE)		+= ife/
76
obj-$(CONFIG_OPENVSWITCH)	+= openvswitch/
A
Andy King 已提交
77
obj-$(CONFIG_VSOCKETS)	+= vmw_vsock/
78
obj-$(CONFIG_MPLS)		+= mpls/
J
Jiri Benc 已提交
79
obj-$(CONFIG_NET_NSH)		+= nsh/
80
obj-$(CONFIG_HSR)		+= hsr/
81 82 83
ifneq ($(CONFIG_NET_SWITCHDEV),)
obj-y				+= switchdev/
endif
84 85 86
ifneq ($(CONFIG_NET_L3_MASTER_DEV),)
obj-y				+= l3mdev/
endif
C
Courtney Cavin 已提交
87
obj-$(CONFIG_QRTR)		+= qrtr/
G
Gavin Shan 已提交
88
obj-$(CONFIG_NET_NCSI)		+= ncsi/
89
obj-$(CONFIG_XDP_SOCKETS)	+= xdp/
90
obj-$(CONFIG_HOOKERS)		+= hookers/