diff options
author | Masahiro Yamada <[email protected]> | 2024-10-09 19:27:37 +0900 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2024-10-10 00:50:58 +0200 |
commit | b55da84759c8c21ec0c7441c519fc1d07dc4c65c (patch) | |
tree | ce519f393c280edd0607bf4b06f469768098f722 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | ab8851431bef5cc44f0f3f0da112e883fd4d0df5 (diff) |
kbuild: refactor cc-option-yn, cc-disable-warning, rust-option-yn macros
cc-option-yn and cc-disable-warning duplicate the compile command seen
a few lines above. These can be defined based on cc-option.
I also refactored rustc-option-yn in the same way, although there are
currently no users of it.
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions