-
Notifications
You must be signed in to change notification settings - Fork 118
/
Copy pathlegato.kconfig
322 lines (268 loc) · 7.06 KB
/
legato.kconfig
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
#
# Top level configuration for Legato.
#
# Copyright (C) Sierra Wireless Inc.
#
### "Hidden" Options ###
# These are set automatically and not by user action.
# Turn off module builds
config MODULES
bool
default n
option modules
# Indicate that we have a configuration
config CONFIGURED
bool
default y
# Name of the virtual target architecture
config VIRT_TARGET_ARCH
string
depends on TARGET_VIRT_ARM || TARGET_VIRT_X86
default "arm" if TARGET_VIRT_ARM
default "x86" if TARGET_VIRT_X86
---help---
Set the name of the virtual target platform, if applicable. This value is
determined by the target platform selection.
# Platform uses MDM9x07 modem
config MDM9X07
bool
default n
# Platform uses MDM9x15 modem
config MDM9X15
bool
default n
# Platform uses MDM9x28 modem
config MDM9X28
bool
default n
# Platform uses MDM9x40 modem
config MDM9X40
bool
default n
menu "General Setup"
### Target Selection Options ###
config EXPERIMENTAL
bool "Prompt for experimental (alpha-quality) features"
default n
---help---
Experimental features are usually new features that are being introduced for
testing and feedback from a wider audience. They can be enabled to get a
preview of new functionality. Be aware that experimental features are
subject to change before being released as a regular feature. The use of
experimental features in a production environment is strongly discouraged.
choice
prompt "Target Hardware Platform"
default TARGET_LOCALHOST
---help---
Select the hardware Legato will be run on.
config TARGET_LOCALHOST
bool "Localhost (localhost)"
---help---
Run on local Linux host.
config TARGET_VIRT_X86
bool "Virtual x86 (virt-x86)"
---help---
Run on virtual x86 platform.
config TARGET_VIRT_ARM
bool "Virtual ARM (virt-arm)"
---help---
Run on virtual ARM platform.
config TARGET_RASPI
bool "Raspberry Pi (raspi)"
---help---
Run on a Raspberry Pi.
config TARGET_AR7
bool "SWI AR755x (ar7)"
select QMI
select MDM9X15
---help---
Run on a Sierra Wireless AR755x.
config TARGET_AR758X
bool "SWI AR758x (ar758x)"
select QMI
select MDM9X28
---help---
Run on a Sierra Wireless AR758x.
config TARGET_AR759X
bool "SWI AR759x (ar759x)"
select QMI
select MDM9X40
---help---
Run on a Sierra Wireless AR759x.
config TARGET_AR86
bool "SWI AR86xx (ar86)"
select QMI
select MDM9X15
---help---
Run on a Sierra Wireless AR86xx.
config TARGET_WP85
bool "SWI WP85xx (wp85)"
select QMI
select MDM9X15
---help---
Run on a Sierra Wireless WP85xx.
config TARGET_WP750X
bool "SWI WP750x (wp750x)"
select QMI
select MDM9X15
---help---
Run on a Sierra Wireless WP750x.
config TARGET_WP76XX
bool "SWI WP76xx (wp76xx)"
select QMI
select MDM9X07
---help---
Run on a Sierra Wireless WP76xx.
config TARGET_WP77XX
bool "SWI WP77xx (wp77xx)"
select QMI
select MDM9X07
---help---
Run on a Sierra Wireless WP77xx.
config TARGET_CUSTOM
bool "Custom"
---help---
Run on a custom hardware platform.
endchoice # end "Target Hardware Platform"
choice
prompt "Target Operating System"
default LINUX
---help---
Select the operating system Legato will be run on.
config LINUX
bool "Linux"
select POSIX
select ENABLE_CONFIG_TREE
---help---
Run on Linux.
config CUSTOM_OS
bool "Custom (EXPERIMENTAL)"
depends on EXPERIMENTAL
select CUSTOM_FA
---help---
Run on another operating system, such as a proprietary OS distribution. A
custom framework adaptor is required in this case.
endchoice # end "Target Operating System"
config RTOS
bool "RTOS"
depends on CUSTOM_OS
default y
---help---
Selected operating system is a real-time operating system (RTOS).
config POSIX
bool "POSIX compliant operating system"
default y if LINUX
default n
---help---
Indicate Legato is running on a POSIX platform.
config NETWORK
bool "Network stack"
default y
---help---
Target platform has a network stack available.
config LWIP
bool "Using lwIP network stack (EXPERIMENTAL)"
depends on EXPERIMENTAL
depends on NETWORK
depends on RTOS
default y if RTOS
default n
---help---
Target platform is using the Lightweight IP (lwIP) network stack.
config FILESYSTEM
bool "File system"
default y
---help---
Target platform has support for a file system.
# Platform supports QMI
config QMI
bool "Platform uses QMI"
default n
---help---
Target platform uses the Qualcomm Messaging Interface to communicate with
the cellular modem.
config QMI_NO_QMUX
bool "No QMUX support is available in QMI"
depends on QMI
default n
---help---
Target platform uses QMI but does not support the (deprecated) QMUX API.
config SDEF
string "Default system definition file"
default "$(SDEF_TO_USE)" if !$(empty,$(SDEF_TO_USE))
default "modules/WiFi/wifi.sdef" if ENABLE_WIFI
default "modules/Dualsys/ar758x.sdef" if TARGET_AR758X
default "modules/Dualsys/ar759x.sdef" if TARGET_AR759X
default "modules/Raspi/raspi.sdef" if TARGET_RASPI
default "localhost.sdef" if TARGET_LOCALHOST
default "default_readonly.sdef" if READ_ONLY
default "default.sdef"
---help---
Default Legato system definition (.sdef) file to use. This system is built
along with the framework. Users may also later create other systems later
using their own .sdef files.
### Build and Toolchain Options ###
config USE_CLANG
bool "Use Clang for compilation"
default n
---help---
Use Clang rather than GCC for compiling C and C++ sources.
config USE_CCACHE
bool "Use CCache"
default "$(b2k,$(USE_CCACHE))" if !$(empty,$(USE_CCACHE))
default !$(empty,$(getccache))
---help---
Use CCache to speed up compilation times.
config CCACHE
string "CCache command"
depends on USE_CCACHE
default "$(def,$(getccache),ccache)"
---help---
CCache executable to use when compiling.
config READ_ONLY
bool "Read-only image"
default y if TARGET_AR758X || TARGET_AR759X
default n
---help---
Generate a read-only image for the target, in addition to the default
read-write image.
config STRIP_STAGING_TREE
bool "Strip staging tree"
default y
---help---
Strip files staged for the target image.
config DEBUG
bool "Debug build"
default "$(b2k,$(DEBUG))"
---help---
Build with debug compiler flags turned on, and debugging code features
enabled.
config TEST_COVERAGE
bool "Code coverage build"
default "$(b2k,$(TEST_COVERAGE))"
---help---
Build with code coverage compiler flags turned on.
config TEST_COVERAGE_DIR
string "On-target code coverage directory"
depends on TEST_COVERAGE
default "" if TARGET_LOCALHOST
default "/mnt/flash/coverage"
---help---
On-target directory to write runtime code coverage results to.
endmenu # end "General Setup"
### Sub-sections ###
menu "Framework"
rsource "framework/KConfig"
endmenu # end "Framework"
menu "Services"
rsource "apps/platformServices/KConfig"
endmenu # end "Services"
menu "Components"
rsource "components/KConfig"
endmenu # end "Components"
menu "Modules"
rsource "modules/KConfig"
endmenu # end "Modules"
menu "Documentation"
orsource "docManagement/KConfig"
endmenu # end "Documentation"