Kconfig 566 B

123456789101112131415161718192021222324252627282930
  1. # SPDX-License-Identifier: GPL-2.0
  2. menuconfig SAMPLES_RUST
  3. bool "Rust samples"
  4. depends on RUST
  5. help
  6. You can build sample Rust kernel code here.
  7. If unsure, say N.
  8. if SAMPLES_RUST
  9. config SAMPLE_RUST_MINIMAL
  10. tristate "Minimal"
  11. help
  12. This option builds the Rust minimal module sample.
  13. To compile this as a module, choose M here:
  14. the module will be called rust_minimal.
  15. If unsure, say N.
  16. config SAMPLE_RUST_HOSTPROGS
  17. bool "Host programs"
  18. help
  19. This option builds the Rust host program samples.
  20. If unsure, say N.
  21. endif # SAMPLES_RUST