Commit 08a2be83 authored by Daniel Leung's avatar Daniel Leung Committed by Christopher Friedt
Browse files

drivers: led_strip: build as static library



Instead of putting object files inside libzephyr.a,
simply build a separate static library as most other
driver types are doing this already.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 583d3924
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
# SPDX-License-Identifier: Apache-2.0

zephyr_sources_ifdef(CONFIG_LPD880X_STRIP       lpd880x.c)
zephyr_sources_ifdef(CONFIG_WS2812_STRIP_SPI    ws2812_spi.c)
zephyr_sources_ifdef(CONFIG_WS2812_STRIP_GPIO   ws2812_gpio.c)
zephyr_sources_ifdef(CONFIG_APA102_STRIP        apa102.c)
zephyr_library()

zephyr_library_sources_ifdef(CONFIG_APA102_STRIP        apa102.c)
zephyr_library_sources_ifdef(CONFIG_LPD880X_STRIP       lpd880x.c)
zephyr_library_sources_ifdef(CONFIG_WS2812_STRIP_GPIO   ws2812_gpio.c)
zephyr_library_sources_ifdef(CONFIG_WS2812_STRIP_SPI    ws2812_spi.c)