1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2# Copyright (c) 2019-2020 Marvell International Ltd.
3
4obj-$(CONFIG_QED) := qed.o
5
6qed-y :=			\
7	qed_chain.o		\
8	qed_cxt.o		\
9	qed_dcbx.o		\
10	qed_debug.o		\
11	qed_dev.o		\
12	qed_devlink.o		\
13	qed_hw.o		\
14	qed_init_fw_funcs.o	\
15	qed_init_ops.o		\
16	qed_int.o		\
17	qed_l2.o		\
18	qed_main.o		\
19	qed_mcp.o		\
20	qed_mng_tlv.o		\
21	qed_ptp.o		\
22	qed_selftest.o		\
23	qed_sp_commands.o	\
24	qed_spq.o
25
26qed-$(CONFIG_QED_FCOE) += qed_fcoe.o
27qed-$(CONFIG_QED_ISCSI) += qed_iscsi.o
28qed-$(CONFIG_QED_LL2) += qed_ll2.o
29qed-$(CONFIG_QED_OOO) += qed_ooo.o
30
31qed-$(CONFIG_QED_NVMETCP) +=	\
32	qed_nvmetcp.o		\
33	qed_nvmetcp_fw_funcs.o	\
34	qed_nvmetcp_ip_services.o
35
36qed-$(CONFIG_QED_RDMA) +=	\
37	qed_iwarp.o		\
38	qed_rdma.o		\
39	qed_roce.o
40
41qed-$(CONFIG_QED_SRIOV) +=	\
42	qed_sriov.o		\
43	qed_vf.o
44