xref: /linux/drivers/net/ethernet/freescale/dpaa2/Makefile (revision 71e2f4dd5a65bd8dbca0b77661e75eea471168f8)
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
8
9fsl-dpaa2-eth-objs	:= dpaa2-eth.o dpaa2-ethtool.o dpni.o
10fsl-dpaa2-eth-${CONFIG_DEBUG_FS} += dpaa2-eth-debugfs.o
11fsl-dpaa2-ptp-objs	:= dpaa2-ptp.o dprtc.o
12
13# Needed by the tracing framework
14CFLAGS_dpaa2-eth.o := -I$(src)
15