drivers: display: 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. Also sort the entries alphabetically. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
8dd6540e02
commit
eb0060cd7b
1 changed files with 17 additions and 19 deletions
|
@ -1,25 +1,23 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
zephyr_sources_ifdef(CONFIG_DISPLAY_MCUX_ELCDIF display_mcux_elcdif.c)
|
zephyr_library()
|
||||||
zephyr_sources_ifdef(CONFIG_GROVE_LCD_RGB grove_lcd_rgb.c)
|
zephyr_library_sources_ifdef(CONFIG_DISPLAY_MCUX_ELCDIF display_mcux_elcdif.c)
|
||||||
zephyr_sources_ifdef(CONFIG_SSD1306 ssd1306.c)
|
zephyr_library_sources_ifdef(CONFIG_DUMMY_DISPLAY display_dummy.c)
|
||||||
zephyr_sources_ifdef(CONFIG_SSD16XX ssd16xx.c)
|
zephyr_library_sources_ifdef(CONFIG_FRAMEBUF_DISPLAY display_framebuf.c)
|
||||||
zephyr_sources_ifdef(CONFIG_SDL_DISPLAY display_sdl.c)
|
zephyr_library_sources_ifdef(CONFIG_GD7965 gd7965.c)
|
||||||
zephyr_sources_ifdef(CONFIG_DUMMY_DISPLAY display_dummy.c)
|
zephyr_library_sources_ifdef(CONFIG_GROVE_LCD_RGB grove_lcd_rgb.c)
|
||||||
zephyr_sources_ifdef(CONFIG_FRAMEBUF_DISPLAY display_framebuf.c)
|
zephyr_library_sources_ifdef(CONFIG_ILI9XXX display_ili9xxx.c)
|
||||||
zephyr_sources_ifdef(CONFIG_ST7789V display_st7789v.c)
|
zephyr_library_sources_ifdef(CONFIG_ILI9340 display_ili9340.c)
|
||||||
zephyr_sources_ifdef(CONFIG_ST7735R display_st7735r.c)
|
zephyr_library_sources_ifdef(CONFIG_ILI9341 display_ili9341.c)
|
||||||
zephyr_sources_ifdef(CONFIG_GD7965 gd7965.c)
|
zephyr_library_sources_ifdef(CONFIG_ILI9488 display_ili9488.c)
|
||||||
zephyr_sources_ifdef(CONFIG_LS0XX ls0xx.c)
|
zephyr_library_sources_ifdef(CONFIG_LS0XX ls0xx.c)
|
||||||
|
zephyr_library_sources_ifdef(CONFIG_SDL_DISPLAY display_sdl.c)
|
||||||
|
zephyr_library_sources_ifdef(CONFIG_SSD1306 ssd1306.c)
|
||||||
|
zephyr_library_sources_ifdef(CONFIG_SSD16XX ssd16xx.c)
|
||||||
|
zephyr_library_sources_ifdef(CONFIG_ST7789V display_st7789v.c)
|
||||||
|
zephyr_library_sources_ifdef(CONFIG_ST7735R display_st7735r.c)
|
||||||
|
|
||||||
if (CONFIG_ILI9XXX)
|
zephyr_library_sources_ifdef(CONFIG_MICROBIT_DISPLAY
|
||||||
zephyr_sources(display_ili9xxx.c)
|
|
||||||
endif()
|
|
||||||
zephyr_sources_ifdef(CONFIG_ILI9340 display_ili9340.c)
|
|
||||||
zephyr_sources_ifdef(CONFIG_ILI9341 display_ili9341.c)
|
|
||||||
zephyr_sources_ifdef(CONFIG_ILI9488 display_ili9488.c)
|
|
||||||
|
|
||||||
zephyr_sources_ifdef(CONFIG_MICROBIT_DISPLAY
|
|
||||||
mb_display.c
|
mb_display.c
|
||||||
mb_font.c
|
mb_font.c
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue