file(GENERATE ...) does not update the output file if the content is unchanged. Since the metadata in build_info.yml mostly depends on the build configuration, the timestamp of the intermediate file does not get updated on most rebuilds, while the final file does, due to immediate file(WRITE ...) calls. Since the latter is newer, no post-process step is executed and the file is left with commented genexes. Touching the intermediate file ensures that the post-process step is performed every time, even if the content is unchanged, restoring the expected behavior. Signed-off-by: Luca Burelli <l.burelli@arduino.cc> |
||
|---|---|---|
| .. | ||
| arch.cmake | ||
| basic_settings.cmake | ||
| boards.cmake | ||
| ccache.cmake | ||
| configuration_files.cmake | ||
| doc.cmake | ||
| dts.cmake | ||
| extensions.cmake | ||
| Findarmclang.cmake | ||
| FindBabbleSim.cmake | ||
| FindDeprecated.cmake | ||
| FindDtc.cmake | ||
| FindGnuLd.cmake | ||
| FindHostTools.cmake | ||
| FindLlvmLld.cmake | ||
| FindoneApi.cmake | ||
| FindScaTools.cmake | ||
| FindTargetTools.cmake | ||
| FindThreads.cmake | ||
| FindZephyr-sdk.cmake | ||
| generated_file_directories.cmake | ||
| git.cmake | ||
| hwm_v2.cmake | ||
| kconfig.cmake | ||
| kernel.cmake | ||
| pre_dt.cmake | ||
| python.cmake | ||
| root.cmake | ||
| shields.cmake | ||
| snippets.cmake | ||
| soc.cmake | ||
| unittest.cmake | ||
| user_cache.cmake | ||
| version.cmake | ||
| west.cmake | ||
| yaml.cmake | ||
| zephyr_default.cmake | ||
| zephyr_module.cmake | ||