Skip to content
Permalink
Browse files

qmsi: make building depend on CONFIG_QMSI

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 18, 2019
1 parent ce7e03e commit 3179a8e44912a5a05b1cb467870b7e91aedff8d6
Showing with 2 additions and 0 deletions.
  1. +2 −0 CMakeLists.txt
@@ -1,3 +1,4 @@
if(CONFIG_QMSI)
zephyr_library()

zephyr_compile_definitions( ENABLE_EXTERNAL_ISR_HANDLING)
@@ -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_UART_QMSI drivers/uart/qm_uart.c)
zephyr_library_sources_ifdef(CONFIG_WDT_QMSI drivers/wdt/qm_wdt.c)
endif()

0 comments on commit 3179a8e

Please sign in to comment.
You can’t perform that action at this time.