1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# Makefile for the linux networking. 41da177e4SLinus Torvalds# 51da177e4SLinus Torvalds# 2 Sep 2000, Christoph Hellwig <hch@infradead.org> 61da177e4SLinus Torvalds# Rewritten to use lists instead of if-statements. 71da177e4SLinus Torvalds# 81da177e4SLinus Torvalds 98b5f4eb3SMasahiro Yamadaobj-y := devres.o socket.o core/ 101da177e4SLinus Torvalds 118b5f4eb3SMasahiro Yamadaobj-$(CONFIG_COMPAT) += compat.o 121da177e4SLinus Torvalds 131da177e4SLinus Torvalds# LLC has to be linked before the files in net/802/ 141da177e4SLinus Torvaldsobj-$(CONFIG_LLC) += llc/ 158b5f4eb3SMasahiro Yamadaobj-y += ethernet/ 802/ sched/ netlink/ bpf/ ethtool/ 16f9e815b3SHarald Welteobj-$(CONFIG_NETFILTER) += netfilter/ 1747d4305bSKrzysztof Oledzkiobj-$(CONFIG_INET) += ipv4/ 183c4d7559SDave Watsonobj-$(CONFIG_TLS) += tls/ 191da177e4SLinus Torvaldsobj-$(CONFIG_XFRM) += xfrm/ 20f4e65870SJens Axboeobj-$(CONFIG_UNIX_SCM) += unix/ 218b5f4eb3SMasahiro Yamadaobj-y += ipv6/ 22d2ba09c1SAlexei Starovoitovobj-$(CONFIG_BPFILTER) += bpfilter/ 231da177e4SLinus Torvaldsobj-$(CONFIG_PACKET) += packet/ 241da177e4SLinus Torvaldsobj-$(CONFIG_NET_KEY) += key/ 251da177e4SLinus Torvaldsobj-$(CONFIG_BRIDGE) += bridge/ 2691da11f8SLennert Buytenhekobj-$(CONFIG_NET_DSA) += dsa/ 271da177e4SLinus Torvaldsobj-$(CONFIG_ATALK) += appletalk/ 281da177e4SLinus Torvaldsobj-$(CONFIG_X25) += x25/ 291da177e4SLinus Torvaldsobj-$(CONFIG_LAPB) += lapb/ 301da177e4SLinus Torvaldsobj-$(CONFIG_NETROM) += netrom/ 311da177e4SLinus Torvaldsobj-$(CONFIG_ROSE) += rose/ 321da177e4SLinus Torvaldsobj-$(CONFIG_AX25) += ax25/ 330d66548aSOliver Hartkoppobj-$(CONFIG_CAN) += can/ 341da177e4SLinus Torvaldsobj-$(CONFIG_BT) += bluetooth/ 351da177e4SLinus Torvaldsobj-$(CONFIG_SUNRPC) += sunrpc/ 3617926a79SDavid Howellsobj-$(CONFIG_AF_RXRPC) += rxrpc/ 37ab7ac4ebSTom Herbertobj-$(CONFIG_AF_KCM) += kcm/ 3843a0c675STom Herbertobj-$(CONFIG_STREAM_PARSER) += strparser/ 391da177e4SLinus Torvaldsobj-$(CONFIG_ATM) += atm/ 40fd558d18SJames Chapmanobj-$(CONFIG_L2TP) += l2tp/ 411da177e4SLinus Torvaldsobj-$(CONFIG_DECNET) += decnet/ 428ead536dSRemi Denis-Courmontobj-$(CONFIG_PHONET) += phonet/ 437750f403SPatrick McHardyifneq ($(CONFIG_VLAN_8021Q),) 447750f403SPatrick McHardyobj-y += 8021q/ 457750f403SPatrick McHardyendif 467c657876SArnaldo Carvalho de Meloobj-$(CONFIG_IP_DCCP) += dccp/ 471da177e4SLinus Torvaldsobj-$(CONFIG_IP_SCTP) += sctp/ 48fe17f84fSAndy Groverobj-$(CONFIG_RDS) += rds/ 49d1e31689SNicolas Kaiserobj-$(CONFIG_WIRELESS) += wireless/ 50f0706e82SJiri Bencobj-$(CONFIG_MAC80211) += mac80211/ 51b97bf3fdSPer Lidenobj-$(CONFIG_TIPC) += tipc/ 52d15c345fSPaul Mooreobj-$(CONFIG_NETLABEL) += netlabel/ 532356f4cbSMartin Schwidefskyobj-$(CONFIG_IUCV) += iucv/ 54ac713874SUrsula Braunobj-$(CONFIG_SMC) += smc/ 55cf4328cdSIvo van Doornobj-$(CONFIG_RFKILL) += rfkill/ 56bd238fb4SLatchesar Ionkovobj-$(CONFIG_NET_9P) += 9p/ 573908c690SSjur Braendelandobj-$(CONFIG_CAIF) += caif/ 581e328ed5SMasahiro Yamadaobj-$(CONFIG_DCB) += dcb/ 592c6bed7cSAlexander Aringobj-$(CONFIG_6LOWPAN) += 6lowpan/ 602c6bed7cSAlexander Aringobj-$(CONFIG_IEEE802154) += ieee802154/ 611010f540Salex.bluesman.smirnov@gmail.comobj-$(CONFIG_MAC802154) += mac802154/ 621da177e4SLinus Torvalds 631da177e4SLinus Torvaldsobj-$(CONFIG_SYSCTL) += sysctl_net.o 641a4240f4SWang Leiobj-$(CONFIG_DNS_RESOLVER) += dns_resolver/ 653d14c5d2SYehuda Sadehobj-$(CONFIG_CEPH_LIB) += ceph/ 66c6c8fea2SSven Eckelmannobj-$(CONFIG_BATMAN_ADV) += batman-adv/ 673e256b8fSLauro Ramos Venancioobj-$(CONFIG_NFC) += nfc/ 686ae0a628SYotam Gigiobj-$(CONFIG_PSAMPLE) += psample/ 691ce84604SYotam Gigiobj-$(CONFIG_NET_IFE) += ife/ 70ccb1352eSJesse Grossobj-$(CONFIG_OPENVSWITCH) += openvswitch/ 71d021c344SAndy Kingobj-$(CONFIG_VSOCKETS) += vmw_vsock/ 72cec9166cSEric W. Biedermanobj-$(CONFIG_MPLS) += mpls/ 73c411ed85SJiri Bencobj-$(CONFIG_NET_NSH) += nsh/ 74f421436aSArvid Brodinobj-$(CONFIG_HSR) += hsr/ 750cfd99b4SMasahiro Yamadaobj-$(CONFIG_NET_SWITCHDEV) += switchdev/ 76d32f834cSMasahiro Yamadaobj-$(CONFIG_NET_L3_MASTER_DEV) += l3mdev/ 77bdabad3eSCourtney Cavinobj-$(CONFIG_QRTR) += qrtr/ 782d283bddSGavin Shanobj-$(CONFIG_NET_NCSI) += ncsi/ 79c0c77d8fSBjörn Töpelobj-$(CONFIG_XDP_SOCKETS) += xdp/ 80f870fa0bSMat Martineauobj-$(CONFIG_MPTCP) += mptcp/ 81*bc49d816SJeremy Kerrobj-$(CONFIG_MCTP) += mctp/ 82