modules: remove uncessary source for external cmsis kconfig

CMSIS uses an external KConfig so sourcing the KConfig is uncessary. This
also adds a comment if it is not available.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
This commit is contained in:
Ryan McClelland 2023-09-26 11:51:09 -07:00 committed by Anas Nashif
commit 8d5ed530d7
2 changed files with 6 additions and 1 deletions

View file

@ -17,7 +17,6 @@ comment "Optional modules. Make sure they're installed, via the project manifest
source "modules/Kconfig.altera"
source "modules/Kconfig.atmel"
source "modules/Kconfig.chre"
source "modules/cmsis/Kconfig"
source "modules/Kconfig.cypress"
source "modules/Kconfig.eos_s3"
source "modules/Kconfig.esp32"
@ -108,6 +107,9 @@ comment "Segger module not available."
comment "LVGL module not available."
depends on !ZEPHYR_LVGL_MODULE
comment "cmsis module not available."
depends on !ZEPHYR_CMSIS_MODULE
comment "cmsis-dsp module not available."
depends on !ZEPHYR_CMSIS_DSP_MODULE

View file

@ -1,6 +1,9 @@
# Copyright (c) 2016 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config ZEPHYR_CMSIS_MODULE
bool
config HAS_CMSIS_CORE
bool
select HAS_CMSIS_CORE_A if CPU_AARCH32_CORTEX_A