1# SPDX-License-Identifier: GPL-2.0 2obj-$(CONFIG_MLXSW_CORE) += mlxsw_core.o 3mlxsw_core-objs := core.o core_acl_flex_keys.o \ 4 core_acl_flex_actions.o 5mlxsw_core-$(CONFIG_MLXSW_CORE_HWMON) += core_hwmon.o 6mlxsw_core-$(CONFIG_MLXSW_CORE_THERMAL) += core_thermal.o 7obj-$(CONFIG_MLXSW_PCI) += mlxsw_pci.o 8mlxsw_pci-objs := pci.o 9obj-$(CONFIG_MLXSW_I2C) += mlxsw_i2c.o 10mlxsw_i2c-objs := i2c.o 11obj-$(CONFIG_MLXSW_SWITCHIB) += mlxsw_switchib.o 12mlxsw_switchib-objs := switchib.o 13obj-$(CONFIG_MLXSW_SWITCHX2) += mlxsw_switchx2.o 14mlxsw_switchx2-objs := switchx2.o 15obj-$(CONFIG_MLXSW_SPECTRUM) += mlxsw_spectrum.o 16mlxsw_spectrum-objs := spectrum.o spectrum_buffers.o \ 17 spectrum_switchdev.o spectrum_router.o \ 18 spectrum_kvdl.o spectrum_acl_tcam.o \ 19 spectrum_acl.o spectrum_flower.o \ 20 spectrum_cnt.o spectrum_fid.o \ 21 spectrum_ipip.o spectrum_acl_flex_actions.o \ 22 spectrum_mr.o spectrum_mr_tcam.o \ 23 spectrum_qdisc.o 24mlxsw_spectrum-$(CONFIG_MLXSW_SPECTRUM_DCB) += spectrum_dcb.o 25mlxsw_spectrum-$(CONFIG_NET_DEVLINK) += spectrum_dpipe.o 26obj-$(CONFIG_MLXSW_MINIMAL) += mlxsw_minimal.o 27mlxsw_minimal-objs := minimal.o 28