xref: /openbmc/linux/drivers/net/Makefile (revision b181f7029bd71238ac2754ce7052dffd69432085)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
3c1abc95bSJeff Kirsher# Makefile for the Linux network device drivers.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
688491d81SJeff Kirsher#
788491d81SJeff Kirsher# Networking Core Drivers
888491d81SJeff Kirsher#
91da177e4SLinus Torvaldsobj-$(CONFIG_BONDING) += bonding/
102ad7bf36SMahesh Bandewarobj-$(CONFIG_IPVLAN) += ipvlan/
11235a9d89SSainath Grandhiobj-$(CONFIG_IPVTAP) += ipvlan/
121da177e4SLinus Torvaldsobj-$(CONFIG_DUMMY) += dummy.o
13e7096c13SJason A. Donenfeldobj-$(CONFIG_WIREGUARD) += wireguard/
1488491d81SJeff Kirsherobj-$(CONFIG_EQUALIZER) += eql.o
15253af423SJamal Hadi Salimobj-$(CONFIG_IFB) += ifb.o
16c09440f7SSabrina Dubrocaobj-$(CONFIG_MACSEC) += macsec.o
17b9022b53STaehee Yooobj-$(CONFIG_AMT) += amt.o
18b863ceb7SPatrick McHardyobj-$(CONFIG_MACVLAN) += macvlan.o
1920d29d7aSArnd Bergmannobj-$(CONFIG_MACVTAP) += macvtap.o
2088491d81SJeff Kirsherobj-$(CONFIG_MII) += mii.o
2188491d81SJeff Kirsherobj-$(CONFIG_MDIO) += mdio.o
224228c394SArnd Bergmannobj-$(CONFIG_NET) += loopback.o
234228c394SArnd Bergmannobj-$(CONFIG_NETDEV_LEGACY_INIT) += Space.o
2488491d81SJeff Kirsherobj-$(CONFIG_NETCONSOLE) += netconsole.o
25d0281a56SFlorian Fainelliobj-y += phy/
263114b075SOleksij Rempelobj-y += pse-pd/
27a9770eacSAndrew Lunnobj-y += mdio/
282fa4e4b7SAndrew Lunnobj-y += pcs/
2988491d81SJeff Kirsherobj-$(CONFIG_RIONET) += rionet.o
303d249d4cSJiri Pirkoobj-$(CONFIG_NET_TEAM) += team/
311da177e4SLinus Torvaldsobj-$(CONFIG_TUN) += tun.o
329a393b5dSSainath Grandhiobj-$(CONFIG_TAP) += tap.o
33e314dbdcSPavel Emelyanovobj-$(CONFIG_VETH) += veth.o
3488491d81SJeff Kirsherobj-$(CONFIG_VIRTIO_NET) += virtio_net.o
3567653936SRoopa Prabhuobj-$(CONFIG_VXLAN) += vxlan/
362d07dc79SJohn W. Linvilleobj-$(CONFIG_GENEVE) += geneve.o
37571912c6SMartin Vargheseobj-$(CONFIG_BAREUDP) += bareudp.o
38459aa660SPablo Neiraobj-$(CONFIG_GTP) += gtp.o
39e4fc408eSDaniel Borkmannobj-$(CONFIG_NLMON) += nlmon.o
40193125dbSDavid Ahernobj-$(CONFIG_NET_VRF) += vrf.o
410b2e6644SGerard Garciaobj-$(CONFIG_VSOCKMON) += vsockmon.o
427ffa7542SLoic Poulainobj-$(CONFIG_MHI_NET) += mhi_net.o
431da177e4SLinus Torvalds
4488491d81SJeff Kirsher#
4588491d81SJeff Kirsher# Networking Drivers
4688491d81SJeff Kirsher#
4788491d81SJeff Kirsherobj-$(CONFIG_ARCNET) += arcnet/
481da177e4SLinus Torvaldsobj-$(CONFIG_DEV_APPLETALK) += appletalk/
4988491d81SJeff Kirsherobj-$(CONFIG_CAIF) += caif/
5088491d81SJeff Kirsherobj-$(CONFIG_CAN) += can/
51*521d21faSFlorian Fainelliifdef CONFIG_NET_DSA
52*521d21faSFlorian Fainelliobj-y += dsa/
53*521d21faSFlorian Fainelliendif
54ca7a8e85SJeff Kirsherobj-$(CONFIG_ETHERNET) += ethernet/
5533f810b2SJeff Kirsherobj-$(CONFIG_FDDI) += fddi/
56ff5a3b50SJeff Kirsherobj-$(CONFIG_HIPPI) += hippi/
5788491d81SJeff Kirsherobj-$(CONFIG_HAMRADIO) += hamradio/
5808120d23SAlex Elderobj-$(CONFIG_QCOM_IPA) += ipa/
5918e635f4SJeff Kirsherobj-$(CONFIG_PLIP) += plip/
604f16061eSRandy Dunlapobj-$(CONFIG_PPP) += ppp/
61224cf5adSJeff Kirsherobj-$(CONFIG_PPP_ASYNC) += ppp/
62224cf5adSJeff Kirsherobj-$(CONFIG_PPP_BSDCOMP) += ppp/
63224cf5adSJeff Kirsherobj-$(CONFIG_PPP_DEFLATE) += ppp/
64224cf5adSJeff Kirsherobj-$(CONFIG_PPP_MPPE) += ppp/
65224cf5adSJeff Kirsherobj-$(CONFIG_PPP_SYNC_TTY) += ppp/
66224cf5adSJeff Kirsherobj-$(CONFIG_PPPOE) += ppp/
67224cf5adSJeff Kirsherobj-$(CONFIG_PPPOL2TP) += ppp/
68224cf5adSJeff Kirsherobj-$(CONFIG_PPTP) += ppp/
694f16061eSRandy Dunlapobj-$(CONFIG_SLIP) += slip/
70b5451d78SJeff Kirsherobj-$(CONFIG_SLHC) += slip/
7188491d81SJeff Kirsherobj-$(CONFIG_NET_SB1000) += sb1000.o
7288491d81SJeff Kirsherobj-$(CONFIG_SUNGEM_PHY) += sungem_phy.o
731da177e4SLinus Torvaldsobj-$(CONFIG_WAN) += wan/
7488491d81SJeff Kirsherobj-$(CONFIG_WLAN) += wireless/
750739d643Salex.bluesman.smirnov@gmail.comobj-$(CONFIG_IEEE802154) += ieee802154/
769a44c1ccSLoic Poulainobj-$(CONFIG_WWAN) += wwan/
774b2e6930SJeremy Kerrobj-$(CONFIG_MCTP) += mctp/
7888491d81SJeff Kirsher
7988491d81SJeff Kirsherobj-$(CONFIG_VMXNET3) += vmxnet3/
8088491d81SJeff Kirsherobj-$(CONFIG_XEN_NETDEV_FRONTEND) += xen-netfront.o
8188491d81SJeff Kirsherobj-$(CONFIG_XEN_NETDEV_BACKEND) += xen-netback/
825b2fc499SJeff Garzik
831bb5a356SFrancois Romieuobj-$(CONFIG_USB_NET_DRIVERS) += usb/
8495fa0405SHaiyang Zhang
8595fa0405SHaiyang Zhangobj-$(CONFIG_HYPERV_NET) += hyperv/
86548c237cSJon Masonobj-$(CONFIG_NTB_NETDEV) += ntb_netdev.o
87658d439bSTaku Izumi
88658d439bSTaku Izumiobj-$(CONFIG_FUJITSU_ES) += fjes/
890d0950a9SMika Westerbergobj-$(CONFIG_USB4_NET) += thunderbolt/
9083c9e13aSJakub Kicinskiobj-$(CONFIG_NETDEVSIM) += netdevsim/
91cfc80d9aSSridhar Samudralaobj-$(CONFIG_NET_FAILOVER) += net_failover.o
92