summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/qca/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/dsa/qca/Makefile')
-rw-r--r--drivers/net/dsa/qca/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/dsa/qca/Makefile b/drivers/net/dsa/qca/Makefile
index 701f1d199e93..ce66b1984e5f 100644
--- a/drivers/net/dsa/qca/Makefile
+++ b/drivers/net/dsa/qca/Makefile
@@ -2,3 +2,6 @@
obj-$(CONFIG_NET_DSA_AR9331) += ar9331.o
obj-$(CONFIG_NET_DSA_QCA8K) += qca8k.o
qca8k-y += qca8k-common.o qca8k-8xxx.o
+ifdef CONFIG_NET_DSA_QCA8K_LEDS_SUPPORT
+qca8k-y += qca8k-leds.o
+endif