xref: /OK3568_Linux_fs/kernel/drivers/net/phy/mscc/Makefile (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Makefile for MSCC networking PHY driver
4*4882a593Smuzhiyun
5*4882a593Smuzhiyunobj-$(CONFIG_MICROSEMI_PHY) := mscc.o
6*4882a593Smuzhiyunmscc-objs := mscc_main.o
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunifdef CONFIG_MACSEC
9*4882a593Smuzhiyunmscc-objs += mscc_macsec.o
10*4882a593Smuzhiyunendif
11*4882a593Smuzhiyun
12*4882a593Smuzhiyunifdef CONFIG_NETWORK_PHY_TIMESTAMPING
13*4882a593Smuzhiyunmscc-objs += mscc_ptp.o
14*4882a593Smuzhiyunendif
15