summaryrefslogtreecommitdiff
path: root/config/kernel.in
blob: 5c8a519ed891a73d1390a4ecaaffdef56f29248f (plain)
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
# Kernel options

menu "Operating System"

# Config option used throughout the config and code to determine wether
# we have a kernel or not (there might be different bare metal stuff)...
# FIXME use CT_KERNEL_bare_metal instead
config BARE_METAL
    bool

# FIXME use CT_KERNEL_windows instead
config WINDOWS
    bool

# Each target OS (aka kernel) that support shared libraries can select
# this, so the user can decide whether or not to build a shared library
# enabled toolchain
config KERNEL_SUPPORTS_SHARED_LIBS
    bool

source "config/gen/kernel.in"

comment "Common kernel options"

config SHARED_LIBS
    bool
    prompt "Build shared libraries"
    depends on KERNEL_SUPPORTS_SHARED_LIBS
    # Building "shared flat" currently fails
    depends on ARCH_USE_MMU || EXPERIMENTAL
    default y
    help
      Say 'y' here, unless you don't want shared libraries.
      
      You might not want shared libraries if you're building for a target that
      don't support it (maybe some nommu targets, for example, or bare metal).

endmenu