blob: fbfeb8a0bb379594cfd9d4e4a3bfd314c997c39d [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
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
Masahiro Yamada8b5f4eb2021-01-26 08:16:55 +09009obj-y := devres.o socket.o core/
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
Masahiro Yamada8b5f4eb2021-01-26 08:16:55 +090011obj-$(CONFIG_COMPAT) += compat.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
13# LLC has to be linked before the files in net/802/
14obj-$(CONFIG_LLC) += llc/
Masahiro Yamada8b5f4eb2021-01-26 08:16:55 +090015obj-y += ethernet/ 802/ sched/ netlink/ bpf/ ethtool/
Harald Weltef9e815b2005-08-09 19:30:24 -070016obj-$(CONFIG_NETFILTER) += netfilter/
Krzysztof Oledzki47d4305b2005-11-14 15:25:59 -080017obj-$(CONFIG_INET) += ipv4/
Dave Watson3c4d7552017-06-14 11:37:39 -070018obj-$(CONFIG_TLS) += tls/
Linus Torvalds1da177e2005-04-16 15:20:36 -070019obj-$(CONFIG_XFRM) += xfrm/
Jens Axboef4e65872019-02-08 09:01:44 -070020obj-$(CONFIG_UNIX_SCM) += unix/
Masahiro Yamada8b5f4eb2021-01-26 08:16:55 +090021obj-y += ipv6/
Alexei Starovoitovd2ba09c2018-05-21 19:22:30 -070022obj-$(CONFIG_BPFILTER) += bpfilter/
Linus Torvalds1da177e2005-04-16 15:20:36 -070023obj-$(CONFIG_PACKET) += packet/
24obj-$(CONFIG_NET_KEY) += key/
Linus Torvalds1da177e2005-04-16 15:20:36 -070025obj-$(CONFIG_BRIDGE) += bridge/
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000026obj-$(CONFIG_NET_DSA) += dsa/
Linus Torvalds1da177e2005-04-16 15:20:36 -070027obj-$(CONFIG_ATALK) += appletalk/
Linus Torvalds1da177e2005-04-16 15:20:36 -070028obj-$(CONFIG_X25) += x25/
29obj-$(CONFIG_LAPB) += lapb/
30obj-$(CONFIG_NETROM) += netrom/
31obj-$(CONFIG_ROSE) += rose/
32obj-$(CONFIG_AX25) += ax25/
Oliver Hartkopp0d665482007-11-16 15:52:17 -080033obj-$(CONFIG_CAN) += can/
Linus Torvalds1da177e2005-04-16 15:20:36 -070034obj-$(CONFIG_BT) += bluetooth/
35obj-$(CONFIG_SUNRPC) += sunrpc/
David Howells17926a72007-04-26 15:48:28 -070036obj-$(CONFIG_AF_RXRPC) += rxrpc/
Tom Herbertab7ac4e2016-03-07 14:11:06 -080037obj-$(CONFIG_AF_KCM) += kcm/
Tom Herbert43a0c672016-08-15 14:51:01 -070038obj-$(CONFIG_STREAM_PARSER) += strparser/
Linus Torvalds1da177e2005-04-16 15:20:36 -070039obj-$(CONFIG_ATM) += atm/
James Chapmanfd558d12010-04-02 06:18:33 +000040obj-$(CONFIG_L2TP) += l2tp/
Linus Torvalds1da177e2005-04-16 15:20:36 -070041obj-$(CONFIG_DECNET) += decnet/
Remi Denis-Courmont8ead5362008-09-22 20:03:00 -070042obj-$(CONFIG_PHONET) += phonet/
Patrick McHardy7750f402008-07-08 03:23:36 -070043ifneq ($(CONFIG_VLAN_8021Q),)
44obj-y += 8021q/
45endif
Arnaldo Carvalho de Melo7c657872005-08-09 20:14:34 -070046obj-$(CONFIG_IP_DCCP) += dccp/
Linus Torvalds1da177e2005-04-16 15:20:36 -070047obj-$(CONFIG_IP_SCTP) += sctp/
Andy Groverfe17f842009-02-24 15:30:39 +000048obj-$(CONFIG_RDS) += rds/
Nicolas Kaiserd1e31682010-06-27 00:00:25 +000049obj-$(CONFIG_WIRELESS) += wireless/
Jiri Bencf0706e82007-05-05 11:45:53 -070050obj-$(CONFIG_MAC80211) += mac80211/
Per Lidenb97bf3f2006-01-02 19:04:38 +010051obj-$(CONFIG_TIPC) += tipc/
Paul Moored15c3452006-08-03 16:48:37 -070052obj-$(CONFIG_NETLABEL) += netlabel/
Martin Schwidefsky2356f4c2007-02-08 13:37:42 -080053obj-$(CONFIG_IUCV) += iucv/
Ursula Braunac713872017-01-09 16:55:13 +010054obj-$(CONFIG_SMC) += smc/
Ivo van Doorncf4328c2007-05-07 00:34:20 -070055obj-$(CONFIG_RFKILL) += rfkill/
Latchesar Ionkovbd238fb2007-07-10 17:57:28 -050056obj-$(CONFIG_NET_9P) += 9p/
Sjur Braendeland3908c692010-03-30 13:56:28 +000057obj-$(CONFIG_CAIF) += caif/
Masahiro Yamada1e328ed2021-01-26 08:16:56 +090058obj-$(CONFIG_DCB) += dcb/
Alexander Aring2c6bed72014-07-11 10:24:18 +020059obj-$(CONFIG_6LOWPAN) += 6lowpan/
60obj-$(CONFIG_IEEE802154) += ieee802154/
alex.bluesman.smirnov@gmail.com1010f542012-05-15 20:50:20 +000061obj-$(CONFIG_MAC802154) += mac802154/
Linus Torvalds1da177e2005-04-16 15:20:36 -070062
Linus Torvalds1da177e2005-04-16 15:20:36 -070063obj-$(CONFIG_SYSCTL) += sysctl_net.o
Wang Lei1a4240f2010-08-04 15:16:33 +010064obj-$(CONFIG_DNS_RESOLVER) += dns_resolver/
Yehuda Sadeh3d14c5d2010-04-06 15:14:15 -070065obj-$(CONFIG_CEPH_LIB) += ceph/
Sven Eckelmannc6c8fea2010-12-13 11:19:28 +000066obj-$(CONFIG_BATMAN_ADV) += batman-adv/
Lauro Ramos Venancio3e256b82011-07-01 19:31:33 -030067obj-$(CONFIG_NFC) += nfc/
Yotam Gigi6ae0a622017-01-23 11:07:08 +010068obj-$(CONFIG_PSAMPLE) += psample/
Yotam Gigi1ce84602017-02-01 15:30:02 +020069obj-$(CONFIG_NET_IFE) += ife/
Jesse Grossccb13522011-10-25 19:26:31 -070070obj-$(CONFIG_OPENVSWITCH) += openvswitch/
Andy Kingd021c342013-02-06 14:23:56 +000071obj-$(CONFIG_VSOCKETS) += vmw_vsock/
Eric W. Biedermancec91662015-03-03 19:10:23 -060072obj-$(CONFIG_MPLS) += mpls/
Jiri Bencc411ed82017-08-28 21:43:24 +020073obj-$(CONFIG_NET_NSH) += nsh/
Arvid Brodinf4214362013-10-30 21:10:47 +010074obj-$(CONFIG_HSR) += hsr/
Masahiro Yamada0cfd99b2021-01-26 08:16:57 +090075obj-$(CONFIG_NET_SWITCHDEV) += switchdev/
Masahiro Yamadad32f8342021-01-26 08:16:58 +090076obj-$(CONFIG_NET_L3_MASTER_DEV) += l3mdev/
Courtney Cavinbdabad32016-05-06 07:09:08 -070077obj-$(CONFIG_QRTR) += qrtr/
Gavin Shan2d283bd2016-07-19 11:54:16 +100078obj-$(CONFIG_NET_NCSI) += ncsi/
Björn Töpelc0c77d82018-05-02 13:01:23 +020079obj-$(CONFIG_XDP_SOCKETS) += xdp/
Mat Martineauf870fa02020-01-21 16:56:15 -080080obj-$(CONFIG_MPTCP) += mptcp/
Jeremy Kerrbc49d812021-07-29 10:20:39 +080081obj-$(CONFIG_MCTP) += mctp/