Logo
Explore Help
Sign In
dasharo/zephyr
0
0
Fork 0
You've already forked zephyr
mirror of https://github.com/Dasharo/zephyr.git synced 2026-03-06 14:57:20 -08:00
Code Issues Packages Projects Releases Wiki Activity
Files
main
zephyr/misc/generated/generated_header.template

2 lines
59 B
Plaintext
Raw Permalink Normal View History

cmake: only write devicetree files when there are changes. As part of #40167 is was discovered that devicetree headers are always generated when CMake re-runs. This causes all source files that directly or indirectly through included headers to recompile when CMake re-runs, even if there are no changes to devicetree. This commits introduces `zephyr_file_copy(...)` similar to `file(COPY_FILE ...)` from CMake 3.21. However, as CMake 3.20 is supported by Zephyr we need a zephyr variant of this function to allow usage with CMake 3.20. This ensures that only when there are changes to devicetree headers, then source files will recompile. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2022-02-07 12:53:09 +01:00
/* WARNING. THIS FILE IS AUTO-GENERATED. DO NOT MODIFY! */
Reference in New Issue Copy Permalink
Powered by Gitea Page: 562ms Template: 3ms
English
English
Licenses API