mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-20 03:36:37 +00:00
kernel: Update kernel versions
This commit adds support for 4.x and updates longterm versions. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
This commit is contained in:
parent
0f372b8357
commit
ff09cb3296
@ -26,13 +26,17 @@ choice
|
||||
# Don't remove next line
|
||||
# CT_INSERT_VERSION_BELOW
|
||||
|
||||
config KERNEL_V_4_0
|
||||
bool
|
||||
prompt "4.0"
|
||||
|
||||
config KERNEL_V_3_19
|
||||
bool
|
||||
prompt "3.19.1"
|
||||
prompt "3.19.5"
|
||||
|
||||
config KERNEL_V_3_18
|
||||
bool
|
||||
prompt "3.18.9"
|
||||
prompt "3.18.12 (longterm)"
|
||||
|
||||
config KERNEL_V_3_17
|
||||
bool
|
||||
@ -48,7 +52,7 @@ config KERNEL_V_3_15
|
||||
|
||||
config KERNEL_V_3_14
|
||||
bool
|
||||
prompt "3.14.35 (longterm)"
|
||||
prompt "3.14.39 (longterm)"
|
||||
|
||||
config KERNEL_V_3_13
|
||||
bool
|
||||
@ -56,7 +60,7 @@ config KERNEL_V_3_13
|
||||
|
||||
config KERNEL_V_3_12
|
||||
bool
|
||||
prompt "3.12.38 (longterm)"
|
||||
prompt "3.12.40 (longterm)"
|
||||
|
||||
config KERNEL_V_3_11
|
||||
bool
|
||||
@ -64,7 +68,7 @@ config KERNEL_V_3_11
|
||||
|
||||
config KERNEL_V_3_10
|
||||
bool
|
||||
prompt "3.10.71 (longterm)"
|
||||
prompt "3.10.75 (longterm)"
|
||||
|
||||
config KERNEL_V_3_9
|
||||
bool
|
||||
@ -88,7 +92,7 @@ config KERNEL_V_3_5
|
||||
|
||||
config KERNEL_V_3_4
|
||||
bool
|
||||
prompt "3.4.106 (longterm)"
|
||||
prompt "3.4.107 (longterm)"
|
||||
|
||||
config KERNEL_V_3_3
|
||||
bool
|
||||
@ -195,22 +199,23 @@ config KERNEL_VERSION
|
||||
string
|
||||
# Don't remove next line
|
||||
# CT_INSERT_VERSION_STRING_BELOW
|
||||
default "3.19.1" if KERNEL_V_3_19
|
||||
default "3.18.9" if KERNEL_V_3_18
|
||||
default "4.0" if KERNEL_V_4_0
|
||||
default "3.19.5" if KERNEL_V_3_19
|
||||
default "3.18.12" if KERNEL_V_3_18
|
||||
default "3.17.8" if KERNEL_V_3_17
|
||||
default "3.16.7" if KERNEL_V_3_16
|
||||
default "3.15.10" if KERNEL_V_3_15
|
||||
default "3.14.35" if KERNEL_V_3_14
|
||||
default "3.14.39" if KERNEL_V_3_14
|
||||
default "3.13.11" if KERNEL_V_3_13
|
||||
default "3.12.38" if KERNEL_V_3_12
|
||||
default "3.12.40" if KERNEL_V_3_12
|
||||
default "3.11.10" if KERNEL_V_3_11
|
||||
default "3.10.71" if KERNEL_V_3_10
|
||||
default "3.10.75" if KERNEL_V_3_10
|
||||
default "3.9.11" if KERNEL_V_3_9
|
||||
default "3.8.13" if KERNEL_V_3_8
|
||||
default "3.7.10" if KERNEL_V_3_7
|
||||
default "3.6.11" if KERNEL_V_3_6
|
||||
default "3.5.7" if KERNEL_V_3_5
|
||||
default "3.4.106" if KERNEL_V_3_4
|
||||
default "3.4.107" if KERNEL_V_3_4
|
||||
default "3.3.8" if KERNEL_V_3_3
|
||||
default "3.2.68" if KERNEL_V_3_2
|
||||
default "3.1.10" if KERNEL_V_3_1
|
||||
|
@ -33,21 +33,22 @@ do_kernel_get() {
|
||||
"${CT_KERNEL_LINUX_CUSTOM_LOCATION}"
|
||||
else # Not a custom tarball
|
||||
case "${CT_KERNEL_VERSION}" in
|
||||
2.6.*.*|3.*.*)
|
||||
2.6.*.*|3.*.*|4.*.*)
|
||||
# 4-part versions (for 2.6 stables and long-terms), and
|
||||
# 3-part versions (for 3.x.y stables and long-terms),
|
||||
# 3-part versions (for 3.x.y and 4.x.y stables and long-terms),
|
||||
# we need to trash the last digit
|
||||
k_ver="${CT_KERNEL_VERSION%.*}"
|
||||
;;
|
||||
2.6.*|3.*)
|
||||
2.6.*|3.*|4.*)
|
||||
# 3-part version (for 2.6.x initial releases), and 2-part
|
||||
# versions (for 3.x initial releases), use all of it
|
||||
# versions (for 3.x and 4.x initial releases), use all of it
|
||||
k_ver="${CT_KERNEL_VERSION}"
|
||||
;;
|
||||
esac
|
||||
case "${CT_KERNEL_VERSION}" in
|
||||
2.6.*) rel_dir=v2.6;;
|
||||
3.*) rel_dir=v3.x;;
|
||||
4.*) rel_dir=v4.x;;
|
||||
esac
|
||||
korg_base="http://www.kernel.org/pub/linux/kernel/${rel_dir}"
|
||||
CT_GetFile "linux-${CT_KERNEL_VERSION}" \
|
||||
|
Loading…
Reference in New Issue
Block a user