cmake: fix assert message about misc/Kconfig

We have no Kconfig in misc/. Most options were moved to Kconfig.zephyr.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-01-18 19:15:19 -05:00
parent 5f371e038f
commit 885aaf2734

View file

@ -111,7 +111,7 @@ elseif(CONFIG_SPEED_OPTIMIZATIONS)
elseif(CONFIG_SIZE_OPTIMIZATIONS) elseif(CONFIG_SIZE_OPTIMIZATIONS)
set(OPTIMIZATION_FLAG ${OPTIMIZE_FOR_SIZE_FLAG}) # Default set(OPTIMIZATION_FLAG ${OPTIMIZE_FOR_SIZE_FLAG}) # Default
else() else()
assert(0 "Unreachable code. Expected optimization level to have been chosen. See misc/Kconfig.") assert(0 "Unreachable code. Expected optimization level to have been chosen. See Kconfig.zephyr")
endif() endif()
# Dialects of C++, corresponding to the multiple published ISO standards. # Dialects of C++, corresponding to the multiple published ISO standards.
@ -133,7 +133,7 @@ elseif(CONFIG_STD_CPP17)
elseif(CONFIG_STD_CPP2A) elseif(CONFIG_STD_CPP2A)
set(STD_CPP_DIALECT ${DIALECT_STD_CPP2A}) set(STD_CPP_DIALECT ${DIALECT_STD_CPP2A})
else() else()
assert(0 "Unreachable code. Expected C++ standard to have been chosen. See misc/Kconfig.") assert(0 "Unreachable code. Expected C++ standard to have been chosen. See Kconfig.zephyr.")
endif() endif()
zephyr_compile_options( zephyr_compile_options(