-
Notifications
You must be signed in to change notification settings - Fork 50
/
Kconfig
164 lines (131 loc) · 2.61 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
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
#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt.
#
mainmenu "Edge-Home-Orchestration Configuration"
config CONFIGFILE
string "Configuration file name"
help
Configuration file name
config DOCKERFILE
string "Dockerfile name"
default "ubuntu"
depends on CONTAINER
help
Configuration file name
choice
prompt "H/W Platform architecture"
default X86_64
config X86_64
bool "x86_64"
---help---
"x86_64 architecture"
config X86
bool "x86"
---help---
"x86 architecture"
config ARM
bool "arm"
---help---
"arm architecture (32 bit)"
config ARM64
bool "arm64"
---help---
"arm64 architecture"
endchoice
choice
prompt "S/W Platform"
default CONTAINER
config CONTAINER
bool "Container"
---help---
"Docker Container"
config NATIVE
bool "Native"
---help---
"Native"
config ANDROID
bool "Android"
---help---
"Android"
endchoice
comment "Configuring environment variables to run the Edge-Orchestration (make run)"
config MNEDC
bool "MNEDC"
choice
depends on MNEDC
prompt "MNEDC"
config MNEDC_SERVER
bool "MNEDC server"
default n
---help---
"MNEDC Server"
config MNEDC_CLIENT
bool "MNEDC client"
default n
---help---
"MNEDC Client"
endchoice
config SECURE_MODE
bool "Secure Mode is enable"
default y
---help---
"Secure mode is enable"
config WEB_UI
bool "Web UI is enable"
default n
---help---
"Web UI is enable"
config CLOUD_SYNC
bool "CloudSync"
default y
config LOGLEVEL
bool "LOGLEVEL"
choice
depends on LOGLEVEL
prompt "Info"
config LOGLEVEL_TRACE
bool "LOGLEVEL Trace"
default n
---help---
"LOGLEVEL Trace: Something very low level"
config LOGLEVEL_DEBUG
bool "LOGLEVEL Debug"
default n
---help---
"LOGLEVEL Debug: Useful debugging information"
config LOGLEVEL_INFO
bool "LOGLEVEL Info"
default n
---help---
"LOGLEVEL Info: Something noteworthy happened"
config LOGLEVEL_WARN
bool "LOGLEVEL Warn"
default n
---help---
"LOGLEVEL Warn: You should probably take a look at this"
config LOGLEVEL_ERROR
bool "LOGLEVEL Error"
default n
---help---
"LOGLEVEL Error: Something failed but I'm not quitting"
config LOGLEVEL_FATAL
bool "LOGLEVEL Fatal"
default n
---help---
"LOGLEVEL Fatal: os.Exit(1) after logging"
config LOGLEVEL_PANIC
bool "LOGLEVEL Panic"
default n
---help---
"LOGLEVEL Panic: panic() after logging"
endchoice
config LOGLEVEL_VALUE
string
default "Trace" if LOGLEVEL_TRACE
default "Debug" if LOGLEVEL_DEBUG
default "Info" if LOGLEVEL_INFO
default "Warn" if LOGLEVEL_WARN
default "Error" if LOGLEVEL_ERROR
default "Fatal" if LOGLEVEL_FATAL
default "Panic" if LOGLEVEL_PANIC