1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
5 prompt "Kernel version" if !ADK_TARGET_CHOOSE_ARCH
6 depends on ADK_TARGET_OS_LINUX
7 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_BOARD_BCM28XX
8 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
9 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
10 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
11 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_KINETIS_K70
12 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_LM32
13 default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_CRIS
14 default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_METAG
15 default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
16 default ADK_TARGET_KERNEL_VERSION_4_6 if ADK_TARGET_ARCH_RISCV32 || ADK_TARGET_ARCH_RISCV64
17 default ADK_TARGET_KERNEL_VERSION_4_9
19 config ADK_TARGET_KERNEL_VERSION_GIT
21 depends on !ADK_TARGET_ARCH_NDS32
22 depends on !ADK_TARGET_ARCH_RISCV32
23 depends on !ADK_TARGET_ARCH_RISCV64
24 select ADK_HOST_NEED_LZOP if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
25 select ADK_HOST_NEED_LZOP if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
26 select ADK_TARGET_KERNEL_IMAGE if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
27 select ADK_TARGET_KERNEL_IMAGE if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
29 config ADK_TARGET_KERNEL_VERSION_4_9
31 depends on !ADK_TARGET_ARCH_CRIS
32 depends on !ADK_TARGET_ARCH_METAG
33 depends on !ADK_TARGET_ARCH_NDS32
34 depends on !ADK_TARGET_ARCH_RISCV32
35 depends on !ADK_TARGET_ARCH_RISCV64
36 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
38 config ADK_TARGET_KERNEL_VERSION_4_6
40 depends on ADK_TARGET_ARCH_RISCV32 || ADK_TARGET_ARCH_RISCV64
42 config ADK_TARGET_KERNEL_VERSION_4_4
44 depends on !ADK_TARGET_ARCH_NDS32
45 depends on !ADK_TARGET_ARCH_NIOS2
46 depends on !ADK_TARGET_ARCH_OR1K
47 depends on !ADK_TARGET_ARCH_RISCV32
48 depends on !ADK_TARGET_ARCH_RISCV64
49 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
50 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
51 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
53 config ADK_TARGET_KERNEL_VERSION_4_1
55 depends on !ADK_TARGET_ARCH_ARC
56 depends on !ADK_TARGET_ARCH_BFIN
57 depends on !ADK_TARGET_ARCH_H8300
58 depends on !ADK_TARGET_ARCH_NIOS2
59 depends on !ADK_TARGET_ARCH_NDS32
60 depends on !ADK_TARGET_ARCH_OR1K
61 depends on !ADK_TARGET_ARCH_SPARC
62 depends on !ADK_TARGET_ARCH_RISCV32
63 depends on !ADK_TARGET_ARCH_RISCV64
64 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
65 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
66 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
67 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
68 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
70 config ADK_TARGET_KERNEL_VERSION_3_18
72 depends on !ADK_TARGET_ARCH_ARC
73 depends on !ADK_TARGET_ARCH_BFIN
74 depends on !ADK_TARGET_ARCH_H8300
75 depends on !ADK_TARGET_ARCH_NDS32
76 depends on !ADK_TARGET_ARCH_NIOS2
77 depends on !ADK_TARGET_ARCH_OR1K
78 depends on !ADK_TARGET_ARCH_RISCV32
79 depends on !ADK_TARGET_ARCH_RISCV64
80 depends on !ADK_TARGET_ARCH_SPARC
81 depends on !ADK_TARGET_BOARD_ATH79
82 depends on !ADK_TARGET_BOARD_BCM28XX
83 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
84 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
85 depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
86 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
87 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
88 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
89 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
90 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
92 config ADK_TARGET_KERNEL_VERSION_3_12
94 depends on !ADK_TARGET_ARCH_ARC
95 depends on !ADK_TARGET_ARCH_BFIN
96 depends on !ADK_TARGET_ARCH_H8300
97 depends on !ADK_TARGET_ARCH_NDS32
98 depends on !ADK_TARGET_ARCH_NIOS2
99 depends on !ADK_TARGET_ARCH_OR1K
100 depends on !ADK_TARGET_ARCH_RISCV32
101 depends on !ADK_TARGET_ARCH_RISCV64
102 depends on !ADK_TARGET_ARCH_SPARC
103 depends on !ADK_TARGET_BOARD_ATH79
104 depends on !ADK_TARGET_BOARD_BCM28XX
105 depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
106 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
107 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
108 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
109 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
110 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
111 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
113 config ADK_TARGET_KERNEL_VERSION_3_10
115 depends on !ADK_TARGET_ARCH_ARC
116 depends on !ADK_TARGET_ARCH_BFIN
117 depends on !ADK_TARGET_ARCH_H8300
118 depends on !ADK_TARGET_ARCH_NDS32
119 depends on !ADK_TARGET_ARCH_NIOS2
120 depends on !ADK_TARGET_ARCH_OR1K
121 depends on !ADK_TARGET_ARCH_RISCV32
122 depends on !ADK_TARGET_ARCH_RISCV64
123 depends on !ADK_TARGET_ARCH_SPARC
124 depends on !ADK_TARGET_BOARD_ATH79
125 depends on !ADK_TARGET_BOARD_BCM28XX
126 depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
127 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
128 depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
129 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
130 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
131 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
132 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
133 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
134 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
136 config ADK_TARGET_KERNEL_VERSION_3_4
138 depends on !ADK_TARGET_ARCH_ARC
139 depends on !ADK_TARGET_ARCH_BFIN
140 depends on !ADK_TARGET_ARCH_H8300
141 depends on !ADK_TARGET_ARCH_NDS32
142 depends on !ADK_TARGET_ARCH_NIOS2
143 depends on !ADK_TARGET_ARCH_OR1K
144 depends on !ADK_TARGET_ARCH_RISCV32
145 depends on !ADK_TARGET_ARCH_RISCV64
146 depends on !ADK_TARGET_ARCH_SPARC
147 depends on !ADK_TARGET_BOARD_ATH79
148 depends on !ADK_TARGET_BOARD_BCM28XX
149 depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
150 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
151 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
152 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
153 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
154 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
155 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
156 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
158 config ADK_TARGET_KERNEL_VERSION_3_4_NDS32
160 depends on ADK_TARGET_ARCH_NDS32
162 config ADK_TARGET_KERNEL_VERSION_3_2
164 depends on !ADK_TARGET_ARCH_ARC
165 depends on !ADK_TARGET_ARCH_BFIN
166 depends on !ADK_TARGET_ARCH_H8300
167 depends on !ADK_TARGET_ARCH_NDS32
168 depends on !ADK_TARGET_ARCH_NIOS2
169 depends on !ADK_TARGET_ARCH_OR1K
170 depends on !ADK_TARGET_ARCH_RISCV32
171 depends on !ADK_TARGET_ARCH_RISCV64
172 depends on !ADK_TARGET_ARCH_SPARC
173 depends on !ADK_TARGET_BOARD_ATH79
174 depends on !ADK_TARGET_BOARD_BCM28XX
175 depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
176 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
177 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
178 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
179 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
180 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
181 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
182 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
184 config ADK_TARGET_KERNEL_VERSION_2_6_32
186 depends on !ADK_TARGET_ARCH_ARC
187 depends on !ADK_TARGET_ARCH_BFIN
188 depends on !ADK_TARGET_ARCH_H8300
189 depends on !ADK_TARGET_ARCH_NDS32
190 depends on !ADK_TARGET_ARCH_NIOS2
191 depends on !ADK_TARGET_ARCH_OR1K
192 depends on !ADK_TARGET_ARCH_RISCV32
193 depends on !ADK_TARGET_ARCH_RISCV64
194 depends on !ADK_TARGET_ARCH_SPARC
195 depends on !ADK_TARGET_BOARD_ATH79
196 depends on !ADK_TARGET_BOARD_BCM28XX
197 depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
198 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
199 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
200 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
201 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
202 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
203 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
204 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
208 config ADK_TARGET_KERNEL_GIT_REPO
209 string "git repository"
210 depends on ADK_TARGET_KERNEL_VERSION_GIT
211 default "https://github.com/raspberrypi/linux.git" if ADK_TARGET_BOARD_BCM28XX
212 default "https://github.com/EmcraftSystems/linux-emcraft.git" if ADK_TARGET_SYSTEM_KINETIS_K70
213 default "https://github.com/SolidRun/linux-fslc.git" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
214 default "https://github.com/SolidRun/linux-armada38x.git" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
215 default "https://github.com/beagleboard/linux.git" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
216 default "https://github.com/m-labs/linux-milkymist.git" if ADK_TARGET_ARCH_LM32
217 default "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
219 GIT repository to use.
221 config ADK_TARGET_KERNEL_GIT_REPO_NAME
223 depends on ADK_TARGET_KERNEL_VERSION_GIT
224 default "rpi" if ADK_TARGET_BOARD_BCM28XX
225 default "emcraft" if ADK_TARGET_SYSTEM_KINETIS_K70
226 default "fslc" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
227 default "clearfog" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
228 default "bb" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
229 default "lm32" if ADK_TARGET_ARCH_LM32
232 config ADK_TARGET_KERNEL_GIT
234 depends on ADK_TARGET_KERNEL_VERSION_GIT
235 default "cd6413a82a66de6ecce828ce67df4f6e3290ea86" if ADK_TARGET_BOARD_BCM28XX
236 default "6a2f2e4198eaff63ee75f6085ce9f966c47b4441" if ADK_TARGET_ARCH_LM32
237 default "1d008423ab5fd12459f53342e4d17585ec63cfe4" if ADK_TARGET_SYSTEM_KINETIS_K70
238 default "902739f3353150ac9eb69ad995098f3079d862a3" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
239 default "27e61f66e7f03cc6199ddc2787340a01b80c6ed6" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
240 default "8624998967676862843aed1f8ee2141e98987f81" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
242 config ADK_TARGET_KERNEL_GIT_VER
243 string "kernel version"
244 depends on ADK_TARGET_KERNEL_VERSION_GIT
245 default "4.9.17" if ADK_TARGET_BOARD_BCM28XX
246 default "3.14.79" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
247 default "4.4.37" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
248 default "2.6.33" if ADK_TARGET_SYSTEM_KINETIS_K70
250 config ADK_TARGET_KERNEL_GIT_TYPE
252 depends on ADK_TARGET_KERNEL_VERSION_GIT