blob: 7139e414dccf54537001686ce3a683232a159f47 [file] [log] [blame]
Claudiu Manoild4fd04042019-01-22 15:29:54 +02001# SPDX-License-Identifier: GPL-2.0
2obj-$(CONFIG_FSL_ENETC) += fsl-enetc.o
Claudiu Manoilebfcb232019-02-26 15:42:22 +02003fsl-enetc-$(CONFIG_FSL_ENETC) += enetc.o enetc_cbdr.o enetc_ethtool.o \
4 enetc_mdio.o
Claudiu Manoilbeb74ac2019-01-22 15:29:56 +02005fsl-enetc-$(CONFIG_PCI_IOV) += enetc_msg.o
Claudiu Manoild4fd04042019-01-22 15:29:54 +02006fsl-enetc-objs := enetc_pf.o $(fsl-enetc-y)
7
8obj-$(CONFIG_FSL_ENETC_VF) += fsl-enetc-vf.o
9
10ifeq ($(CONFIG_FSL_ENETC)$(CONFIG_FSL_ENETC_VF), yy)
11fsl-enetc-vf-objs := enetc_vf.o
12else
13fsl-enetc-vf-$(CONFIG_FSL_ENETC_VF) += enetc.o enetc_cbdr.o \
14 enetc_ethtool.o
15fsl-enetc-vf-objs := enetc_vf.o $(fsl-enetc-vf-y)
16endif
Yangbo Lu19971f52019-02-12 12:24:03 +080017
18obj-$(CONFIG_FSL_ENETC_PTP_CLOCK) += fsl-enetc-ptp.o
19fsl-enetc-ptp-$(CONFIG_FSL_ENETC_PTP_CLOCK) += enetc_ptp.o