]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - net/Makefile
Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm
[mirror_ubuntu-jammy-kernel.git] / net / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
1da177e4
LT
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
1da177e4
LT
9obj-$(CONFIG_NET) := socket.o core/
10
11tmp-$(CONFIG_COMPAT) := compat.o
12obj-$(CONFIG_NET) += $(tmp-y)
13
14# LLC has to be linked before the files in net/802/
15obj-$(CONFIG_LLC) += llc/
9ce48e5a 16obj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/ bpf/ ethtool/
f9e815b3 17obj-$(CONFIG_NETFILTER) += netfilter/
47d4305b 18obj-$(CONFIG_INET) += ipv4/
3c4d7559 19obj-$(CONFIG_TLS) += tls/
1da177e4 20obj-$(CONFIG_XFRM) += xfrm/
f4e65870 21obj-$(CONFIG_UNIX_SCM) += unix/
2ea6d8c4 22obj-$(CONFIG_NET) += ipv6/
d2ba09c1 23obj-$(CONFIG_BPFILTER) += bpfilter/
1da177e4
LT
24obj-$(CONFIG_PACKET) += packet/
25obj-$(CONFIG_NET_KEY) += key/
1da177e4 26obj-$(CONFIG_BRIDGE) += bridge/
91da11f8 27obj-$(CONFIG_NET_DSA) += dsa/
1da177e4 28obj-$(CONFIG_ATALK) += appletalk/
1da177e4
LT
29obj-$(CONFIG_X25) += x25/
30obj-$(CONFIG_LAPB) += lapb/
31obj-$(CONFIG_NETROM) += netrom/
32obj-$(CONFIG_ROSE) += rose/
33obj-$(CONFIG_AX25) += ax25/
0d66548a 34obj-$(CONFIG_CAN) += can/
1da177e4
LT
35obj-$(CONFIG_BT) += bluetooth/
36obj-$(CONFIG_SUNRPC) += sunrpc/
17926a79 37obj-$(CONFIG_AF_RXRPC) += rxrpc/
ab7ac4eb 38obj-$(CONFIG_AF_KCM) += kcm/
43a0c675 39obj-$(CONFIG_STREAM_PARSER) += strparser/
1da177e4 40obj-$(CONFIG_ATM) += atm/
fd558d18 41obj-$(CONFIG_L2TP) += l2tp/
1da177e4 42obj-$(CONFIG_DECNET) += decnet/
8ead536d 43obj-$(CONFIG_PHONET) += phonet/
7750f403
PM
44ifneq ($(CONFIG_VLAN_8021Q),)
45obj-y += 8021q/
46endif
7c657876 47obj-$(CONFIG_IP_DCCP) += dccp/
1da177e4 48obj-$(CONFIG_IP_SCTP) += sctp/
fe17f84f 49obj-$(CONFIG_RDS) += rds/
d1e31689 50obj-$(CONFIG_WIRELESS) += wireless/
f0706e82 51obj-$(CONFIG_MAC80211) += mac80211/
b97bf3fd 52obj-$(CONFIG_TIPC) += tipc/
d15c345f 53obj-$(CONFIG_NETLABEL) += netlabel/
2356f4cb 54obj-$(CONFIG_IUCV) += iucv/
ac713874 55obj-$(CONFIG_SMC) += smc/
cf4328cd 56obj-$(CONFIG_RFKILL) += rfkill/
bd238fb4 57obj-$(CONFIG_NET_9P) += 9p/
3908c690 58obj-$(CONFIG_CAIF) += caif/
7a6b6f51
JK
59ifneq ($(CONFIG_DCB),)
60obj-y += dcb/
2f90b865 61endif
2c6bed7c
AA
62obj-$(CONFIG_6LOWPAN) += 6lowpan/
63obj-$(CONFIG_IEEE802154) += ieee802154/
1010f540 64obj-$(CONFIG_MAC802154) += mac802154/
1da177e4
LT
65
66ifeq ($(CONFIG_NET),y)
67obj-$(CONFIG_SYSCTL) += sysctl_net.o
68endif
b0c83ae1 69obj-$(CONFIG_WIMAX) += wimax/
1a4240f4 70obj-$(CONFIG_DNS_RESOLVER) += dns_resolver/
3d14c5d2 71obj-$(CONFIG_CEPH_LIB) += ceph/
c6c8fea2 72obj-$(CONFIG_BATMAN_ADV) += batman-adv/
3e256b8f 73obj-$(CONFIG_NFC) += nfc/
6ae0a628 74obj-$(CONFIG_PSAMPLE) += psample/
1ce84604 75obj-$(CONFIG_NET_IFE) += ife/
ccb1352e 76obj-$(CONFIG_OPENVSWITCH) += openvswitch/
d021c344 77obj-$(CONFIG_VSOCKETS) += vmw_vsock/
cec9166c 78obj-$(CONFIG_MPLS) += mpls/
c411ed85 79obj-$(CONFIG_NET_NSH) += nsh/
f421436a 80obj-$(CONFIG_HSR) += hsr/
007f790c
JP
81ifneq ($(CONFIG_NET_SWITCHDEV),)
82obj-y += switchdev/
83endif
1b69c6d0
DA
84ifneq ($(CONFIG_NET_L3_MASTER_DEV),)
85obj-y += l3mdev/
86endif
bdabad3e 87obj-$(CONFIG_QRTR) += qrtr/
2d283bdd 88obj-$(CONFIG_NET_NCSI) += ncsi/
c0c77d8f 89obj-$(CONFIG_XDP_SOCKETS) += xdp/
f870fa0b 90obj-$(CONFIG_MPTCP) += mptcp/