cmake: set build dir for mconf-idf
Fixes an issue where if idf_build_process is called in a CMake subdirectory, menuconfig looks for the mconf-idf binary in the wrong place (in the subdirectory build dir instead of root binary dir).
This commit is contained in:
parent
a0c14f46ba
commit
781bd398dc
|
@ -53,7 +53,7 @@ if(NOT MCONF)
|
|||
externalproject_add(mconf-idf
|
||||
SOURCE_DIR ${IDF_PATH}/tools/kconfig
|
||||
CONFIGURE_COMMAND ""
|
||||
BINARY_DIR "kconfig_bin"
|
||||
BINARY_DIR "${CMAKE_BINARY_DIR}/kconfig_bin"
|
||||
BUILD_COMMAND make -f ${IDF_PATH}/tools/kconfig/Makefile mconf-idf
|
||||
BUILD_BYPRODUCTS ${MCONF}
|
||||
INSTALL_COMMAND ""
|
||||
|
|
Loading…
Reference in a new issue