-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig
231 lines (187 loc) · 5.8 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
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
menu "General settings"
choice
prompt "Machine selection"
help
OE MACHINE to use during the build.
config MACHINE_IMX6ULL_A1_GW
bool "A1 i.MX6ULL A1 GW"
help
OE MACHINE variable is set to a1-imx6ull-gw .
endchoice
choice
prompt "OE release selection"
help
OE release to use during the build .
config RELEASE_SCARTHGAP
bool "OE Scarthgap 5.0 LTS"
help
OE Scarthgap 5.0 LTS release .
endchoice
choice
prompt "OE distro selection"
default USE_A1LINUX_DISTRO if INCLUDE_AUTOMATION_ONE_EXTRAS
config USE_NODISTRO
bool "Use OE nodistro distribution"
help
Use the OE nodistro distribution
config USE_A1LINUX_DISTRO
bool "Use the A1Linux distribution"
depends on INCLUDE_AUTOMATION_ONE_EXTRAS
help
Use the A1Linux Distribution which is specifically tuned for the
AutomationOne Gateways.
endchoice
config KAS_TARGET_IMAGE
string "KAS Target image"
default "a1-image" if INCLUDE_AUTOMATION_ONE_EXTRAS
default "core-image-base" if !INCLUDE_AUTOMATION_ONE_EXTRAS
help
The build target that will be built. This is often an image name, e.g.
core-image-base.
config INCLUDE_SDK_YML
bool "Populate SDK for image recipe"
help
Populate SDK for selected image recipe.
endmenu
menu "Customization"
menu "Password Settings"
choice
prompt "Root password settings"
help
Set how the root password should be set for the image recipe.
default USE_NO_ROOT_PASSWORD
config USE_NO_ROOT_PASSWORD
bool "Don't set any root password"
help
Don't set a root password for the image recipe. This might make
it impossible to access the gateway.
config INCLUDE_DEBUG_TWEAKS
bool "Set Debug Tweaks for the image recipe (DEBUG ONLY!)"
help
Set Debug Tweaks for the image recipe. This essentially removes any
password protection.
config USE_ROOT_PASSWORD
bool "Use clear text to set root password"
help
Set the root password in clear text for the image recipe.
config USE_ROOT_PASSWORD_HASH
bool "Use hash to set root password"
help
Set the root password as a hash for the image recipe.
endchoice
config ROOT_PASSWORD
string "Root password"
depends on USE_ROOT_PASSWORD
help
The root password to set for the image recipe.
config ROOT_PASSWORD_HASH
string "Root password hash"
depends on USE_ROOT_PASSWORD_HASH
help
The hash of the root password to set for the image recipe.
There is no need to escape any hashes.
config ROOT_AUTHORIZED_KEYS
string "Root authorized keys"
help
The (absolute) path to the authorized_keys file to be used for
the root user.
endmenu
menu "Network Configuration"
config USE_END0_DHCP
bool "Enable DHCP Server on the lower Ethernet port"
help
Per default the lower Ethernet port is configured as a DHCP client.
This option activates the dhcp-server network configuration for the
lower Ethernet port instead.
config END0_DHCP
string
default "false" if !USE_END0_DHCP
default "true" if USE_END0_DHCP
config USE_END1_DHCP
bool "Enable DHCP Server on the upper Ethernet port"
help
Per default the upper Ethernet port is configured as a DHCP client.
This option activates the dhcp-server network configuration for the
upper Ethernet port instead.
config END1_DHCP
string
default "false" if !USE_END1_DHCP
default "true" if USE_END1_DHCP
endmenu
endmenu
menu "Optional Packages and Features"
config INCLUDE_AUTOMATION_ONE_EXTRAS
bool "Include the automation-one extras layer"
default y
help
Include automation-one extras layer. This layer contains additional
recipes and configurations for the AutomationOne Gateways beyond the
standard OE layers.
config INCLUDE_RAUC
bool "Include RAUC update handler layer"
default n
help
Include the rauc update handler layer. It is recommended to also
use include Python, since the rauc hawkbit client requires it.
config RAUC_KEY_FILE
string "RAUC key file"
depends on INCLUDE_RAUC
help
The (absolute) path to the RAUC key file.
config RAUC_CERT_FILE
string "RAUC certificate file"
depends on INCLUDE_RAUC
help
The (absolute) path to the RAUC certificate file.
config RAUC_KEYRING_FILE
string "RAUC keyring file"
depends on INCLUDE_RAUC
help
The (absolute) path to the RAUC keyring file.
config INCLUDE_PYTHON
bool "Include Python"
default y if INCLUDE_RAUC
default n if !INCLUDE_RAUC
help
Include Python in the image recipe
endmenu
menu "Inferred and expert settings"
config KAS_BUILD_SYSTEM
string "KAS build system"
default "openembedded"
help
The build_system that will used. The static kconfig string variable
KAS_BUILD_SYSTEM defines this value which must be openembedded, oe
or isar is set.
config KAS_INCLUDE_RELEASE_YML_FILE
string "KAS OE release YML file"
default "include/common-scarthgap.yml" if RELEASE_SCARTHGAP
config KAS_INCLUDE_BSP_YML_FILE
string "KAS OE MACHINE and BSP layer YML file"
depends on MACHINE_IMX6ULL_A1_GW
default "a1-imx6ull-gw.yml" if MACHINE_IMX6ULL_A1_GW
config KAS_INCLUDE_SDK_YML_FILE
string "KAS SDK YML file"
depends on INCLUDE_SDK_YML
default "include/common-sdk.yml"
config KAS_INCLUDE_DEBUG_TWEAKS_YML_FILE
string "KAS DEBUG TWEAKS file"
depends on INCLUDE_DEBUG_TWEAKS
default "include/common-debug-tweaks.yml"
config KAS_INCLUDE_A1EXTRAS_YML_FILE
string "KAS AutomationOne extras YML file"
depends on INCLUDE_AUTOMATION_ONE_EXTRAS
default "include/common-a1-extras.yml"
config KAS_INCLUDE_A1LINUX_DISTRIBUTION_YAML_FILE
string "KAS A1Linux distribution YML file"
depends on USE_A1LINUX_DISTRO
default "include/common-a1linux.yml"
config KAS_INCLUDE_RAUC_YML_FILE
string "KAS RAUC YML file"
depends on INCLUDE_RAUC
default "include/common-rauc.yml"
config KAS_INCLUDE_PYTHON_YML_FILE
string "KAS Python YML file"
depends on INCLUDE_PYTHON
default "include/common-python.yml"
endmenu