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 \
44cda7d8dSJiri Pirko				   core_acl_flex_actions.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 \
2164eccd00SJiri Pirko				   spectrum1_acl_tcam.o \
2264eccd00SJiri Pirko				   spectrum_acl.o \
23ebcff743SJiri Pirko				   spectrum_flower.o spectrum_cnt.o \
24ebcff743SJiri Pirko				   spectrum_fid.o spectrum_ipip.o \
25ebcff743SJiri Pirko				   spectrum_acl_flex_actions.o \
26c17d2083SJiri Pirko				   spectrum_acl_flex_keys.o \
278fae4392SJiri Pirko				   spectrum1_mr_tcam.o \
288fae4392SJiri Pirko				   spectrum_mr_tcam.o spectrum_mr.o \
29a629ef21SPetr Machata				   spectrum_qdisc.o spectrum_span.o
30f00817dfSIdo Schimmelmlxsw_spectrum-$(CONFIG_MLXSW_SPECTRUM_DCB)	+= spectrum_dcb.o
3110bfec0aSJiri Pirkomlxsw_spectrum-$(CONFIG_NET_DEVLINK) += spectrum_dpipe.o
32d556e929SVadim Pasternakobj-$(CONFIG_MLXSW_MINIMAL)	+= mlxsw_minimal.o
33d556e929SVadim Pasternakmlxsw_minimal-objs		:= minimal.o
34