summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/sja1105/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/dsa/sja1105/Makefile')
-rw-r--r--drivers/net/dsa/sja1105/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/dsa/sja1105/Makefile b/drivers/net/dsa/sja1105/Makefile
index 941848de8b46..4483113e6259 100644
--- a/drivers/net/dsa/sja1105/Makefile
+++ b/drivers/net/dsa/sja1105/Makefile
@@ -8,3 +8,7 @@ sja1105-objs := \
sja1105_clocking.o \
sja1105_static_config.o \
sja1105_dynamic_config.o \
+
+ifdef CONFIG_NET_DSA_SJA1105_PTP
+sja1105-objs += sja1105_ptp.o
+endif