xref: /openbmc/linux/drivers/net/phy/mscc/Makefile (revision 85e97f0b)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for MSCC networking PHY driver
4
5obj-$(CONFIG_MICROSEMI_PHY) := mscc.o
6mscc-objs := mscc_main.o
7mscc-objs += mscc_serdes.o
8
9ifdef CONFIG_MACSEC
10mscc-objs += mscc_macsec.o
11endif
12
13ifdef CONFIG_NETWORK_PHY_TIMESTAMPING
14mscc-objs += mscc_ptp.o
15endif
16