| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
# |
| 3 |
# Makefile for the Microchip Lan966x network device drivers. |
| 4 |
# |
| 5 |
|
| 6 |
obj-$(CONFIG_LAN966X_SWITCH) += lan966x-switch.o |
| 7 |
|
| 8 |
lan966x-switch-objs := lan966x_main.o lan966x_phylink.o lan966x_port.o \ |
| 9 |
lan966x_mac.o lan966x_ethtool.o lan966x_switchdev.o \ |
| 10 |
lan966x_vlan.o lan966x_fdb.o lan966x_mdb.o \ |
| 11 |
lan966x_ptp.o lan966x_fdma.o lan966x_lag.o \ |
| 12 |
lan966x_tc.o lan966x_mqprio.o lan966x_taprio.o \ |
| 13 |
lan966x_tbf.o lan966x_cbs.o lan966x_ets.o \ |
| 14 |
lan966x_tc_matchall.o lan966x_police.o lan966x_mirror.o \ |
| 15 |
lan966x_xdp.o lan966x_vcap_impl.o lan966x_vcap_ag_api.o \ |
| 16 |
lan966x_tc_flower.o lan966x_goto.o |
| 17 |
|
| 18 |
lan966x-switch-$(CONFIG_LAN966X_DCB) += lan966x_dcb.o |
| 19 |
lan966x-switch-$(CONFIG_DEBUG_FS) += lan966x_vcap_debugfs.o |
| 20 |
|
| 21 |
# Provide include files |
| 22 |
ccflags-y += -I$(srctree)/drivers/net/ethernet/microchip/vcap |
| 23 |
ccflags-y += -I$(srctree)/drivers/net/ethernet/microchip/fdma |