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 core_env.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_router_xm.o \ 19 spectrum1_kvdl.o spectrum2_kvdl.o \ 20 spectrum_kvdl.o \ 21 spectrum_acl_tcam.o spectrum_acl_ctcam.o \ 22 spectrum_acl_atcam.o spectrum_acl_erp.o \ 23 spectrum1_acl_tcam.o spectrum2_acl_tcam.o \ 24 spectrum_acl_bloom_filter.o spectrum_acl.o \ 25 spectrum_flow.o spectrum_matchall.o \ 26 spectrum_flower.o spectrum_cnt.o \ 27 spectrum_fid.o spectrum_ipip.o \ 28 spectrum_acl_flex_actions.o \ 29 spectrum_acl_flex_keys.o \ 30 spectrum1_mr_tcam.o spectrum2_mr_tcam.o \ 31 spectrum_mr_tcam.o spectrum_mr.o \ 32 spectrum_qdisc.o spectrum_span.o \ 33 spectrum_nve.o spectrum_nve_vxlan.o \ 34 spectrum_dpipe.o spectrum_trap.o \ 35 spectrum_ethtool.o spectrum_policer.o 36mlxsw_spectrum-$(CONFIG_MLXSW_SPECTRUM_DCB) += spectrum_dcb.o 37mlxsw_spectrum-$(CONFIG_PTP_1588_CLOCK) += spectrum_ptp.o 38obj-$(CONFIG_MLXSW_MINIMAL) += mlxsw_minimal.o 39mlxsw_minimal-objs := minimal.o 40