Merge 5.6-rc3 into tty-next
[linux/fpc-iii.git] / net / Makefile
blob07ea48160874719ea90de3448df56941ee8645b4
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the linux networking.
5 # 2 Sep 2000, Christoph Hellwig <hch@infradead.org>
6 # Rewritten to use lists instead of if-statements.
9 obj-$(CONFIG_NET) := socket.o core/
11 tmp-$(CONFIG_COMPAT) := compat.o
12 obj-$(CONFIG_NET) += $(tmp-y)
14 # LLC has to be linked before the files in net/802/
15 obj-$(CONFIG_LLC) += llc/
16 obj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/ bpf/ ethtool/
17 obj-$(CONFIG_NETFILTER) += netfilter/
18 obj-$(CONFIG_INET) += ipv4/
19 obj-$(CONFIG_TLS) += tls/
20 obj-$(CONFIG_XFRM) += xfrm/
21 obj-$(CONFIG_UNIX_SCM) += unix/
22 obj-$(CONFIG_NET) += ipv6/
23 obj-$(CONFIG_BPFILTER) += bpfilter/
24 obj-$(CONFIG_PACKET) += packet/
25 obj-$(CONFIG_NET_KEY) += key/
26 obj-$(CONFIG_BRIDGE) += bridge/
27 obj-$(CONFIG_NET_DSA) += dsa/
28 obj-$(CONFIG_ATALK) += appletalk/
29 obj-$(CONFIG_X25) += x25/
30 obj-$(CONFIG_LAPB) += lapb/
31 obj-$(CONFIG_NETROM) += netrom/
32 obj-$(CONFIG_ROSE) += rose/
33 obj-$(CONFIG_AX25) += ax25/
34 obj-$(CONFIG_CAN) += can/
35 obj-$(CONFIG_BT) += bluetooth/
36 obj-$(CONFIG_SUNRPC) += sunrpc/
37 obj-$(CONFIG_AF_RXRPC) += rxrpc/
38 obj-$(CONFIG_AF_KCM) += kcm/
39 obj-$(CONFIG_STREAM_PARSER) += strparser/
40 obj-$(CONFIG_ATM) += atm/
41 obj-$(CONFIG_L2TP) += l2tp/
42 obj-$(CONFIG_DECNET) += decnet/
43 obj-$(CONFIG_PHONET) += phonet/
44 ifneq ($(CONFIG_VLAN_8021Q),)
45 obj-y += 8021q/
46 endif
47 obj-$(CONFIG_IP_DCCP) += dccp/
48 obj-$(CONFIG_IP_SCTP) += sctp/
49 obj-$(CONFIG_RDS) += rds/
50 obj-$(CONFIG_WIRELESS) += wireless/
51 obj-$(CONFIG_MAC80211) += mac80211/
52 obj-$(CONFIG_TIPC) += tipc/
53 obj-$(CONFIG_NETLABEL) += netlabel/
54 obj-$(CONFIG_IUCV) += iucv/
55 obj-$(CONFIG_SMC) += smc/
56 obj-$(CONFIG_RFKILL) += rfkill/
57 obj-$(CONFIG_NET_9P) += 9p/
58 obj-$(CONFIG_CAIF) += caif/
59 ifneq ($(CONFIG_DCB),)
60 obj-y += dcb/
61 endif
62 obj-$(CONFIG_6LOWPAN) += 6lowpan/
63 obj-$(CONFIG_IEEE802154) += ieee802154/
64 obj-$(CONFIG_MAC802154) += mac802154/
66 ifeq ($(CONFIG_NET),y)
67 obj-$(CONFIG_SYSCTL) += sysctl_net.o
68 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/
77 obj-$(CONFIG_VSOCKETS) += vmw_vsock/
78 obj-$(CONFIG_MPLS) += mpls/
79 obj-$(CONFIG_NET_NSH) += nsh/
80 obj-$(CONFIG_HSR) += hsr/
81 ifneq ($(CONFIG_NET_SWITCHDEV),)
82 obj-y += switchdev/
83 endif
84 ifneq ($(CONFIG_NET_L3_MASTER_DEV),)
85 obj-y += l3mdev/
86 endif
87 obj-$(CONFIG_QRTR) += qrtr/
88 obj-$(CONFIG_NET_NCSI) += ncsi/
89 obj-$(CONFIG_XDP_SOCKETS) += xdp/
90 obj-$(CONFIG_MPTCP) += mptcp/