diff options
author | Simon Glass <sjg@chromium.org> | 2015-08-30 16:55:14 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-09-02 21:28:22 -0600 |
commit | 6a436c9182a90551739a5b7b3f44254234056915 (patch) | |
tree | b4a87a9d6b879de05375afa00e9129e2d0685e4b /drivers/led/Makefile | |
parent | c5acf4a2b3c6fd49aa0bc02db50f4b625b2e2991 (diff) | |
download | u-boot-6a436c9182a90551739a5b7b3f44254234056915.tar.gz |
dm: led: Tidy up SPL options for the led and led-gpio
At present SPL does not have its own option. But these features can
increase SPL code size. Adjust the Kconfig and Makefile so that
separate a SPL option can be selected.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/led/Makefile')
-rw-r--r-- | drivers/led/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/led/Makefile b/drivers/led/Makefile index 990129e08d..02367fdacb 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 |