22 lines
671 B
Makefile
22 lines
671 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
common-objs := enetc.o enetc_cbdr.o enetc_ethtool.o
|
|
|
|
obj-$(CONFIG_FSL_ENETC) += fsl-enetc.o
|
|
fsl-enetc-y := enetc_pf.o $(common-objs)
|
|
fsl-enetc-$(CONFIG_PCI_IOV) += enetc_msg.o
|
|
fsl-enetc-$(CONFIG_FSL_ENETC_QOS) += enetc_qos.o
|
|
|
|
obj-$(CONFIG_FSL_ENETC_VF) += fsl-enetc-vf.o
|
|
fsl-enetc-vf-y := enetc_vf.o $(common-objs)
|
|
fsl-enetc-vf-$(CONFIG_FSL_ENETC_QOS) += enetc_qos.o
|
|
|
|
obj-$(CONFIG_FSL_ENETC_IERB) += fsl-enetc-ierb.o
|
|
fsl-enetc-ierb-y := enetc_ierb.o
|
|
|
|
obj-$(CONFIG_FSL_ENETC_MDIO) += fsl-enetc-mdio.o
|
|
fsl-enetc-mdio-y := enetc_pci_mdio.o enetc_mdio.o
|
|
|
|
obj-$(CONFIG_FSL_ENETC_PTP_CLOCK) += fsl-enetc-ptp.o
|
|
fsl-enetc-ptp-y := enetc_ptp.o
|