xref: /linux/drivers/net/ethernet/marvell/octeontx2/nic/Makefile (revision ec8a42e7343234802b9054874fe01810880289ce)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for Marvell's OcteonTX2 ethernet device drivers
4#
5
6obj-$(CONFIG_OCTEONTX2_PF) += rvu_nicpf.o
7obj-$(CONFIG_OCTEONTX2_VF) += rvu_nicvf.o
8
9rvu_nicpf-y := otx2_pf.o otx2_common.o otx2_txrx.o otx2_ethtool.o \
10		     otx2_ptp.o otx2_flows.o cn10k.o
11rvu_nicvf-y := otx2_vf.o
12
13ccflags-y += -I$(srctree)/drivers/net/ethernet/marvell/octeontx2/af
14