[PATCH v7 21/25] Kbuild: add Rust support

Masahiro Yamada masahiroy at kernel.org
Sat Jul 16 18:21:59 AEST 2022


On Mon, May 23, 2022 at 11:04 AM Miguel Ojeda <ojeda at kernel.org> wrote:
>
> Having all the new files in place, we now enable Rust support
> in the build system, including `Kconfig` entries related to Rust,
> the Rust configuration printer, the target specification
> generation script, the version detection script and a few
> other bits.
>
> Co-developed-by: Alex Gaynor <alex.gaynor at gmail.com>
> Signed-off-by: Alex Gaynor <alex.gaynor at gmail.com>
> Co-developed-by: Finn Behrens <me at kloenk.de>
> Signed-off-by: Finn Behrens <me at kloenk.de>
> Co-developed-by: Adam Bratschi-Kaye <ark.email at gmail.com>
> Signed-off-by: Adam Bratschi-Kaye <ark.email at gmail.com>
> Co-developed-by: Wedson Almeida Filho <wedsonaf at google.com>
> Signed-off-by: Wedson Almeida Filho <wedsonaf at google.com>
> Co-developed-by: Michael Ellerman <mpe at ellerman.id.au>
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
> Co-developed-by: Sven Van Asbroeck <thesven73 at gmail.com>
> Signed-off-by: Sven Van Asbroeck <thesven73 at gmail.com>
> Co-developed-by: Gary Guo <gary at garyguo.net>
> Signed-off-by: Gary Guo <gary at garyguo.net>
> Co-developed-by: Boris-Chengbiao Zhou <bobo1239 at web.de>
> Signed-off-by: Boris-Chengbiao Zhou <bobo1239 at web.de>
> Co-developed-by: Boqun Feng <boqun.feng at gmail.com>
> Signed-off-by: Boqun Feng <boqun.feng at gmail.com>
> Co-developed-by: Douglas Su <d0u9.su at outlook.com>
> Signed-off-by: Douglas Su <d0u9.su at outlook.com>
> Co-developed-by: Dariusz Sosnowski <dsosnowski at dsosnowski.pl>
> Signed-off-by: Dariusz Sosnowski <dsosnowski at dsosnowski.pl>
> Co-developed-by: Antonio Terceiro <antonio.terceiro at linaro.org>
> Signed-off-by: Antonio Terceiro <antonio.terceiro at linaro.org>
> Co-developed-by: Daniel Xu <dxu at dxuuu.xyz>
> Signed-off-by: Daniel Xu <dxu at dxuuu.xyz>
> Co-developed-by: Miguel Cano <macanroj at gmail.com>
> Signed-off-by: Miguel Cano <macanroj at gmail.com>
> Co-developed-by: David Gow <davidgow at google.com>
> Signed-off-by: David Gow <davidgow at google.com>
> Signed-off-by: Miguel Ojeda <ojeda at kernel.org>
> ---





> +# Rust targets
> +# ---------------------------------------------------------------------------
> +
> +# "Is Rust available?" target
> +PHONY += rustavailable
> +rustavailable:
> +       $(Q)$(CONFIG_SHELL) $(srctree)/scripts/rust-is-available.sh -v && echo >&2 "Rust is available!"
> +

Is it intentional to print the successful message to stderr?



-- 
Best Regards
Masahiro Yamada


More information about the Linuxppc-dev mailing list