Makefile (2c55d703391acf7e9101da596d0c15ee03b318a3) Makefile (bb535c0dbb6f5508bf81ec21b20c18d32a881ef1)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Makefile for the Microchip Sparx5 network device drivers.
4#
5
6obj-$(CONFIG_SPARX5_SWITCH) += sparx5-switch.o
7
8sparx5-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 \
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Makefile for the Microchip Sparx5 network device drivers.
4#
5
6obj-$(CONFIG_SPARX5_SWITCH) += sparx5-switch.o
7
8sparx5-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 sparx5_tc_matchall.o
12 sparx5_vcap_impl.o sparx5_vcap_ag_api.o sparx5_tc_flower.o \
13 sparx5_tc_matchall.o sparx5_pool.o
13
14sparx5-switch-$(CONFIG_SPARX5_DCB) += sparx5_dcb.o
15sparx5-switch-$(CONFIG_DEBUG_FS) += sparx5_vcap_debugfs.o
16
17# Provide include files
18ccflags-y += -I$(srctree)/drivers/net/ethernet/microchip/vcap
14
15sparx5-switch-$(CONFIG_SPARX5_DCB) += sparx5_dcb.o
16sparx5-switch-$(CONFIG_DEBUG_FS) += sparx5_vcap_debugfs.o
17
18# Provide include files
19ccflags-y += -I$(srctree)/drivers/net/ethernet/microchip/vcap