Skip to content

Commit

Permalink
qmsi: make building depend on CONFIG_QMSI
Browse files Browse the repository at this point in the history
Make sure we do not look into this file if QMSI is not defined.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information
nashif committed Apr 19, 2019
1 parent ce7e03e commit 3179a8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
@@ -1,3 +1,4 @@
if(CONFIG_QMSI)
zephyr_library() zephyr_library()


zephyr_compile_definitions( ENABLE_EXTERNAL_ISR_HANDLING) zephyr_compile_definitions( ENABLE_EXTERNAL_ISR_HANDLING)
Expand Down Expand Up @@ -50,3 +51,4 @@ zephyr_library_sources_ifdef(CONFIG_SOC_FLASH_QMSI drivers/flash/qm_flash.
zephyr_library_sources_ifdef(CONFIG_SOC_WATCH drivers/soc_watch.c) zephyr_library_sources_ifdef(CONFIG_SOC_WATCH drivers/soc_watch.c)
zephyr_library_sources_ifdef(CONFIG_UART_QMSI drivers/uart/qm_uart.c) zephyr_library_sources_ifdef(CONFIG_UART_QMSI drivers/uart/qm_uart.c)
zephyr_library_sources_ifdef(CONFIG_WDT_QMSI drivers/wdt/qm_wdt.c) zephyr_library_sources_ifdef(CONFIG_WDT_QMSI drivers/wdt/qm_wdt.c)
endif()

0 comments on commit 3179a8e

Please sign in to comment.