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