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