summaryrefslogtreecommitdiff
path: root/samples/rust/Kconfig
blob: 189c10ced6d4f759f60f02b74e8f6991d4afdc95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# SPDX-License-Identifier: GPL-2.0

menuconfig SAMPLES_RUST
	bool "Rust samples"
	depends on RUST
	help
	  You can build sample Rust kernel code here.

	  If unsure, say N.

if SAMPLES_RUST

config SAMPLE_RUST_MINIMAL
	tristate "Minimal"
	help
	  This option builds the Rust minimal module sample.

	  To compile this as a module, choose M here:
	  the module will be called rust_minimal.

	  If unsure, say N.

config SAMPLE_RUST_PRINT
	tristate "Printing macros"
	help
	  This option builds the Rust printing macros sample.

	  To compile this as a module, choose M here:
	  the module will be called rust_print.

	  If unsure, say N.

config SAMPLE_RUST_MODULE_PARAMETERS
	tristate "Module parameters"
	help
	  This option builds the Rust module parameters sample.

	  To compile this as a module, choose M here:
	  the module will be called rust_module_parameters.

	  If unsure, say N.

config SAMPLE_RUST_SYNC
	tristate "Synchronisation primitives"
	help
	  This option builds the Rust synchronisation primitives sample.

	  To compile this as a module, choose M here:
	  the module will be called rust_sync.

	  If unsure, say N.

config SAMPLE_RUST_CHRDEV
	tristate "Character device"
	help
	  This option builds the Rust character device sample.

	  To compile this as a module, choose M here:
	  the module will be called rust_chrdev.

	  If unsure, say N.

config SAMPLE_RUST_MISCDEV
	tristate "Miscellaneous device"
	help
	  This option builds the Rust miscellaneous device sample.

	  To compile this as a module, choose M here:
	  the module will be called rust_miscdev.

	  If unsure, say N.

config SAMPLE_RUST_STACK_PROBING
	tristate "Stack probing"
	help
	  This option builds the Rust stack probing sample.

	  To compile this as a module, choose M here:
	  the module will be called rust_stack_probing.

	  If unsure, say N.

config SAMPLE_RUST_SEMAPHORE
	tristate "Semaphore"
	help
	  This option builds the Rust semaphore sample.

	  To compile this as a module, choose M here:
	  the module will be called rust_semaphore.

	  If unsure, say N.

config SAMPLE_RUST_SEMAPHORE_C
	tristate "Semaphore (in C, for comparison)"
	help
	  This option builds the Rust semaphore sample (in C, for comparison).

	  To compile this as a module, choose M here:
	  the module will be called rust_semaphore_c.

	  If unsure, say N.

config SAMPLE_RUST_RANDOM
	tristate "Random"
	help
	  This option builds the Rust random sample.

	  To compile this as a module, choose M here:
	  the module will be called rust_random.

	  If unsure, say N.

config SAMPLE_RUST_PLATFORM
	tristate "Platform device driver"
	help
	  This option builds the Rust platform device driver sample.

	  To compile this as a module, choose M here:
	  the module will be called rust_platform.

config SAMPLE_RUST_FS
	tristate "File system"
	help
	  This option builds the Rust file system sample.

	  To compile this as a module, choose M here:
	  the module will be called rust_fs.

	  If unsure, say N.

config SAMPLE_RUST_NETFILTER
	tristate "Network filter module"
	depends on NETFILTER
	help
	  This option builds the Rust netfilter module sample.

	  To compile this as a module, choose M here:
	  the module will be called rust_netfilter.

	  If unsure, say N.

config SAMPLE_RUST_ECHO_SERVER
	tristate "Echo server module"
	help
	  This option builds the Rust echo server  module sample.

	  To compile this as a module, choose M here:
	  the module will be called rust_echo_server.

	  If unsure, say N.

config SAMPLE_RUST_HOSTPROGS
	bool "Host programs"
	help
	  This option builds the Rust host program samples.

	  If unsure, say N.

config SAMPLE_RUST_SELFTESTS
	tristate "Self tests"
	help
	  This option builds the self test cases for Rust.

	  If unsure, say N.

endif # SAMPLES_RUST