1d4fd0404SClaudiu Manoil# SPDX-License-Identifier: GPL-2.0
20c010a9dSClaudiu Manoil
30c010a9dSClaudiu Manoilcommon-objs := enetc.o enetc_cbdr.o enetc_ethtool.o
40c010a9dSClaudiu Manoil
5d4fd0404SClaudiu Manoilobj-$(CONFIG_FSL_ENETC) += fsl-enetc.o
60c010a9dSClaudiu Manoilfsl-enetc-y := enetc_pf.o enetc_mdio.o $(common-objs)
7beb74ac8SClaudiu Manoilfsl-enetc-$(CONFIG_PCI_IOV) += enetc_msg.o
8d4fd0404SClaudiu Manoil
9d4fd0404SClaudiu Manoilobj-$(CONFIG_FSL_ENETC_VF) += fsl-enetc-vf.o
100c010a9dSClaudiu Manoilfsl-enetc-vf-y := enetc_vf.o $(common-objs)
1119971f5eSYangbo Lu
12231ece36SClaudiu Manoilobj-$(CONFIG_FSL_ENETC_MDIO) += fsl-enetc-mdio.o
13231ece36SClaudiu Manoilfsl-enetc-mdio-y := enetc_pci_mdio.o enetc_mdio.o
14231ece36SClaudiu Manoil
1519971f5eSYangbo Luobj-$(CONFIG_FSL_ENETC_PTP_CLOCK) += fsl-enetc-ptp.o
160c010a9dSClaudiu Manoilfsl-enetc-ptp-y := enetc_ptp.o
17