Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Masahiro Yamada | 8b5f4eb | 2021-01-26 08:16:55 +0900 | [diff] [blame] | 9 | obj-y := devres.o socket.o core/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
Masahiro Yamada | 8b5f4eb | 2021-01-26 08:16:55 +0900 | [diff] [blame] | 11 | obj-$(CONFIG_COMPAT) += compat.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | |
| 13 | # LLC has to be linked before the files in net/802/ |
| 14 | obj-$(CONFIG_LLC) += llc/ |
Masahiro Yamada | 8b5f4eb | 2021-01-26 08:16:55 +0900 | [diff] [blame] | 15 | obj-y += ethernet/ 802/ sched/ netlink/ bpf/ ethtool/ |
Harald Welte | f9e815b | 2005-08-09 19:30:24 -0700 | [diff] [blame] | 16 | obj-$(CONFIG_NETFILTER) += netfilter/ |
Krzysztof Oledzki | 47d4305b | 2005-11-14 15:25:59 -0800 | [diff] [blame] | 17 | obj-$(CONFIG_INET) += ipv4/ |
Dave Watson | 3c4d755 | 2017-06-14 11:37:39 -0700 | [diff] [blame] | 18 | obj-$(CONFIG_TLS) += tls/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | obj-$(CONFIG_XFRM) += xfrm/ |
Jens Axboe | f4e6587 | 2019-02-08 09:01:44 -0700 | [diff] [blame] | 20 | obj-$(CONFIG_UNIX_SCM) += unix/ |
Masahiro Yamada | 8b5f4eb | 2021-01-26 08:16:55 +0900 | [diff] [blame] | 21 | obj-y += ipv6/ |
Alexei Starovoitov | d2ba09c | 2018-05-21 19:22:30 -0700 | [diff] [blame] | 22 | obj-$(CONFIG_BPFILTER) += bpfilter/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | obj-$(CONFIG_PACKET) += packet/ |
| 24 | obj-$(CONFIG_NET_KEY) += key/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | obj-$(CONFIG_BRIDGE) += bridge/ |
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 26 | obj-$(CONFIG_NET_DSA) += dsa/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | obj-$(CONFIG_ATALK) += appletalk/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | obj-$(CONFIG_X25) += x25/ |
| 29 | obj-$(CONFIG_LAPB) += lapb/ |
| 30 | obj-$(CONFIG_NETROM) += netrom/ |
| 31 | obj-$(CONFIG_ROSE) += rose/ |
| 32 | obj-$(CONFIG_AX25) += ax25/ |
Oliver Hartkopp | 0d66548 | 2007-11-16 15:52:17 -0800 | [diff] [blame] | 33 | obj-$(CONFIG_CAN) += can/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 34 | obj-$(CONFIG_BT) += bluetooth/ |
| 35 | obj-$(CONFIG_SUNRPC) += sunrpc/ |
David Howells | 17926a7 | 2007-04-26 15:48:28 -0700 | [diff] [blame] | 36 | obj-$(CONFIG_AF_RXRPC) += rxrpc/ |
Tom Herbert | ab7ac4e | 2016-03-07 14:11:06 -0800 | [diff] [blame] | 37 | obj-$(CONFIG_AF_KCM) += kcm/ |
Tom Herbert | 43a0c67 | 2016-08-15 14:51:01 -0700 | [diff] [blame] | 38 | obj-$(CONFIG_STREAM_PARSER) += strparser/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 39 | obj-$(CONFIG_ATM) += atm/ |
James Chapman | fd558d1 | 2010-04-02 06:18:33 +0000 | [diff] [blame] | 40 | obj-$(CONFIG_L2TP) += l2tp/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 41 | obj-$(CONFIG_DECNET) += decnet/ |
Remi Denis-Courmont | 8ead536 | 2008-09-22 20:03:00 -0700 | [diff] [blame] | 42 | obj-$(CONFIG_PHONET) += phonet/ |
Patrick McHardy | 7750f40 | 2008-07-08 03:23:36 -0700 | [diff] [blame] | 43 | ifneq ($(CONFIG_VLAN_8021Q),) |
| 44 | obj-y += 8021q/ |
| 45 | endif |
Arnaldo Carvalho de Melo | 7c65787 | 2005-08-09 20:14:34 -0700 | [diff] [blame] | 46 | obj-$(CONFIG_IP_DCCP) += dccp/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 47 | obj-$(CONFIG_IP_SCTP) += sctp/ |
Andy Grover | fe17f84 | 2009-02-24 15:30:39 +0000 | [diff] [blame] | 48 | obj-$(CONFIG_RDS) += rds/ |
Nicolas Kaiser | d1e3168 | 2010-06-27 00:00:25 +0000 | [diff] [blame] | 49 | obj-$(CONFIG_WIRELESS) += wireless/ |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 50 | obj-$(CONFIG_MAC80211) += mac80211/ |
Per Liden | b97bf3f | 2006-01-02 19:04:38 +0100 | [diff] [blame] | 51 | obj-$(CONFIG_TIPC) += tipc/ |
Paul Moore | d15c345 | 2006-08-03 16:48:37 -0700 | [diff] [blame] | 52 | obj-$(CONFIG_NETLABEL) += netlabel/ |
Martin Schwidefsky | 2356f4c | 2007-02-08 13:37:42 -0800 | [diff] [blame] | 53 | obj-$(CONFIG_IUCV) += iucv/ |
Ursula Braun | ac71387 | 2017-01-09 16:55:13 +0100 | [diff] [blame] | 54 | obj-$(CONFIG_SMC) += smc/ |
Ivo van Doorn | cf4328c | 2007-05-07 00:34:20 -0700 | [diff] [blame] | 55 | obj-$(CONFIG_RFKILL) += rfkill/ |
Latchesar Ionkov | bd238fb | 2007-07-10 17:57:28 -0500 | [diff] [blame] | 56 | obj-$(CONFIG_NET_9P) += 9p/ |
Sjur Braendeland | 3908c69 | 2010-03-30 13:56:28 +0000 | [diff] [blame] | 57 | obj-$(CONFIG_CAIF) += caif/ |
Masahiro Yamada | 1e328ed | 2021-01-26 08:16:56 +0900 | [diff] [blame] | 58 | obj-$(CONFIG_DCB) += dcb/ |
Alexander Aring | 2c6bed7 | 2014-07-11 10:24:18 +0200 | [diff] [blame] | 59 | obj-$(CONFIG_6LOWPAN) += 6lowpan/ |
| 60 | obj-$(CONFIG_IEEE802154) += ieee802154/ |
alex.bluesman.smirnov@gmail.com | 1010f54 | 2012-05-15 20:50:20 +0000 | [diff] [blame] | 61 | obj-$(CONFIG_MAC802154) += mac802154/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 62 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 63 | obj-$(CONFIG_SYSCTL) += sysctl_net.o |
Wang Lei | 1a4240f | 2010-08-04 15:16:33 +0100 | [diff] [blame] | 64 | obj-$(CONFIG_DNS_RESOLVER) += dns_resolver/ |
Yehuda Sadeh | 3d14c5d | 2010-04-06 15:14:15 -0700 | [diff] [blame] | 65 | obj-$(CONFIG_CEPH_LIB) += ceph/ |
Sven Eckelmann | c6c8fea | 2010-12-13 11:19:28 +0000 | [diff] [blame] | 66 | obj-$(CONFIG_BATMAN_ADV) += batman-adv/ |
Lauro Ramos Venancio | 3e256b8 | 2011-07-01 19:31:33 -0300 | [diff] [blame] | 67 | obj-$(CONFIG_NFC) += nfc/ |
Yotam Gigi | 6ae0a62 | 2017-01-23 11:07:08 +0100 | [diff] [blame] | 68 | obj-$(CONFIG_PSAMPLE) += psample/ |
Yotam Gigi | 1ce8460 | 2017-02-01 15:30:02 +0200 | [diff] [blame] | 69 | obj-$(CONFIG_NET_IFE) += ife/ |
Jesse Gross | ccb1352 | 2011-10-25 19:26:31 -0700 | [diff] [blame] | 70 | obj-$(CONFIG_OPENVSWITCH) += openvswitch/ |
Andy King | d021c34 | 2013-02-06 14:23:56 +0000 | [diff] [blame] | 71 | obj-$(CONFIG_VSOCKETS) += vmw_vsock/ |
Eric W. Biederman | cec9166 | 2015-03-03 19:10:23 -0600 | [diff] [blame] | 72 | obj-$(CONFIG_MPLS) += mpls/ |
Jiri Benc | c411ed8 | 2017-08-28 21:43:24 +0200 | [diff] [blame] | 73 | obj-$(CONFIG_NET_NSH) += nsh/ |
Arvid Brodin | f421436 | 2013-10-30 21:10:47 +0100 | [diff] [blame] | 74 | obj-$(CONFIG_HSR) += hsr/ |
Masahiro Yamada | 0cfd99b | 2021-01-26 08:16:57 +0900 | [diff] [blame] | 75 | obj-$(CONFIG_NET_SWITCHDEV) += switchdev/ |
Masahiro Yamada | d32f834 | 2021-01-26 08:16:58 +0900 | [diff] [blame] | 76 | obj-$(CONFIG_NET_L3_MASTER_DEV) += l3mdev/ |
Courtney Cavin | bdabad3 | 2016-05-06 07:09:08 -0700 | [diff] [blame] | 77 | obj-$(CONFIG_QRTR) += qrtr/ |
Gavin Shan | 2d283bd | 2016-07-19 11:54:16 +1000 | [diff] [blame] | 78 | obj-$(CONFIG_NET_NCSI) += ncsi/ |
Björn Töpel | c0c77d8 | 2018-05-02 13:01:23 +0200 | [diff] [blame] | 79 | obj-$(CONFIG_XDP_SOCKETS) += xdp/ |
Mat Martineau | f870fa0 | 2020-01-21 16:56:15 -0800 | [diff] [blame] | 80 | obj-$(CONFIG_MPTCP) += mptcp/ |
Jeremy Kerr | bc49d81 | 2021-07-29 10:20:39 +0800 | [diff] [blame] | 81 | obj-$(CONFIG_MCTP) += mctp/ |