xref: /openbmc/linux/drivers/net/phy/mscc/Makefile (revision e15a5365)
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
7
8ifdef CONFIG_MACSEC
9mscc-objs += mscc_macsec.o
10endif
11
12ifdef CONFIG_NETWORK_PHY_TIMESTAMPING
13mscc-objs += mscc_ptp.o
14endif
15