xref: /linux/drivers/net/ethernet/amd/xgbe/Makefile (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1# SPDX-License-Identifier: GPL-2.0
2obj-$(CONFIG_AMD_XGBE) += amd-xgbe.o
3
4amd-xgbe-objs := xgbe-main.o xgbe-drv.o xgbe-dev.o \
5		 xgbe-desc.o xgbe-ethtool.o xgbe-mdio.o \
6		 xgbe-ptp.o \
7		 xgbe-i2c.o xgbe-phy-v1.o xgbe-phy-v2.o \
8		 xgbe-platform.o
9
10amd-xgbe-$(CONFIG_PCI) += xgbe-pci.o
11amd-xgbe-$(CONFIG_AMD_XGBE_DCB) += xgbe-dcb.o
12amd-xgbe-$(CONFIG_DEBUG_FS) += xgbe-debugfs.o
13