Explorar o código

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

Angus Gratton %!s(int64=6) %!d(string=hai) anos
pai
achega
a37ad24137
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      tools/cmake/kconfig.cmake

+ 1 - 0
tools/cmake/kconfig.cmake

@@ -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