Makefile (cbecf716ca618fd44feda6bd9a64a8179d031fc5) Makefile (f48298d3fbfaadedd7e7bd1cdcbb3f1291a8d42d)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the Freescale DPAA2 Ethernet controller
4#
5
6obj-$(CONFIG_FSL_DPAA2_ETH) += fsl-dpaa2-eth.o
7obj-$(CONFIG_FSL_DPAA2_PTP_CLOCK) += fsl-dpaa2-ptp.o
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the Freescale DPAA2 Ethernet controller
4#
5
6obj-$(CONFIG_FSL_DPAA2_ETH) += fsl-dpaa2-eth.o
7obj-$(CONFIG_FSL_DPAA2_PTP_CLOCK) += fsl-dpaa2-ptp.o
8obj-$(CONFIG_FSL_DPAA2_SWITCH) += fsl-dpaa2-switch.o
8
9fsl-dpaa2-eth-objs := dpaa2-eth.o dpaa2-ethtool.o dpni.o dpaa2-mac.o dpmac.o dpaa2-eth-devlink.o
10fsl-dpaa2-eth-${CONFIG_FSL_DPAA2_ETH_DCB} += dpaa2-eth-dcb.o
11fsl-dpaa2-eth-${CONFIG_DEBUG_FS} += dpaa2-eth-debugfs.o
12fsl-dpaa2-ptp-objs := dpaa2-ptp.o dprtc.o
9
10fsl-dpaa2-eth-objs := dpaa2-eth.o dpaa2-ethtool.o dpni.o dpaa2-mac.o dpmac.o dpaa2-eth-devlink.o
11fsl-dpaa2-eth-${CONFIG_FSL_DPAA2_ETH_DCB} += dpaa2-eth-dcb.o
12fsl-dpaa2-eth-${CONFIG_DEBUG_FS} += dpaa2-eth-debugfs.o
13fsl-dpaa2-ptp-objs := dpaa2-ptp.o dprtc.o
14fsl-dpaa2-switch-objs := dpaa2-switch.o dpaa2-switch-ethtool.o dpsw.o
13
14# Needed by the tracing framework
15CFLAGS_dpaa2-eth.o := -I$(src)
15
16# Needed by the tracing framework
17CFLAGS_dpaa2-eth.o := -I$(src)