]> granicus.if.org Git - esp-idf/commit
CMake: Make IDF_PATH available to Kconfiglib when not explicitly set.
authorSagar Bijwe <sagar@espressif.com>
Fri, 11 Jan 2019 06:29:59 +0000 (11:59 +0530)
committerSagar Bijwe <sagar@espressif.com>
Mon, 21 Jan 2019 11:32:31 +0000 (17:02 +0530)
commit05220d9cda064e5b852dcbe16a88346b5322476c
treef0cdcde2334382be8684f247fc7bc07e421c7c2a
parentd9f0d83466203ae37330ec18bfbdde9d157a01e7
CMake: Make IDF_PATH available to Kconfiglib when not explicitly set.

When IDF_PATH is not set by the user, cmake infers the same through
other means and sets it as an environment variable. However, some
sub-invocation of cmake may not see this variable as it is not set
in the parent. This change adds a custom command for exporting IDF_PATH
just before invoking ldgen so that IDF_PATH can be used in Kconfig
without any errors.
tools/ci/test_build_system_cmake.sh
tools/cmake/ldgen.cmake