cmake: export IDF_TARGET to menuconfig

Pass value of IDF_TARGET to menuconfig invocation.
This commit is contained in:
Renz Christian Bagaporo 2019-06-15 11:20:43 +08:00
parent 8424822150
commit 2fff500a1c

View file

@ -205,6 +205,7 @@ function(__kconfig_generate_config sdkconfig sdkconfig_defaults)
"COMPONENT_KCONFIGS_PROJBUILD=${kconfig_projbuilds}"
"IDF_CMAKE=y"
"KCONFIG_CONFIG=${sdkconfig}"
"IDF_TARGET=${idf_target}"
${mconf} ${root_kconfig}
# VERBATIM cannot be used here because it cannot handle ${mconf}="winpty mconf-idf" and the escaping must be
# done manually