public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Michael Ellerman <mpe@ellerman•id.au>
To: Masahiro Yamada <masahiroy@kernel•org>, Miguel Ojeda <ojeda@kernel•org>
Cc: "Sven Van Asbroeck" <thesven73@gmail•com>,
	"Catalin Marinas" <catalin.marinas@arm•com>,
	"Dave Hansen" <dave.hansen@linux•intel.com>,
	"Miguel Cano" <macanroj@gmail•com>,
	"Paul Mackerras" <paulus@samba•org>,
	"Gary Guo" <gary@garyguo•net>, "Douglas Su" <d0u9.su@outlook•com>,
	"Borislav Petkov" <bp@alien8•de>,
	"open list:SIFIVE DRIVERS" <linux-riscv@lists•infradead.org>,
	"Will Deacon" <will@kernel•org>,
	"Martin Rodriguez Reboredo" <yakoyoku@gmail•com>,
	"Anton Ivanov" <anton.ivanov@cambridgegreys•com>,
	"H. Peter Anvin" <hpa@zytor•com>,
	"Richard Weinberger" <richard@nod•at>, "X86 ML" <x86@kernel•org>,
	"Russell King" <linux@armlinux•org.uk>,
	"Ingo Molnar" <mingo@redhat•com>,
	"Wedson Almeida Filho" <wedsonaf@google•com>,
	"Alex Gaynor" <alex.gaynor@gmail•com>,
	"Antonio Terceiro" <antonio.terceiro@linaro•org>,
	"Adam Bratschi-Kaye" <ark.email@gmail•com>,
	"Albert Ou" <aou@eecs•berkeley.edu>,
	rust-for-linux@vger•kernel.org,
	"Linux Kbuild mailing list" <linux-kbuild@vger•kernel.org>,
	"Boqun Feng" <boqun.feng@gmail•com>,
	linux-um@lists•in
Subject: Re: [PATCH v8 27/31] Kbuild: add Rust support
Date: Wed, 07 Sep 2022 09:34:38 +1000	[thread overview]
Message-ID: <8735d4t6up.fsf@mpe.ellerman.id.au> (raw)
In-Reply-To: <CAK7LNARTX+2Z=pnGbbUepxskE+KZ1f5YsfQukJ88ijPBQt9_GA@mail.gmail.com>

Masahiro Yamada <masahiroy@kernel•org> writes:
> On Tue, Aug 2, 2022 at 10:53 AM Miguel Ojeda <ojeda@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.
...
>> +
>> +config RUSTC_VERSION_TEXT
>> +       string
>> +       depends on RUST
>> +       default $(shell,command -v $(RUSTC) >/dev/null 2>&1 && $(RUSTC) --version || echo n)
>> +
>> +config BINDGEN_VERSION_TEXT
>> +       string
>> +       depends on RUST
>> +       default $(shell,command -v $(BINDGEN) >/dev/null 2>&1 && $(BINDGEN) --version || echo n)
>> +
>
> Where are these config options used?
>
> I grep'ed but no hit.
>
> masahiro@zoe:~/ref/linux-next$ git grep RUSTC_VERSION_TEXT
> init/Kconfig:config RUSTC_VERSION_TEXT
> masahiro@zoe:~/ref/linux-next$ git grep BINDGEN_VERSION_TEXT
> init/Kconfig:config BINDGEN_VERSION_TEXT

That came up before in a review by Nick:

Miguel wrote:
> Nick wrote:
> > Are these two kconfigs used anywhere?
> 
> Not for the moment, but it could still be useful when getting
> `.config` reports (and we could add it to `LINUX_COMPILER` etc. in the
> future).

https://lore.kernel.org/all/CANiq72n2bU3LSGu-4v66nif_95EVq--z2X_F2V7JBPU8v=h8EA@mail.gmail.com/


cheers

  reply	other threads:[~2022-09-06 23:35 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-02  1:49 [PATCH v8 00/31] Rust support Miguel Ojeda
2022-08-02  1:50 ` [PATCH v8 27/31] Kbuild: add " Miguel Ojeda
2022-08-17 14:39   ` Arnd Bergmann
2022-08-17 15:13     ` Miguel Ojeda
2022-08-17 15:24       ` Arnd Bergmann
2022-08-17 23:13         ` Miguel Ojeda
2022-08-17 16:11       ` Björn Roy Baron
2022-08-17 22:42         ` Miguel Ojeda
2022-09-06 18:08   ` Masahiro Yamada
2022-09-06 23:34     ` Michael Ellerman [this message]
2022-08-02 12:26 ` [PATCH v8 00/31] " Matthew Wilcox
2022-08-02 13:45   ` Miguel Ojeda
2022-08-02 13:48     ` Christoph Hellwig
2022-08-02 14:16       ` Miguel Ojeda
2022-08-02 14:01     ` Matthew Wilcox
2022-08-02 15:09       ` Miguel Ojeda
2022-08-02 17:46         ` Miguel Ojeda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8735d4t6up.fsf@mpe.ellerman.id.au \
    --to=mpe@ellerman$(echo .)id.au \
    --cc=alex.gaynor@gmail$(echo .)com \
    --cc=anton.ivanov@cambridgegreys$(echo .)com \
    --cc=antonio.terceiro@linaro$(echo .)org \
    --cc=aou@eecs$(echo .)berkeley.edu \
    --cc=ark.email@gmail$(echo .)com \
    --cc=boqun.feng@gmail$(echo .)com \
    --cc=bp@alien8$(echo .)de \
    --cc=catalin.marinas@arm$(echo .)com \
    --cc=d0u9.su@outlook$(echo .)com \
    --cc=dave.hansen@linux$(echo .)intel.com \
    --cc=gary@garyguo$(echo .)net \
    --cc=hpa@zytor$(echo .)com \
    --cc=linux-kbuild@vger$(echo .)kernel.org \
    --cc=linux-riscv@lists$(echo .)infradead.org \
    --cc=linux-um@lists$(echo .)in \
    --cc=linux@armlinux$(echo .)org.uk \
    --cc=macanroj@gmail$(echo .)com \
    --cc=masahiroy@kernel$(echo .)org \
    --cc=mingo@redhat$(echo .)com \
    --cc=ojeda@kernel$(echo .)org \
    --cc=paulus@samba$(echo .)org \
    --cc=richard@nod$(echo .)at \
    --cc=rust-for-linux@vger$(echo .)kernel.org \
    --cc=thesven73@gmail$(echo .)com \
    --cc=wedsonaf@google$(echo .)com \
    --cc=will@kernel$(echo .)org \
    --cc=x86@kernel$(echo .)org \
    --cc=yakoyoku@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox