From 5aab6e8e187881d10d26821791bab4a211956593 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Fri, 8 Sep 2017 22:25:51 +0800 Subject: [PATCH] add GNU ustc.edu.cn mirror --- scripts/download.pl | 2 ++ target/linux/mvebu/Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/download.pl b/scripts/download.pl index bf9fe8c76..7e3b303a3 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -207,6 +207,7 @@ foreach my $mirror (@ARGV) { push @mirrors, "https://raw.githubusercontent.com/$1"; } } elsif ($mirror =~ /^\@GNU\/(.+)$/) { + push @mirrors, "http://mirrors.ustc.edu.cn/gnu/$1"; push @mirrors, "https://mirror.csclub.uwaterloo.ca/gnu/$1"; push @mirrors, "https://mirror.netcologne.de/gnu/$1"; push @mirrors, "http://ftp.kddilabs.jp/GNU/gnu/$1"; @@ -232,6 +233,7 @@ foreach my $mirror (@ARGV) { push @extra, "$extra[0]/longterm/v$1"; } foreach my $dir (@extra) { + push @mirrors, "http://mirrors.ustc.edu.cn/kernel.org/$dir"; push @mirrors, "https://cdn.kernel.org/pub/$dir"; push @mirrors, "https://mirror.rackspace.com/kernel.org/$dir"; push @mirrors, "http://download.xs4all.nl/ftp.kernel.org/pub/$dir"; diff --git a/target/linux/mvebu/Makefile b/target/linux/mvebu/Makefile index e319a8f82..a07aa7cf2 100644 --- a/target/linux/mvebu/Makefile +++ b/target/linux/mvebu/Makefile @@ -14,7 +14,7 @@ CPU_TYPE:=cortex-a9 CPU_SUBTYPE:=vfpv3 MAINTAINER:=Imre Kaloz -KERNEL_PATCHVER:=4.4 +KERNEL_PATCHVER:=4.9 include $(INCLUDE_DIR)/target.mk