diff options
author | Jakub Kicinski <[email protected]> | 2023-11-29 11:36:22 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-11-29 16:07:00 -0800 |
commit | a115b9279f4897b8afdfbc30035b1382c047fc26 (patch) | |
tree | 9270fe94b20e60693f5a1cb5fc86f7de8ce65830 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 9cf9b57082411ad42d6d12c7b857e60add673877 (diff) |
tools: ynl: don't skip regeneration from make targets
Commit 2b7ac0c87d98 ("tools: ynl-gen: don't touch the output file if
content is the same") is working too well. It was added so that
ynl-regen -f doesn't make us rebuild half of the kernel, if there
are no actual changes in any generated code.
When ynl-gen-c is called by make, however, we're better off trusting
make's tracking and overwrite the file. Otherwise if output is identical
we won't update file timestamps and make will retry code gen on every
invocation.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions