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