diff options
| author | Masahiro Yamada <[email protected]> | 2024-10-09 10:27:37 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2024-10-09 22:50:58 +0000 |
| commit | b55da84759c8c21ec0c7441c519fc1d07dc4c65c (patch) | |
| tree | ce519f393c280edd0607bf4b06f469768098f722 /scripts/rustc-llvm-version.sh | |
| parent | lib/Kconfig.debug: fix grammar in RUST_BUILD_ASSERT_ALLOW (diff) | |
| download | kernel-b55da84759c8c21ec0c7441c519fc1d07dc4c65c.tar.gz kernel-b55da84759c8c21ec0c7441c519fc1d07dc4c65c.zip | |
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 'scripts/rustc-llvm-version.sh')
0 files changed, 0 insertions, 0 deletions
