Makefile 619 B

1234567891011121314151617181920
  1. # SPDX-License-Identifier: GPL-2.0
  2. common-objs := enetc.o enetc_cbdr.o enetc_ethtool.o
  3. obj-$(CONFIG_FSL_ENETC) += fsl-enetc.o
  4. fsl-enetc-y := enetc_pf.o $(common-objs)
  5. fsl-enetc-$(CONFIG_PCI_IOV) += enetc_msg.o
  6. fsl-enetc-$(CONFIG_FSL_ENETC_QOS) += enetc_qos.o
  7. obj-$(CONFIG_FSL_ENETC_VF) += fsl-enetc-vf.o
  8. fsl-enetc-vf-y := enetc_vf.o $(common-objs)
  9. obj-$(CONFIG_FSL_ENETC_IERB) += fsl-enetc-ierb.o
  10. fsl-enetc-ierb-y := enetc_ierb.o
  11. obj-$(CONFIG_FSL_ENETC_MDIO) += fsl-enetc-mdio.o
  12. fsl-enetc-mdio-y := enetc_pci_mdio.o enetc_mdio.o
  13. obj-$(CONFIG_FSL_ENETC_PTP_CLOCK) += fsl-enetc-ptp.o
  14. fsl-enetc-ptp-y := enetc_ptp.o