summaryrefslogtreecommitdiff
path: root/config/kernel.in
blob: 414ab26dd40cea0dd78096f14edf7dbfb562c6ee (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
# Kernel options

menu "Kernel"

choice
    bool
    prompt "\"Kernel\" to use:"
    default KERNEL_LINUX

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

config KERNEL_CYGWIN
    bool
    prompt "cygwin"
    depends on ARCH_x86 || ARCH_x86_64
    help
      Build a toolchain targeting systems running Windows/cygwin as a kernel.

endchoice

config KERNEL_VERSION
    string

if KERNEL_LINUX
source config/kernel_linux.in
endif

if KERNEL_CYGWIN
source config/kernel_cygwin.in
endif

endmenu