cmake: Always pass IDF_TARGET into mconf, avoid error about uninitialized environment variable

This commit is contained in:
Angus Gratton
2019-06-05 14:34:58 +10:00
committed by suda-morris
parent ddbd09eb15
commit a37ad24137

View File

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