summaryrefslogtreecommitdiff
path: root/config/kernel/linux.in
blob: 940d92e6462591321ff9433879176b6fe59079d7 (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
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
# Linux kernel options

## depends on ! ARCH_avr
## select KERNEL_SUPPORTS_SHARED_LIBS
##
## help Build a toolchain targeting systems running Linux as a kernel.

config KERNEL_LINUX_CUSTOM
    bool
    prompt "custom tarball or directory"
    help
      The choosen linux version shall be not downloaded. Instead use
      a custom location to get the source.

if KERNEL_LINUX_CUSTOM

config KERNEL_LINUX_CUSTOM_LOCATION
    string
    prompt "Path to custom source, tarball or directory"
    help
      Enter the path to the directory or tarball of your source for linux.

      If the path is a tarball, it should extract to: <name>-<version>/
      where the name is this component, linux, and the version is set
      below in the custom version string.

config KERNEL_LINUX_CUSTOM_VERSION
    string
    prompt "Custom Linux version"
    help
      Enter the version number for your custom linux.

config KERNEL_VERSION
    string
    default KERNEL_LINUX_CUSTOM_VERSION

endif # KERNEL_LINUX_CUSTOM

if ! KERNEL_LINUX_CUSTOM

choice
    bool
    prompt "Linux kernel version"
# Don't remove next line
# CT_INSERT_VERSION_BELOW

config KERNEL_V_4_9
    bool
    prompt "4.9.8"

config KERNEL_V_4_8
    bool
    prompt "4.8.17 (EOL)"
    depends on OBSOLETE

config KERNEL_V_4_4
    bool
    prompt "4.4.47"

config KERNEL_V_4_1
    bool
    prompt "4.1.38"

config KERNEL_V_3_18
    bool
    prompt "3.18.47 (EOL)"

config KERNEL_V_3_16
    bool
    prompt "3.16.39"

config KERNEL_V_3_12
    bool
    prompt "3.12.70"

config KERNEL_V_3_10
    bool
    prompt "3.10.104"

config KERNEL_V_3_4
    bool
    prompt "3.4.113"

config KERNEL_V_3_2
    bool
    prompt "3.2.84"

endchoice

config KERNEL_VERSION
    string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
    default "4.9.8" if KERNEL_V_4_9
    default "4.8.17" if KERNEL_V_4_8
    default "4.4.47" if KERNEL_V_4_4
    default "4.1.38" if KERNEL_V_4_1
    default "3.18.47" if KERNEL_V_3_18
    default "3.16.39" if KERNEL_V_3_16
    default "3.12.70" if KERNEL_V_3_12
    default "3.10.104" if KERNEL_V_3_10
    default "3.4.113" if KERNEL_V_3_4
    default "3.2.84" if KERNEL_V_3_2

endif # ! KERNEL_LINUX_CUSTOM