xref: /linux/drivers/net/Makefile (revision 288440de9e5fdb4a3ff73864850f080c1250fc81)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the Linux network device drivers.
4#
5
6#
7# Networking Core Drivers
8#
9obj-$(CONFIG_BONDING) += bonding/
10obj-$(CONFIG_IPVLAN) += ipvlan/
11obj-$(CONFIG_IPVTAP) += ipvlan/
12obj-$(CONFIG_DUMMY) += dummy.o
13obj-$(CONFIG_WIREGUARD) += wireguard/
14obj-$(CONFIG_EQUALIZER) += eql.o
15obj-$(CONFIG_IFB) += ifb.o
16obj-$(CONFIG_MACSEC) += macsec.o
17obj-$(CONFIG_AMT) += amt.o
18obj-$(CONFIG_MACVLAN) += macvlan.o
19obj-$(CONFIG_MACVTAP) += macvtap.o
20obj-$(CONFIG_MII) += mii.o
21obj-$(CONFIG_MDIO) += mdio.o
22obj-$(CONFIG_NET) += loopback.o
23obj-$(CONFIG_NETDEV_LEGACY_INIT) += Space.o
24obj-$(CONFIG_NETCONSOLE) += netconsole.o
25obj-y += phy/
26obj-y += mdio/
27obj-y += pcs/
28obj-$(CONFIG_RIONET) += rionet.o
29obj-$(CONFIG_NET_TEAM) += team/
30obj-$(CONFIG_TUN) += tun.o
31obj-$(CONFIG_TAP) += tap.o
32obj-$(CONFIG_VETH) += veth.o
33obj-$(CONFIG_VIRTIO_NET) += virtio_net.o
34obj-$(CONFIG_VXLAN) += vxlan/
35obj-$(CONFIG_GENEVE) += geneve.o
36obj-$(CONFIG_BAREUDP) += bareudp.o
37obj-$(CONFIG_GTP) += gtp.o
38obj-$(CONFIG_NLMON) += nlmon.o
39obj-$(CONFIG_NET_VRF) += vrf.o
40obj-$(CONFIG_VSOCKMON) += vsockmon.o
41obj-$(CONFIG_MHI_NET) += mhi_net.o
42
43#
44# Networking Drivers
45#
46obj-$(CONFIG_ARCNET) += arcnet/
47obj-$(CONFIG_DEV_APPLETALK) += appletalk/
48obj-$(CONFIG_CAIF) += caif/
49obj-$(CONFIG_CAN) += can/
50obj-$(CONFIG_NET_DSA) += dsa/
51obj-$(CONFIG_ETHERNET) += ethernet/
52obj-$(CONFIG_FDDI) += fddi/
53obj-$(CONFIG_HIPPI) += hippi/
54obj-$(CONFIG_HAMRADIO) += hamradio/
55obj-$(CONFIG_QCOM_IPA) += ipa/
56obj-$(CONFIG_PLIP) += plip/
57obj-$(CONFIG_PPP) += ppp/
58obj-$(CONFIG_PPP_ASYNC) += ppp/
59obj-$(CONFIG_PPP_BSDCOMP) += ppp/
60obj-$(CONFIG_PPP_DEFLATE) += ppp/
61obj-$(CONFIG_PPP_MPPE) += ppp/
62obj-$(CONFIG_PPP_SYNC_TTY) += ppp/
63obj-$(CONFIG_PPPOE) += ppp/
64obj-$(CONFIG_PPPOL2TP) += ppp/
65obj-$(CONFIG_PPTP) += ppp/
66obj-$(CONFIG_SLIP) += slip/
67obj-$(CONFIG_SLHC) += slip/
68obj-$(CONFIG_NET_SB1000) += sb1000.o
69obj-$(CONFIG_SUNGEM_PHY) += sungem_phy.o
70obj-$(CONFIG_WAN) += wan/
71obj-$(CONFIG_WLAN) += wireless/
72obj-$(CONFIG_IEEE802154) += ieee802154/
73obj-$(CONFIG_WWAN) += wwan/
74obj-$(CONFIG_MCTP) += mctp/
75
76obj-$(CONFIG_VMXNET3) += vmxnet3/
77obj-$(CONFIG_XEN_NETDEV_FRONTEND) += xen-netfront.o
78obj-$(CONFIG_XEN_NETDEV_BACKEND) += xen-netback/
79
80obj-$(CONFIG_USB_NET_DRIVERS) += usb/
81
82obj-$(CONFIG_HYPERV_NET) += hyperv/
83obj-$(CONFIG_NTB_NETDEV) += ntb_netdev.o
84
85obj-$(CONFIG_FUJITSU_ES) += fjes/
86
87thunderbolt-net-y += thunderbolt.o
88obj-$(CONFIG_USB4_NET) += thunderbolt-net.o
89obj-$(CONFIG_NETDEVSIM) += netdevsim/
90obj-$(CONFIG_NET_FAILOVER) += net_failover.o
91