mirror of
https://github.com/espressif/esp-idf.git
synced 2026-07-23 03:13:01 +03:00
In cmakev2, the configuration for all components is included because the complete configuration is generated very early, before any component is actually evaluated. This poses a problem for the Linux target, which does not have a controller Kconfig.in file, causing kconfgen to fail due to the missing include. To address this, let's use the osource command, which does not include the referenced Kconfig file if it does not exist. Closes https://github.com/espressif/esp-idf/issues/18142 Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>