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 \
187aa0f5aaSJiri Pirko				   spectrum_kvdl.o spectrum_acl_tcam.o \
19ff7b0d27SArkadi Sharshevsky				   spectrum_acl.o spectrum_flower.o \
2038ebc0f4SPetr Machata				   spectrum_cnt.o spectrum_fid.o \
21c011ec1bSYotam Gigi				   spectrum_ipip.o spectrum_acl_flex_actions.o \
2296f17e07SNogah Frankel				   spectrum_mr.o spectrum_mr_tcam.o \
23a629ef21SPetr Machata				   spectrum_qdisc.o spectrum_span.o
24f00817dfSIdo Schimmelmlxsw_spectrum-$(CONFIG_MLXSW_SPECTRUM_DCB)	+= spectrum_dcb.o
2510bfec0aSJiri Pirkomlxsw_spectrum-$(CONFIG_NET_DEVLINK) += spectrum_dpipe.o
26d556e929SVadim Pasternakobj-$(CONFIG_MLXSW_MINIMAL)	+= mlxsw_minimal.o
27d556e929SVadim Pasternakmlxsw_minimal-objs		:= minimal.o
28