Skip to content

Conversation

@github-actions
Copy link

Backport c4c79f5f334ef03e373c85231bbffdc82240933a~1..c4c79f5f334ef03e373c85231bbffdc82240933a from #32140

Fixes: #23449

This commit adds additional OUTPUT and BYPRODUCTS to custom command
and targets in the Zephyr build system.

This ensures that files produced during the build will be removed again
when invoking ninja clean / make clean.

The generated syscalls headers include folder is added to the syscall
target using ADDITIONAL_CLEAN_FILES property.
However, this property is new in CMake 3.15, so will not work when using
older CMake with ninja.

For CMake versions <=3.15 the ADDITIONAL_MAKE_CLEAN_FILES property is
used. However, this only supports Makefile generator.

Signed-off-by: Torsten Rasmussen <[email protected]>
@nashif nashif merged commit 116425c into v2.5-branch Feb 19, 2021
@galak galak deleted the backport-32140-to-v2.5-branch branch June 10, 2021 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants