blob: c84a3470ad8dec334f44f978250e1f91c753ab89 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the linux networking.
3#
4# 2 Sep 2000, Christoph Hellwig <hch@infradead.org>
5# Rewritten to use lists instead of if-statements.
6#
7
Linus Torvalds1da177e2005-04-16 15:20:36 -07008obj-$(CONFIG_NET) := socket.o core/
9
10tmp-$(CONFIG_COMPAT) := compat.o
11obj-$(CONFIG_NET) += $(tmp-y)
12
13# LLC has to be linked before the files in net/802/
14obj-$(CONFIG_LLC) += llc/
15obj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/
Harald Weltef9e815b2005-08-09 19:30:24 -070016obj-$(CONFIG_NETFILTER) += netfilter/
Krzysztof Oledzki47d4305b2005-11-14 15:25:59 -080017obj-$(CONFIG_INET) += ipv4/
Linus Torvalds1da177e2005-04-16 15:20:36 -070018obj-$(CONFIG_XFRM) += xfrm/
19obj-$(CONFIG_UNIX) += unix/
Thomas Graf2ea6d8c2011-03-03 23:35:07 +000020obj-$(CONFIG_NET) += ipv6/
Linus Torvalds1da177e2005-04-16 15:20:36 -070021obj-$(CONFIG_PACKET) += packet/
22obj-$(CONFIG_NET_KEY) += key/
Linus Torvalds1da177e2005-04-16 15:20:36 -070023obj-$(CONFIG_BRIDGE) += bridge/
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000024obj-$(CONFIG_NET_DSA) += dsa/
Linus Torvalds1da177e2005-04-16 15:20:36 -070025obj-$(CONFIG_IPX) += ipx/
26obj-$(CONFIG_ATALK) += appletalk/
Linus Torvalds1da177e2005-04-16 15:20:36 -070027obj-$(CONFIG_X25) += x25/
28obj-$(CONFIG_LAPB) += lapb/
29obj-$(CONFIG_NETROM) += netrom/
30obj-$(CONFIG_ROSE) += rose/
31obj-$(CONFIG_AX25) += ax25/
Oliver Hartkopp0d665482007-11-16 15:52:17 -080032obj-$(CONFIG_CAN) += can/
Linus Torvalds1da177e2005-04-16 15:20:36 -070033obj-$(CONFIG_IRDA) += irda/
34obj-$(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/
Ivo van Doorncf4328c2007-05-07 00:34:20 -070054obj-$(CONFIG_RFKILL) += rfkill/
Latchesar Ionkovbd238fb2007-07-10 17:57:28 -050055obj-$(CONFIG_NET_9P) += 9p/
Sjur Braendeland3908c692010-03-30 13:56:28 +000056obj-$(CONFIG_CAIF) += caif/
Jeff Kirsher7a6b6f52008-11-25 01:02:08 -080057ifneq ($(CONFIG_DCB),)
58obj-y += dcb/
Alexander Duyck2f90b862008-11-20 20:52:10 -080059endif
Alexander Aring2c6bed72014-07-11 10:24:18 +020060obj-$(CONFIG_6LOWPAN) += 6lowpan/
61obj-$(CONFIG_IEEE802154) += ieee802154/
alex.bluesman.smirnov@gmail.com1010f542012-05-15 20:50:20 +000062obj-$(CONFIG_MAC802154) += mac802154/
Linus Torvalds1da177e2005-04-16 15:20:36 -070063
64ifeq ($(CONFIG_NET),y)
65obj-$(CONFIG_SYSCTL) += sysctl_net.o
66endif
Inaky Perez-Gonzalezb0c83ae2008-12-23 16:18:24 -080067obj-$(CONFIG_WIMAX) += wimax/
Wang Lei1a4240f2010-08-04 15:16:33 +010068obj-$(CONFIG_DNS_RESOLVER) += dns_resolver/
Yehuda Sadeh3d14c5d2010-04-06 15:14:15 -070069obj-$(CONFIG_CEPH_LIB) += ceph/
Sven Eckelmannc6c8fea2010-12-13 11:19:28 +000070obj-$(CONFIG_BATMAN_ADV) += batman-adv/
Lauro Ramos Venancio3e256b82011-07-01 19:31:33 -030071obj-$(CONFIG_NFC) += nfc/
Jesse Grossccb13522011-10-25 19:26:31 -070072obj-$(CONFIG_OPENVSWITCH) += openvswitch/
Andy Kingd021c342013-02-06 14:23:56 +000073obj-$(CONFIG_VSOCKETS) += vmw_vsock/
Eric W. Biedermancec91662015-03-03 19:10:23 -060074obj-$(CONFIG_MPLS) += mpls/
Arvid Brodinf4214362013-10-30 21:10:47 +010075obj-$(CONFIG_HSR) += hsr/
Jiri Pirko007f7902014-11-28 14:34:17 +010076ifneq ($(CONFIG_NET_SWITCHDEV),)
77obj-y += switchdev/
78endif
David Ahern1b69c6d2015-09-29 20:07:11 -070079ifneq ($(CONFIG_NET_L3_MASTER_DEV),)
80obj-y += l3mdev/
81endif
Courtney Cavinbdabad32016-05-06 07:09:08 -070082obj-$(CONFIG_QRTR) += qrtr/
Gavin Shan2d283bd2016-07-19 11:54:16 +100083obj-$(CONFIG_NET_NCSI) += ncsi/
Subash Abhinov Kasiviswanathan2139ce8a2016-10-14 11:01:48 -060084obj-$(CONFIG_RMNET_DATA) += rmnet_data/
Karthikeyan Ramasubramanian6a116d62016-09-16 16:05:32 -060085obj-$(CONFIG_IPC_ROUTER) += ipc_router/