Skip to content
Snippets Groups Projects
Commit b55da847 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Miguel Ojeda
Browse files

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: default avatarMasahiro Yamada <masahiroy@kernel.org>
Reviewed-by: default avatarAlice Ryhl <aliceryhl@google.com>
Reviewed-by: default avatarNathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20241009102821.2675718-1-masahiroy@kernel.org


Signed-off-by: default avatarMiguel Ojeda <ojeda@kernel.org>
parent ab885143
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment