cmake: Rename CMake variable out of the reserved CONFIG_ namespace
Rename the poorly named CMake variable 'CONFIG_COMPILER_OPT_AS_LIST' to 'COMPILER_OPT_AS_LIST' to take it out of the Kconfig-reserved namespace 'CONFIG_*'. This is a small step towards resolving #12144 Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
parent
2610c09f0f
commit
244451b64f
1 changed files with 2 additions and 2 deletions
|
@ -312,8 +312,8 @@ if(CONFIG_OVERRIDE_FRAME_POINTER_DEFAULT)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
separate_arguments(CONFIG_COMPILER_OPT_AS_LIST UNIX_COMMAND ${CONFIG_COMPILER_OPT})
|
||||
zephyr_compile_options(${CONFIG_COMPILER_OPT_AS_LIST})
|
||||
separate_arguments(COMPILER_OPT_AS_LIST UNIX_COMMAND ${CONFIG_COMPILER_OPT})
|
||||
zephyr_compile_options(${COMPILER_OPT_AS_LIST})
|
||||
|
||||
# TODO: Include arch compiler options at this point.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue