xref: /openbmc/linux/samples/rust/Kconfig (revision e4fc6580b0796bcba8ca12c2c4b0352d280c91e5)
1*e4fc6580SMiguel Ojeda# SPDX-License-Identifier: GPL-2.0
2*e4fc6580SMiguel Ojeda
3*e4fc6580SMiguel Ojedamenuconfig SAMPLES_RUST
4*e4fc6580SMiguel Ojeda	bool "Rust samples"
5*e4fc6580SMiguel Ojeda	depends on RUST
6*e4fc6580SMiguel Ojeda	help
7*e4fc6580SMiguel Ojeda	  You can build sample Rust kernel code here.
8*e4fc6580SMiguel Ojeda
9*e4fc6580SMiguel Ojeda	  If unsure, say N.
10*e4fc6580SMiguel Ojeda
11*e4fc6580SMiguel Ojedaif SAMPLES_RUST
12*e4fc6580SMiguel Ojeda
13*e4fc6580SMiguel Ojedaconfig SAMPLE_RUST_MINIMAL
14*e4fc6580SMiguel Ojeda	tristate "Minimal"
15*e4fc6580SMiguel Ojeda	help
16*e4fc6580SMiguel Ojeda	  This option builds the Rust minimal module sample.
17*e4fc6580SMiguel Ojeda
18*e4fc6580SMiguel Ojeda	  To compile this as a module, choose M here:
19*e4fc6580SMiguel Ojeda	  the module will be called rust_minimal.
20*e4fc6580SMiguel Ojeda
21*e4fc6580SMiguel Ojeda	  If unsure, say N.
22*e4fc6580SMiguel Ojeda
23*e4fc6580SMiguel Ojedaconfig SAMPLE_RUST_HOSTPROGS
24*e4fc6580SMiguel Ojeda	bool "Host programs"
25*e4fc6580SMiguel Ojeda	help
26*e4fc6580SMiguel Ojeda	  This option builds the Rust host program samples.
27*e4fc6580SMiguel Ojeda
28*e4fc6580SMiguel Ojeda	  If unsure, say N.
29*e4fc6580SMiguel Ojeda
30*e4fc6580SMiguel Ojedaendif # SAMPLES_RUST
31