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 \
18*ff462103SJiri Pirko				   spectrum_router_xm.o \
19742f75a6SJiri Pirko				   spectrum1_kvdl.o spectrum2_kvdl.o \
20742f75a6SJiri Pirko				   spectrum_kvdl.o \
2164eccd00SJiri Pirko				   spectrum_acl_tcam.o spectrum_acl_ctcam.o \
22f465261aSIdo Schimmel				   spectrum_acl_atcam.o spectrum_acl_erp.o \
239912e6b8SJiri Pirko				   spectrum1_acl_tcam.o spectrum2_acl_tcam.o \
240487cfbaSNir Dotan				   spectrum_acl_bloom_filter.o spectrum_acl.o \
25d7fcc986SJiri Pirko				   spectrum_flow.o spectrum_matchall.o \
26ebcff743SJiri Pirko				   spectrum_flower.o spectrum_cnt.o \
27ebcff743SJiri Pirko				   spectrum_fid.o spectrum_ipip.o \
28ebcff743SJiri Pirko				   spectrum_acl_flex_actions.o \
29c17d2083SJiri Pirko				   spectrum_acl_flex_keys.o \
3018ce0e4eSJiri Pirko				   spectrum1_mr_tcam.o spectrum2_mr_tcam.o \
318fae4392SJiri Pirko				   spectrum_mr_tcam.o spectrum_mr.o \
326e6030bdSIdo Schimmel				   spectrum_qdisc.o spectrum_span.o \
330a9798c1SJiri Pirko				   spectrum_nve.o spectrum_nve_vxlan.o \
34614d509aSAmit Cohen				   spectrum_dpipe.o spectrum_trap.o \
358d3fbae7SIdo Schimmel				   spectrum_ethtool.o spectrum_policer.o
36f00817dfSIdo Schimmelmlxsw_spectrum-$(CONFIG_MLXSW_SPECTRUM_DCB)	+= spectrum_dcb.o
37992aa864SShalom Toledomlxsw_spectrum-$(CONFIG_PTP_1588_CLOCK)		+= spectrum_ptp.o
38d556e929SVadim Pasternakobj-$(CONFIG_MLXSW_MINIMAL)	+= mlxsw_minimal.o
39d556e929SVadim Pasternakmlxsw_minimal-objs		:= minimal.o
40