-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKconfig
More file actions
32 lines (26 loc) · 1003 Bytes
/
Kconfig
File metadata and controls
32 lines (26 loc) · 1003 Bytes
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
mainmenu "Lambda OS Configuration"
source "kernel/Kconfig"
source "modules/Kconfig"
menu "General build options"
config BUILD_USE_WERROR
bool "Enable -Werror"
default y
help
Passes the -Werror flag to the compiler, treating any warning as an error.
This should typically be enabled, except during active development, as
builds should be warning-free.
config BUILD_USE_CLANG
bool "Use Clang as the compiler"
default n
help
Configures the build system to use Clang rather than GCC (or compatible)
as the compiler. Note that this may not be well-supported for all targets.
config BUILD_USE_WEVERYTHING
bool "Enable -Weverything"
depends on BUILD_USE_CLANG
default n
help
Passes the -Weverything flag to Clang, enabling many more warnings. Note
that some warnings are explicitly disabled while this is enabled. Do not
expect -Weverything + -Werror to succeed after a Clang update.
endmenu # General build options