summaryrefslogtreecommitdiff
path: root/drivers/led/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/led/Makefile')
-rw-r--r--drivers/led/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/led/Makefile b/drivers/led/Makefile
index 990129e..02367fd 100644
--- a/drivers/led/Makefile
+++ b/drivers/led/Makefile
@@ -5,5 +5,5 @@
# SPDX-License-Identifier: GPL-2.0+
#
-obj-$(CONFIG_LED) += led-uclass.o
-obj-$(CONFIG_LED_GPIO) += led_gpio.o
+obj-y += led-uclass.o
+obj-$(CONFIG_$(SPL_)LED_GPIO) += led_gpio.o