cmake: fix CONF_FILE parsing to allow for cmake lists
Modify CONF_FILE variable treatment in the cmake infrastructure to enable the use of CMake lists and semicolon-separated strings in setting the CONF_FILE list for multiple configuration files. This change does not impact the current method of using single-space-separated strings for multiple files. Signed-off-by: Michael R Rosen <michael.r.rosen@intel.com>
This commit is contained in:
parent
4dcf928a40
commit
025a1e9086
|
@ -10,7 +10,7 @@ set(BOARD_DEFCONFIG ${BOARD_DIR}/${BOARD}_defconfig)
|
|||
set(DOTCONFIG ${PROJECT_BINARY_DIR}/.config)
|
||||
|
||||
if(CONF_FILE)
|
||||
string(REPLACE " " ";" CONF_FILE_AS_LIST ${CONF_FILE})
|
||||
string(REPLACE " " ";" CONF_FILE_AS_LIST "${CONF_FILE}")
|
||||
endif()
|
||||
|
||||
set(ENV{srctree} ${ZEPHYR_BASE})
|
||||
|
|
Loading…
Reference in a new issue