mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
cmake: export IDF_TARGET to menuconfig
Pass value of IDF_TARGET to menuconfig invocation.
This commit is contained in:
@@ -205,6 +205,7 @@ function(__kconfig_generate_config sdkconfig sdkconfig_defaults)
|
|||||||
"COMPONENT_KCONFIGS_PROJBUILD=${kconfig_projbuilds}"
|
"COMPONENT_KCONFIGS_PROJBUILD=${kconfig_projbuilds}"
|
||||||
"IDF_CMAKE=y"
|
"IDF_CMAKE=y"
|
||||||
"KCONFIG_CONFIG=${sdkconfig}"
|
"KCONFIG_CONFIG=${sdkconfig}"
|
||||||
|
"IDF_TARGET=${idf_target}"
|
||||||
${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
|
||||||
# done manually
|
# done manually
|
||||||
|
Reference in New Issue
Block a user