Re: [PATCH] kbuild: refactor cc-option-yn, cc-disable-warning, rust-option-yn macros

From: Miguel Ojeda
Date: Mon Oct 14 2024 - 17:57:17 EST


On Wed, Oct 9, 2024 at 12:28 PM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
> 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 <masahiroy@xxxxxxxxxx>

Applied to `rust-fixes` as a prerequisite for the `rustc-option` fix
-- thanks everyone!

Cheers,
Miguel