1db8bcaadSHoratiu Vultur# SPDX-License-Identifier: GPL-2.0-only 2db8bcaadSHoratiu Vultur# 3db8bcaadSHoratiu Vultur# Makefile for the Microchip Lan966x network device drivers. 4db8bcaadSHoratiu Vultur# 5db8bcaadSHoratiu Vultur 6db8bcaadSHoratiu Vulturobj-$(CONFIG_LAN966X_SWITCH) += lan966x-switch.o 7db8bcaadSHoratiu Vultur 8e18aba89SHoratiu Vulturlan966x-switch-objs := lan966x_main.o lan966x_phylink.o lan966x_port.o \ 96d2c186aSHoratiu Vultur lan966x_mac.o lan966x_ethtool.o lan966x_switchdev.o \ 10d0964594SHoratiu Vultur lan966x_vlan.o lan966x_fdb.o lan966x_mdb.o \ 113c83431fSHoratiu Vultur lan966x_ptp.o lan966x_fdma.o lan966x_lag.o \ 1294644b6dSHoratiu Vultur lan966x_tc.o lan966x_mqprio.o lan966x_taprio.o \ 135390334bSHoratiu Vultur lan966x_tbf.o lan966x_cbs.o lan966x_ets.o \ 146a2159beSHoratiu Vultur lan966x_tc_matchall.o lan966x_police.o lan966x_mirror.o \ 153643abd6SHoratiu Vultur lan966x_xdp.o lan966x_vcap_impl.o lan966x_vcap_ag_api.o \ 1661caac2dSHoratiu Vultur lan966x_tc_flower.o lan966x_goto.o 17b0531225SHoratiu Vultur 18a83e4630SHoratiu Vulturlan966x-switch-$(CONFIG_LAN966X_DCB) += lan966x_dcb.o 1994281484SHoratiu Vulturlan966x-switch-$(CONFIG_DEBUG_FS) += lan966x_vcap_debugfs.o 2094281484SHoratiu Vultur 21b0531225SHoratiu Vultur# Provide include files 22b0531225SHoratiu Vulturccflags-y += -I$(srctree)/drivers/net/ethernet/microchip/vcap 23*1dfe4ca8SDaniel Machonccflags-y += -I$(srctree)/drivers/net/ethernet/microchip/fdma 24