]> Git Repo - linux.git/blob - drivers/net/ethernet/microchip/sparx5/Makefile
Linux 6.14-rc3
[linux.git] / drivers / net / ethernet / microchip / sparx5 / Makefile
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Makefile for the Microchip Sparx5 network device drivers.
4 #
5
6 obj-$(CONFIG_SPARX5_SWITCH) += sparx5-switch.o
7
8 sparx5-switch-y  := sparx5_main.o sparx5_packet.o \
9  sparx5_netdev.o sparx5_phylink.o sparx5_port.o sparx5_mactable.o sparx5_vlan.o \
10  sparx5_switchdev.o sparx5_calendar.o sparx5_ethtool.o sparx5_fdma.o \
11  sparx5_ptp.o sparx5_pgid.o sparx5_tc.o sparx5_qos.o \
12  sparx5_vcap_impl.o sparx5_vcap_ag_api.o sparx5_tc_flower.o \
13  sparx5_tc_matchall.o sparx5_pool.o sparx5_sdlb.o sparx5_police.o \
14  sparx5_psfp.o sparx5_mirror.o sparx5_regs.o
15
16 sparx5-switch-$(CONFIG_SPARX5_DCB) += sparx5_dcb.o
17 sparx5-switch-$(CONFIG_DEBUG_FS) += sparx5_vcap_debugfs.o
18
19 sparx5-switch-$(CONFIG_LAN969X_SWITCH) += lan969x/lan969x_regs.o \
20                                           lan969x/lan969x.o \
21                                           lan969x/lan969x_calendar.o \
22                                           lan969x/lan969x_vcap_ag_api.o \
23                                           lan969x/lan969x_vcap_impl.o \
24                                           lan969x/lan969x_rgmii.o \
25                                           lan969x/lan969x_fdma.o
26
27 # Provide include files
28 ccflags-y += -I$(srctree)/drivers/net/ethernet/microchip/vcap
29 ccflags-y += -I$(srctree)/drivers/net/ethernet/microchip/fdma
This page took 0.035914 seconds and 4 git commands to generate.