]> git.sur5r.net Git - u-boot/blobdiff - drivers/led/Makefile
dm: led: Tidy up SPL options for the led and led-gpio
[u-boot] / drivers / led / Makefile
index 990129e08d366d0ca54c049a03cbbee8ea71887b..02367fdacbc10e77abbe51979b2a40bc1fa2bc56 100644 (file)
@@ -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