summaryrefslogtreecommitdiff
path: root/drivers/net/phy/mscc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy/mscc/Makefile')
-rw-r--r--drivers/net/phy/mscc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/phy/mscc/Makefile b/drivers/net/phy/mscc/Makefile
index 10af42cd9839..d8e22a4eeeff 100644
--- a/drivers/net/phy/mscc/Makefile
+++ b/drivers/net/phy/mscc/Makefile
@@ -8,3 +8,7 @@ mscc-objs := mscc_main.o
ifdef CONFIG_MACSEC
mscc-objs += mscc_macsec.o
endif
+
+ifdef CONFIG_NETWORK_PHY_TIMESTAMPING
+mscc-objs += mscc_ptp.o
+endif