xref: /linux/drivers/net/ethernet/marvell/octeontx2/nic/Makefile (revision 8be4d31cb8aaeea27bde4b7ddb26e28a89062ebf)
116547577SSunil Goutham# SPDX-License-Identifier: GPL-2.0
216547577SSunil Goutham#
3cb0e3ec4SSunil Goutham# Makefile for Marvell's RVU Ethernet device drivers
416547577SSunil Goutham#
516547577SSunil Goutham
60e9e7598SArnd Bergmannobj-$(CONFIG_OCTEONTX2_PF) += rvu_nicpf.o otx2_ptp.o
70e9e7598SArnd Bergmannobj-$(CONFIG_OCTEONTX2_VF) += rvu_nicvf.o otx2_ptp.o
8222a4eeaSGeetha sowjanyaobj-$(CONFIG_RVU_ESWITCH) += rvu_rep.o
916547577SSunil Goutham
10facede82SSubbaraya Sundeeprvu_nicpf-y := otx2_pf.o otx2_common.o otx2_txrx.o otx2_ethtool.o \
11*370c2374SSai Krishna               otx2_flows.o otx2_tc.o cn10k.o cn20k.o otx2_dmac_flt.o \
12efabce29SSuman Ghosh               otx2_devlink.o qos_sq.o qos.o otx2_xsk.o
131062d038SGeetha sowjanyarvu_nicvf-y := otx2_vf.o
14222a4eeaSGeetha sowjanyarvu_rep-y := rep.o
1516547577SSunil Goutham
168e675581SHariprasad Kelamrvu_nicpf-$(CONFIG_DCB) += otx2_dcbnl.o
17c54ffc73SSubbaraya Sundeeprvu_nicpf-$(CONFIG_MACSEC) += cn10k_macsec.o
18fe079ab0SBharat Bhushanrvu_nicpf-$(CONFIG_XFRM_OFFLOAD) += cn10k_ipsec.o
198e675581SHariprasad Kelam
2016547577SSunil Gouthamccflags-y += -I$(srctree)/drivers/net/ethernet/marvell/octeontx2/af
21