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