diff options
| author | Andreas Hindborg <a.hindborg@kernel.org> | 2025-05-08 10:52:10 +0200 |
|---|---|---|
| committer | Andreas Hindborg <a.hindborg@kernel.org> | 2025-05-12 11:05:07 +0200 |
| commit | 1bfb105051566ec5cc7c4f693362420b37a68781 (patch) | |
| tree | 6bb638d6e85c8b3bf33116eb90487a4310a62738 /samples/rust/Kconfig | |
| parent | 446cafc295bfc0e89da94a482fe8290bd8b429fb (diff) | |
rust: configfs: add a sample demonstrating configfs usage
Add a sample to the samples folder, demonstrating the intended use of the
Rust configfs API.
Link: https://lore.kernel.org/r/20250508-configfs-v8-2-8ebde6180edc@kernel.org
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
Diffstat (limited to 'samples/rust/Kconfig')
| -rw-r--r-- | samples/rust/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/samples/rust/Kconfig b/samples/rust/Kconfig index cad52b7120b5..be491ad9b3af 100644 --- a/samples/rust/Kconfig +++ b/samples/rust/Kconfig @@ -10,6 +10,17 @@ menuconfig SAMPLES_RUST if SAMPLES_RUST +config SAMPLE_RUST_CONFIGFS + tristate "Configfs sample" + depends on CONFIGFS_FS + help + This option builds the Rust configfs sample. + + To compile this as a module, choose M here: + the module will be called rust_configfs. + + If unsure, say N. + config SAMPLE_RUST_MINIMAL tristate "Minimal" help |