get rid of cred argument of vfs_open() and do_dentry_open()
[muen/linux.git] / net / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # Makefile for the linux networking.
4 #
5 # 2 Sep 2000, Christoph Hellwig <hch@infradead.org>
6 # Rewritten to use lists instead of if-statements.
7 #
8
9 obj-$(CONFIG_NET)               := socket.o core/
10
11 tmp-$(CONFIG_COMPAT)            := compat.o
12 obj-$(CONFIG_NET)               += $(tmp-y)
13
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/
17 obj-$(CONFIG_NETFILTER)         += netfilter/
18 obj-$(CONFIG_INET)              += ipv4/
19 obj-$(CONFIG_TLS)               += tls/
20 obj-$(CONFIG_XFRM)              += xfrm/
21 obj-$(CONFIG_UNIX)              += unix/
22 obj-$(CONFIG_NET)               += ipv6/
23 ifneq ($(CC_CAN_LINK),y)
24 $(warning CC cannot link executables. Skipping bpfilter.)
25 else
26 obj-$(CONFIG_BPFILTER)          += bpfilter/
27 endif
28 obj-$(CONFIG_PACKET)            += packet/
29 obj-$(CONFIG_NET_KEY)           += key/
30 obj-$(CONFIG_BRIDGE)            += bridge/
31 obj-$(CONFIG_NET_DSA)           += dsa/
32 obj-$(CONFIG_ATALK)             += appletalk/
33 obj-$(CONFIG_X25)               += x25/
34 obj-$(CONFIG_LAPB)              += lapb/
35 obj-$(CONFIG_NETROM)            += netrom/
36 obj-$(CONFIG_ROSE)              += rose/
37 obj-$(CONFIG_AX25)              += ax25/
38 obj-$(CONFIG_CAN)               += can/
39 obj-$(CONFIG_BT)                += bluetooth/
40 obj-$(CONFIG_SUNRPC)            += sunrpc/
41 obj-$(CONFIG_AF_RXRPC)          += rxrpc/
42 obj-$(CONFIG_AF_KCM)            += kcm/
43 obj-$(CONFIG_STREAM_PARSER)     += strparser/
44 obj-$(CONFIG_ATM)               += atm/
45 obj-$(CONFIG_L2TP)              += l2tp/
46 obj-$(CONFIG_DECNET)            += decnet/
47 obj-$(CONFIG_PHONET)            += phonet/
48 ifneq ($(CONFIG_VLAN_8021Q),)
49 obj-y                           += 8021q/
50 endif
51 obj-$(CONFIG_IP_DCCP)           += dccp/
52 obj-$(CONFIG_IP_SCTP)           += sctp/
53 obj-$(CONFIG_RDS)               += rds/
54 obj-$(CONFIG_WIRELESS)          += wireless/
55 obj-$(CONFIG_MAC80211)          += mac80211/
56 obj-$(CONFIG_TIPC)              += tipc/
57 obj-$(CONFIG_NETLABEL)          += netlabel/
58 obj-$(CONFIG_IUCV)              += iucv/
59 obj-$(CONFIG_SMC)               += smc/
60 obj-$(CONFIG_RFKILL)            += rfkill/
61 obj-$(CONFIG_NET_9P)            += 9p/
62 obj-$(CONFIG_CAIF)              += caif/
63 ifneq ($(CONFIG_DCB),)
64 obj-y                           += dcb/
65 endif
66 obj-$(CONFIG_6LOWPAN)           += 6lowpan/
67 obj-$(CONFIG_IEEE802154)        += ieee802154/
68 obj-$(CONFIG_MAC802154)         += mac802154/
69
70 ifeq ($(CONFIG_NET),y)
71 obj-$(CONFIG_SYSCTL)            += sysctl_net.o
72 endif
73 obj-$(CONFIG_WIMAX)             += wimax/
74 obj-$(CONFIG_DNS_RESOLVER)      += dns_resolver/
75 obj-$(CONFIG_CEPH_LIB)          += ceph/
76 obj-$(CONFIG_BATMAN_ADV)        += batman-adv/
77 obj-$(CONFIG_NFC)               += nfc/
78 obj-$(CONFIG_PSAMPLE)           += psample/
79 obj-$(CONFIG_NET_IFE)           += ife/
80 obj-$(CONFIG_OPENVSWITCH)       += openvswitch/
81 obj-$(CONFIG_VSOCKETS)  += vmw_vsock/
82 obj-$(CONFIG_MPLS)              += mpls/
83 obj-$(CONFIG_NET_NSH)           += nsh/
84 obj-$(CONFIG_HSR)               += hsr/
85 ifneq ($(CONFIG_NET_SWITCHDEV),)
86 obj-y                           += switchdev/
87 endif
88 ifneq ($(CONFIG_NET_L3_MASTER_DEV),)
89 obj-y                           += l3mdev/
90 endif
91 obj-$(CONFIG_QRTR)              += qrtr/
92 obj-$(CONFIG_NET_NCSI)          += ncsi/
93 obj-$(CONFIG_XDP_SOCKETS)       += xdp/