summaryrefslogtreecommitdiff
path: root/config/kernel/linux.in
blob: 266995162aa38b0cda3928423fe4a433aae39b63 (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_3
    bool
    prompt "4.3 (mainline)"

config KERNEL_V_4_2
    bool
    prompt "4.2.6 (stable)"

config KERNEL_V_4_1
    bool
    prompt "4.1.13"

config KERNEL_V_3_18
    bool
    prompt "3.18.24"

config KERNEL_V_3_14
    bool
    prompt "3.14.57"

config KERNEL_V_3_12
    bool
    prompt "3.12.50"

config KERNEL_V_3_10
    bool
    prompt "3.10.93"

config KERNEL_V_3_4
    bool
    prompt "3.4.110"

config KERNEL_V_3_2
    bool
    prompt "3.2.72"

config KERNEL_V_2_6_32
    bool
    prompt "2.6.32.68"
    help
 
endchoice

config KERNEL_VERSION
    string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
    default "4.3" if KERNEL_V_4_3
    default "4.2.6" if KERNEL_V_4_2
    default "4.1.13" if KERNEL_V_4_1
    default "3.18.24" if KERNEL_V_3_18
    default "3.14.57" if KERNEL_V_3_14
    default "3.12.50" if KERNEL_V_3_12
    default "3.10.93" if KERNEL_V_3_10
    default "3.4.110" if KERNEL_V_3_4
    default "3.2.72" if KERNEL_V_3_2
    default "2.6.32.68" if KERNEL_V_2_6_32

endif # ! KERNEL_LINUX_CUSTOM