1 # SPDX-License-Identifier: GPL-2.0
2 obj-
$(CONFIG_MLXSW_CORE
) += mlxsw_core.o
3 mlxsw_core-objs
:= core.o core_acl_flex_keys.o \
4 core_acl_flex_actions.o
5 mlxsw_core-
$(CONFIG_MLXSW_CORE_HWMON
) += core_hwmon.o
6 mlxsw_core-
$(CONFIG_MLXSW_CORE_THERMAL
) += core_thermal.o
7 obj-
$(CONFIG_MLXSW_PCI
) += mlxsw_pci.o
8 mlxsw_pci-objs
:= pci.o
9 obj-
$(CONFIG_MLXSW_I2C
) += mlxsw_i2c.o
10 mlxsw_i2c-objs
:= i2c.o
11 obj-
$(CONFIG_MLXSW_SWITCHIB
) += mlxsw_switchib.o
12 mlxsw_switchib-objs
:= switchib.o
13 obj-
$(CONFIG_MLXSW_SWITCHX2
) += mlxsw_switchx2.o
14 mlxsw_switchx2-objs
:= switchx2.o
15 obj-
$(CONFIG_MLXSW_SPECTRUM
) += mlxsw_spectrum.o
16 mlxsw_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 \
24 mlxsw_spectrum-
$(CONFIG_MLXSW_SPECTRUM_DCB
) += spectrum_dcb.o
25 mlxsw_spectrum-
$(CONFIG_NET_DEVLINK
) += spectrum_dpipe.o
26 obj-
$(CONFIG_MLXSW_MINIMAL
) += mlxsw_minimal.o
27 mlxsw_minimal-objs
:= minimal.o