NXP HAL's CMake cache variables get parsed as Kconfig options and error out #88064
-
BackgroundZephyr has some experimental, undocumented functionality that parses CMake cache variables that are named like Kconfig variables and merges this into a project's Kconfig configuration: https://github.com/zephyrproject-rtos/zephyr/blob/main/cmake/modules/kconfig.cmake#L208-L211 https://github.com/zephyrproject-rtos/zephyr/blob/main/modules/hal_nxp/mcux/mcux-sdk-ng/drivers/CMakeLists.txt creates many CMake variables with the IssueWhen I build a sample project that uses the
This leads to an error like:
It seems like these CMake variables should be renamed. Is this a bug or am I doing something wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Converted to Issue #88135, closing this Discussion. Let's use the Issue for further communication. |
Beta Was this translation helpful? Give feedback.
Converted to Issue #88135, closing this Discussion. Let's use the Issue for further communication.