xref: /linux/drivers/net/Makefile (revision 87c9c16317882dd6dbbc07e349bc3223e14f3244)
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_MACVLAN) += macvlan.o
18obj-$(CONFIG_MACVTAP) += macvtap.o
19obj-$(CONFIG_MII) += mii.o
20obj-$(CONFIG_MDIO) += mdio.o
21obj-$(CONFIG_NET) += Space.o loopback.o
22obj-$(CONFIG_NETCONSOLE) += netconsole.o
23obj-y += phy/
24obj-y += mdio/
25obj-y += pcs/
26obj-$(CONFIG_RIONET) += rionet.o
27obj-$(CONFIG_NET_TEAM) += team/
28obj-$(CONFIG_TUN) += tun.o
29obj-$(CONFIG_TAP) += tap.o
30obj-$(CONFIG_VETH) += veth.o
31obj-$(CONFIG_VIRTIO_NET) += virtio_net.o
32obj-$(CONFIG_VXLAN) += vxlan.o
33obj-$(CONFIG_GENEVE) += geneve.o
34obj-$(CONFIG_BAREUDP) += bareudp.o
35obj-$(CONFIG_GTP) += gtp.o
36obj-$(CONFIG_NLMON) += nlmon.o
37obj-$(CONFIG_NET_VRF) += vrf.o
38obj-$(CONFIG_VSOCKMON) += vsockmon.o
39obj-$(CONFIG_MHI_NET) += mhi/
40
41#
42# Networking Drivers
43#
44obj-$(CONFIG_ARCNET) += arcnet/
45obj-$(CONFIG_DEV_APPLETALK) += appletalk/
46obj-$(CONFIG_CAIF) += caif/
47obj-$(CONFIG_CAN) += can/
48obj-$(CONFIG_NET_DSA) += dsa/
49obj-$(CONFIG_ETHERNET) += ethernet/
50obj-$(CONFIG_FDDI) += fddi/
51obj-$(CONFIG_HIPPI) += hippi/
52obj-$(CONFIG_HAMRADIO) += hamradio/
53obj-$(CONFIG_QCOM_IPA) += ipa/
54obj-$(CONFIG_PLIP) += plip/
55obj-$(CONFIG_PPP) += ppp/
56obj-$(CONFIG_PPP_ASYNC) += ppp/
57obj-$(CONFIG_PPP_BSDCOMP) += ppp/
58obj-$(CONFIG_PPP_DEFLATE) += ppp/
59obj-$(CONFIG_PPP_MPPE) += ppp/
60obj-$(CONFIG_PPP_SYNC_TTY) += ppp/
61obj-$(CONFIG_PPPOE) += ppp/
62obj-$(CONFIG_PPPOL2TP) += ppp/
63obj-$(CONFIG_PPTP) += ppp/
64obj-$(CONFIG_SLIP) += slip/
65obj-$(CONFIG_SLHC) += slip/
66obj-$(CONFIG_NET_SB1000) += sb1000.o
67obj-$(CONFIG_SUNGEM_PHY) += sungem_phy.o
68obj-$(CONFIG_WAN) += wan/
69obj-$(CONFIG_WLAN) += wireless/
70obj-$(CONFIG_IEEE802154) += ieee802154/
71obj-$(CONFIG_WWAN) += wwan/
72
73obj-$(CONFIG_VMXNET3) += vmxnet3/
74obj-$(CONFIG_XEN_NETDEV_FRONTEND) += xen-netfront.o
75obj-$(CONFIG_XEN_NETDEV_BACKEND) += xen-netback/
76
77obj-$(CONFIG_USB_NET_DRIVERS) += usb/
78
79obj-$(CONFIG_HYPERV_NET) += hyperv/
80obj-$(CONFIG_NTB_NETDEV) += ntb_netdev.o
81
82obj-$(CONFIG_FUJITSU_ES) += fjes/
83
84thunderbolt-net-y += thunderbolt.o
85obj-$(CONFIG_USB4_NET) += thunderbolt-net.o
86obj-$(CONFIG_NETDEVSIM) += netdevsim/
87obj-$(CONFIG_NET_FAILOVER) += net_failover.o
88