# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2015 - 2022 Beijing WangXun Technology Co., Ltd.
#
# Makefile for the Wangxun(R) 10GbE PCI Express ethernet driver
#

obj-$(CONFIG_TXGBE) += txgbe.o

txgbe-objs := txgbe_main.o txgbe_ethtool.o \
              txgbe_hw.o txgbe_phy.o \
              txgbe_lib.o txgbe_ptp.o

txgbe-$(CONFIG_DEBUG_FS) += txgbe_debugfs.o
txgbe-${CONFIG_SYSFS} += txgbe_sysfs.o
