summaryrefslogtreecommitdiff
path: root/config/kernel.in
blob: db7b802eefbc54bc86db9cc591c90af38721af6c (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
39
40
41
42
# Kernel options

config KERNEL
    string
    default "none"  if BARE_METAL
    default "linux" if KERNEL_LINUX

menu "Target OS"

choice
    bool
    prompt "Target OS"
    default KERNEL_LINUX

config KERNEL_LINUX
    bool
    prompt "Linux"
    help
      Build a toolchain targeting systems running Linux as a kernel.

config BARE_METAL
    bool
    prompt "Bare metal (EXPERIMENTAL)"
    depends on EXPERIMENTAL
    help
      Say 'y' here if you want a simple C compiler with no C library.
      
      'Bare metal' also refer to those programs that run without any kernel.
      
      You probably want to say 'y' here if you plan to use your compiler
      to build only kernels or bootloaders

endchoice

config KERNEL_VERSION
    string

if KERNEL_LINUX
source config/kernel/linux.in
endif

endmenu