1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
293c1edb2SJiri Pirkoobj-$(CONFIG_MLXSW_CORE)	+= mlxsw_core.o
34cda7d8dSJiri Pirkomlxsw_core-objs			:= core.o core_acl_flex_keys.o \
4b217127eSJiri Pirko				   core_acl_flex_actions.o core_env.o \
5b217127eSJiri Pirko				   core_linecards.o
689309da3SJiri Pirkomlxsw_core-$(CONFIG_MLXSW_CORE_HWMON) += core_hwmon.o
7a50c1e35SIvan Veceramlxsw_core-$(CONFIG_MLXSW_CORE_THERMAL) += core_thermal.o
8eda6500aSJiri Pirkoobj-$(CONFIG_MLXSW_PCI)		+= mlxsw_pci.o
9eda6500aSJiri Pirkomlxsw_pci-objs			:= pci.o
106882b0aeSVadim Pasternakobj-$(CONFIG_MLXSW_I2C)		+= mlxsw_i2c.o
116882b0aeSVadim Pasternakmlxsw_i2c-objs			:= i2c.o
1256ade8feSJiri Pirkoobj-$(CONFIG_MLXSW_SPECTRUM)	+= mlxsw_spectrum.o
1356ade8feSJiri Pirkomlxsw_spectrum-objs		:= spectrum.o spectrum_buffers.o \
14b090ef06SJiri Pirko				   spectrum_switchdev.o spectrum_router.o \
15742f75a6SJiri Pirko				   spectrum1_kvdl.o spectrum2_kvdl.o \
16742f75a6SJiri Pirko				   spectrum_kvdl.o \
1764eccd00SJiri Pirko				   spectrum_acl_tcam.o spectrum_acl_ctcam.o \
18f465261aSIdo Schimmel				   spectrum_acl_atcam.o spectrum_acl_erp.o \
199912e6b8SJiri Pirko				   spectrum1_acl_tcam.o spectrum2_acl_tcam.o \
200487cfbaSNir Dotan				   spectrum_acl_bloom_filter.o spectrum_acl.o \
21d7fcc986SJiri Pirko				   spectrum_flow.o spectrum_matchall.o \
22ebcff743SJiri Pirko				   spectrum_flower.o spectrum_cnt.o \
23ebcff743SJiri Pirko				   spectrum_fid.o spectrum_ipip.o \
24ebcff743SJiri Pirko				   spectrum_acl_flex_actions.o \
25c17d2083SJiri Pirko				   spectrum_acl_flex_keys.o \
2618ce0e4eSJiri Pirko				   spectrum1_mr_tcam.o spectrum2_mr_tcam.o \
278fae4392SJiri Pirko				   spectrum_mr_tcam.o spectrum_mr.o \
286e6030bdSIdo Schimmel				   spectrum_qdisc.o spectrum_span.o \
290a9798c1SJiri Pirko				   spectrum_nve.o spectrum_nve_vxlan.o \
30614d509aSAmit Cohen				   spectrum_dpipe.o spectrum_trap.o \
31*d8782ec5SAmit Cohen				   spectrum_ethtool.o spectrum_policer.o \
32*d8782ec5SAmit Cohen				   spectrum_pgt.o
33f00817dfSIdo Schimmelmlxsw_spectrum-$(CONFIG_MLXSW_SPECTRUM_DCB)	+= spectrum_dcb.o
34992aa864SShalom Toledomlxsw_spectrum-$(CONFIG_PTP_1588_CLOCK)		+= spectrum_ptp.o
35d556e929SVadim Pasternakobj-$(CONFIG_MLXSW_MINIMAL)	+= mlxsw_minimal.o
36d556e929SVadim Pasternakmlxsw_minimal-objs		:= minimal.o
37