mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-31 08:25:32 +00:00
Merge pull request #1550 from cpackham/kernel-cdn
CT_Mirrors: make use of kernel cdn
This commit is contained in:
commit
4d2c1708da
@ -1800,7 +1800,6 @@ CT_Mirrors()
|
||||
echo "https://releases.linaro.org/archive/${yymm}/components/toolchain/${project}-linaro"
|
||||
;;
|
||||
kernel.org)
|
||||
# TBD move to linux.sh and dtc.sh?
|
||||
case "${project}" in
|
||||
linux)
|
||||
local version="${CT_LINUX_VERSION}"
|
||||
@ -1809,14 +1808,14 @@ CT_Mirrors()
|
||||
# Ignore, this happens before .config is fully evaluated
|
||||
;;
|
||||
[345].*)
|
||||
echo "http://www.kernel.org/pub/linux/kernel/v${version%%.*}.x"
|
||||
echo "https://cdn.kernel.org/pub/linux/kernel/v${version%%.*}.x"
|
||||
;;
|
||||
2.6.*)
|
||||
echo "http://www.kernel.org/pub/linux/kernel/v2.6"
|
||||
echo "https://cdn.kernel.org/pub/linux/kernel/v2.6"
|
||||
case "${version}" in
|
||||
2.6.*.*)
|
||||
echo "http://www.kernel.org/pub/linux/kernel/v2.6/longterm"
|
||||
echo "http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v${version%.*}"
|
||||
echo "https://cdn.kernel.org/pub/linux/kernel/v2.6/longterm"
|
||||
echo "https://cdn.kernel.org/pub/linux/kernel/v2.6/longterm/v${version%.*}"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
@ -1826,7 +1825,7 @@ CT_Mirrors()
|
||||
esac
|
||||
;;
|
||||
dtc)
|
||||
echo "https://mirrors.edge.kernel.org/pub/software/utils/dtc"
|
||||
echo "https://cdn.kernel.org/pub/software/utils/dtc"
|
||||
;;
|
||||
*)
|
||||
echo "-unknown-"
|
||||
|
Loading…
x
Reference in New Issue
Block a user