forked from sbabic/swupdate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Config.in
189 lines (151 loc) · 4.83 KB
/
Config.in
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
#
# For a description of the syntax of this configuration file,
# see scripts/kbuild/config-language.txt.
#
mainmenu "Swupdate Configuration"
config HAVE_DOT_CONFIG
bool
default y
menu "Swupdate Settings"
menu "General Configuration"
config SCRIPTS
bool "enable pre and postinstall scripts"
default y
help
Enabling this option, the installer will run
pre- and postinstall scripts, if they are present
in the image. For security reason, this option
can be switched off.
config HW_COMPATIBILITY
bool "check for hardware / software compatibility"
default n
help
If enabled, check if the hardware revision
supports the softwrae version. Detecting the hardware
revision is very board specific, and it cannot be generalized.
For this reason, the software expects that the detected
version is written into a file by a previous software.
config HW_COMPATIBILITY_FILE
string "File with detected hardare revisions"
depends on HW_COMPATIBILITY
default "/etc/hwrevision"
help
File where to read the detected hardware revsion
that must be compared with the software version.
The file has simple entries (one per line) in the
format of "major.minor".
config LUA
bool "lua"
default y
help
Enable LUA interpreter.
# These are auto-selected by other options
config FEATURE_SYSLOG
bool #No description makes it a hidden option
default n
#help
# This option is auto-selected when you select any applet which may
# send its output to syslog. You do not need to select it manually.
endmenu
menu 'Build Options'
config STATIC
bool "Build swupdate as a static binary (no shared libs)"
default n
help
If you want to build a static BusyBox binary, which does not
use or require any shared libraries, then enable this option.
This can cause BusyBox to be considerably larger, so you should
leave this option false unless you have a good reason (i.e.
your target platform does not support shared libraries, or
you are building an initrd which doesn't need anything but
BusyBox, etc).
Most people will leave this set to 'N'.
config CROSS_COMPILER_PREFIX
string "Cross Compiler prefix"
default ""
help
If you want to build BusyBox with a cross compiler, then you
will need to set this to the cross-compiler prefix, for example,
"i386-uclibc-".
Note that CROSS_COMPILE environment variable or
"make CROSS_COMPILE=xxx ..." will override this selection.
Native builds leave this empty.
config SYSROOT
string "Path to sysroot"
default ""
help
If you want to build BusyBox with a cross compiler, then you
might also need to specify where /usr/include and /usr/lib
will be found.
For example, BusyBox can be built against an installed
Android NDK, platform version 9, for ARM ABI with
CONFIG_SYSROOT=/opt/android-ndk/platforms/android-9/arch-arm
Native builds leave this empty.
config EXTRA_CFLAGS
string "Additional CFLAGS"
default ""
help
Additional CFLAGS to pass to the compiler verbatim.
config EXTRA_LDFLAGS
string "Additional LDFLAGS"
default ""
help
Additional LDFLAGS to pass to the linker verbatim.
config EXTRA_LDLIBS
string "Additional LDLIBS"
default ""
help
Additional LDLIBS to pass to the linker with -l.
endmenu
menu 'Debugging Options'
config DEBUG
bool "Build Swupdate with extra Debugging symbols"
default n
help
Say Y here if you wish to examine BusyBox internals while applets are
running. This increases the size of the binary considerably, and
should only be used when doing development. If you are doing
development and want to debug BusyBox, answer Y.
Most people should answer N.
config DEBUG_PESSIMIZE
bool "Disable compiler optimizations"
default n
depends on DEBUG
help
The compiler's optimization of source code can eliminate and reorder
code, resulting in an executable that's hard to understand when
stepping through it with a debugger. This switches it off, resulting
in a much bigger executable that more closely matches the source
code.
config WERROR
bool "Abort compilation on any warning"
default n
help
Selecting this will add -Werror to gcc command line.
Most people should answer N.
config NOCLEANUP
bool "Do not remove temporary files after execution"
default n
help
After each run, temporary files are removed from
/tmp to restart in a clean state. For debugging purpose,
it helps to check the consistency of the file extracted
by swupdate.
For production, answer N.
endmenu
endmenu
config DOWNLOAD
bool "Enable image downloading"
default n
help
Enable update from image URL using libcurl. Files are downloaded
completely before installation begins.
config WEBSERVER
bool "Enable webserver"
default n
help
Enable update from remote using a webserver on the target.
source mongoose/Config.in
source archival/Config.in
source parser/Config.in
source handlers/Config.in