xref: /linux/drivers/net/ethernet/marvell/octeontx2/nic/Makefile (revision 1a9239bb4253f9076b5b4b2a1a4e8d7defd77a95)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for Marvell's RVU Ethernet device drivers
4#
5
6obj-$(CONFIG_OCTEONTX2_PF) += rvu_nicpf.o otx2_ptp.o
7obj-$(CONFIG_OCTEONTX2_VF) += rvu_nicvf.o otx2_ptp.o
8obj-$(CONFIG_RVU_ESWITCH) += rvu_rep.o
9
10rvu_nicpf-y := otx2_pf.o otx2_common.o otx2_txrx.o otx2_ethtool.o \
11               otx2_flows.o otx2_tc.o cn10k.o otx2_dmac_flt.o \
12               otx2_devlink.o qos_sq.o qos.o otx2_xsk.o
13rvu_nicvf-y := otx2_vf.o
14rvu_rep-y := rep.o
15
16rvu_nicpf-$(CONFIG_DCB) += otx2_dcbnl.o
17rvu_nicpf-$(CONFIG_MACSEC) += cn10k_macsec.o
18rvu_nicpf-$(CONFIG_XFRM_OFFLOAD) += cn10k_ipsec.o
19
20ccflags-y += -I$(srctree)/drivers/net/ethernet/marvell/octeontx2/af
21