Merge branch 'bugfix/set_mconf_idf_build_dir' into 'master'

cmake: set build dir for mconf-idf

See merge request espressif/esp-idf!5819
This commit is contained in:
Angus Gratton 2019-08-20 13:10:36 +08:00
commit 60eec0e969

View File

@ -67,7 +67,7 @@ function(__kconfig_init)
externalproject_add(mconf-idf
SOURCE_DIR ${src_path}
CONFIGURE_COMMAND ""
BINARY_DIR "kconfig_bin"
BINARY_DIR "${CMAKE_BINARY_DIR}/kconfig_bin"
BUILD_COMMAND rm -f ${src_path}/zconf.lex.c ${src_path}/zconf.hash.c
COMMAND make -f ${src_path}/Makefile mconf-idf
BUILD_BYPRODUCTS ${MCONF}