xref: /linux/drivers/net/phy/mscc/Makefile (revision 45de28e31a6e250cd9e17c8b9f9db5a439fb39b2)
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