mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
cmake: Always pass IDF_TARGET into mconf, avoid error about uninitialized environment variable
This commit is contained in:
committed by
suda-morris
parent
ddbd09eb15
commit
a37ad24137
@@ -200,6 +200,7 @@ function(__kconfig_generate_config sdkconfig sdkconfig_defaults)
|
|||||||
"COMPONENT_KCONFIGS=${kconfigs}"
|
"COMPONENT_KCONFIGS=${kconfigs}"
|
||||||
"COMPONENT_KCONFIGS_PROJBUILD=${kconfig_projbuilds}"
|
"COMPONENT_KCONFIGS_PROJBUILD=${kconfig_projbuilds}"
|
||||||
"IDF_CMAKE=y"
|
"IDF_CMAKE=y"
|
||||||
|
"IDF_TARGET=${IDF_TARGET}"
|
||||||
"KCONFIG_CONFIG=${sdkconfig}"
|
"KCONFIG_CONFIG=${sdkconfig}"
|
||||||
${mconf} ${root_kconfig}
|
${mconf} ${root_kconfig}
|
||||||
# VERBATIM cannot be used here because it cannot handle ${mconf}="winpty mconf-idf" and the escaping must be
|
# VERBATIM cannot be used here because it cannot handle ${mconf}="winpty mconf-idf" and the escaping must be
|
||||||
|
Reference in New Issue
Block a user