1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
25a2cc190SJeff Kirsherobj-$(CONFIG_MLX4_CORE)		+= mlx4_core.o
35a2cc190SJeff Kirsher
412a889c0SIdo Shamaymlx4_core-y :=	alloc.o catas.o cmd.o cq.o eq.o fw.o fw_qos.o icm.o intf.o \
512a889c0SIdo Shamay		main.o mcg.o mr.o pd.o port.o profile.o qp.o reset.o sense.o \
6bedc989bSAlex Vesker		srq.o resource_tracker.o crdump.o
75a2cc190SJeff Kirsher
85a2cc190SJeff Kirsherobj-$(CONFIG_MLX4_EN)               += mlx4_en.o
95a2cc190SJeff Kirsher
105a2cc190SJeff Kirshermlx4_en-y := 	en_main.o en_tx.o en_rx.o en_ethtool.o en_port.o en_cq.o \
11ec693d47SAmir Vadai		en_resources.o en_netdev.o en_selftest.o en_clock.o
12564c274cSAmir Vadaimlx4_en-$(CONFIG_MLX4_EN_DCB) += en_dcb_nl.o
13