-
Notifications
You must be signed in to change notification settings - Fork 1
/
Kconfig
77 lines (64 loc) · 1.85 KB
/
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
mainmenu "mosys configuration"
# Internal stuff
config KERNELVERSION
string
option env="KERNELVERSION"
config UNITTEST
bool
option env="UNITTEST"
menu "General setup"
config ADVANCED_OPTIONS
bool "Advanced configuration"
default n
help
This will enable advanced options to be selected and configured
config LOGLEVEL
int "Log level threshold"
range 0 8
default 4
help
Configure the verbosity of print statements in the code. Each 'v'
passed in using the command-line will increment the threshold by 1.
Mnemonic Value Description
LOG_EMERG 0 system is unusable
LOG_ALERT 1 action must be taken immediately
LOG_CRIT 2 critical conditions
LOG_ERR 3 error conditions
LOG_WARNING 4 warning conditions
LOG_NOTICE 5 normal but significant condition
LOG_INFO 6 informational
LOG_DEBUG 7 debug-level messages
LOG_SPEW 8 excessive debug messages
config USE_IPC_LOCK
bool
default y
choice IPC_LOCK_MECHANISM
prompt "IPC locking mechanism"
default USE_FILE_LOCK
help
The IPC locking mechanism ensures that mosys does not run at the
the same time as processes holding known IPC locks. For example,
this prevents multiple instances of mosys from running.
config USE_FILE_LOCK
bool "File lock"
help
The file lock mechanism will create a file and use flock() to manage
the lock.
config USE_SYSV_SEMAPHORE_LOCK
bool "SysV semaphore lock"
help
The SysV semaphore lock will create a lock and use semctl(), semop(),
etc. to manage the lock.
endchoice
config DEBUG_INFO
bool "Optimize mosys binary for debugging"
default n
help
This will add flags to the compiler to insert debugging info. Use
this to debug the actual binary, for example, if you are experiencing
instability (segfaults).
endmenu
source "intf/Kconfig"
source "platform/Kconfig"
source "drivers/Kconfig"
source "tools/Kconfig"