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 \
4d93c19a1SVadim Pasternak				   core_acl_flex_actions.o core_env.o
589309da3SJiri Pirkomlxsw_core-$(CONFIG_MLXSW_CORE_HWMON) += core_hwmon.o
6a50c1e35SIvan Veceramlxsw_core-$(CONFIG_MLXSW_CORE_THERMAL) += core_thermal.o
7eda6500aSJiri Pirkoobj-$(CONFIG_MLXSW_PCI)		+= mlxsw_pci.o
8eda6500aSJiri Pirkomlxsw_pci-objs			:= pci.o
96882b0aeSVadim Pasternakobj-$(CONFIG_MLXSW_I2C)		+= mlxsw_i2c.o
106882b0aeSVadim Pasternakmlxsw_i2c-objs			:= i2c.o
11d1ba5263SElad Razobj-$(CONFIG_MLXSW_SWITCHIB)	+= mlxsw_switchib.o
12d1ba5263SElad Razmlxsw_switchib-objs		:= switchib.o
1331557f0fSJiri Pirkoobj-$(CONFIG_MLXSW_SWITCHX2)	+= mlxsw_switchx2.o
1431557f0fSJiri Pirkomlxsw_switchx2-objs		:= switchx2.o
1556ade8feSJiri Pirkoobj-$(CONFIG_MLXSW_SPECTRUM)	+= mlxsw_spectrum.o
1656ade8feSJiri Pirkomlxsw_spectrum-objs		:= spectrum.o spectrum_buffers.o \
17b090ef06SJiri Pirko				   spectrum_switchdev.o spectrum_router.o \
18742f75a6SJiri Pirko				   spectrum1_kvdl.o spectrum2_kvdl.o \
19742f75a6SJiri Pirko				   spectrum_kvdl.o \
2064eccd00SJiri Pirko				   spectrum_acl_tcam.o spectrum_acl_ctcam.o \
21f465261aSIdo Schimmel				   spectrum_acl_atcam.o spectrum_acl_erp.o \
229912e6b8SJiri Pirko				   spectrum1_acl_tcam.o spectrum2_acl_tcam.o \
230487cfbaSNir Dotan				   spectrum_acl_bloom_filter.o spectrum_acl.o \
24ebcff743SJiri Pirko				   spectrum_flower.o spectrum_cnt.o \
25ebcff743SJiri Pirko				   spectrum_fid.o spectrum_ipip.o \
26ebcff743SJiri Pirko				   spectrum_acl_flex_actions.o \
27c17d2083SJiri Pirko				   spectrum_acl_flex_keys.o \
2818ce0e4eSJiri Pirko				   spectrum1_mr_tcam.o spectrum2_mr_tcam.o \
298fae4392SJiri Pirko				   spectrum_mr_tcam.o spectrum_mr.o \
306e6030bdSIdo Schimmel				   spectrum_qdisc.o spectrum_span.o \
310a9798c1SJiri Pirko				   spectrum_nve.o spectrum_nve_vxlan.o \
320a9798c1SJiri Pirko				   spectrum_dpipe.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