From 32a5769583cac3bd91b4aa52ac6dd8637e6d3c89 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 1 Jul 2017 11:50:32 +0200 Subject: nds32: do not use kernel mirrors --- mk/mirrors.mk | 7 +++++++ target/config/Config.in.kernelversion | 6 ++++++ target/nds32/systems/andes-ag101p | 1 + 3 files changed, 14 insertions(+) diff --git a/mk/mirrors.mk b/mk/mirrors.mk index 64fb084b3..a3b36be0b 100644 --- a/mk/mirrors.mk +++ b/mk/mirrors.mk @@ -10,10 +10,17 @@ MASTER_SITE_MIRBSD?= \ http://www.mirbsd.org/MirOS/distfiles/ \ http://pub.allbsd.org/MirOS/distfiles/ \ +ifeq ($(ADK_TARGET_KERNEL_NO_MIRROR),) MASTER_SITE_KERNEL?= \ http://www.kernel.org/pub/linux/ \ ftp://www.kernel.org/pub/linux/ \ +else +MASTER_SITE_KERNEL?= \ + http://distfiles.openadk.org/ \ + +endif + MASTER_SITE_GNU?= \ http://ftp.gnu.org/gnu/ \ ftp://ftp.gnu.org/gnu/ \ diff --git a/target/config/Config.in.kernelversion b/target/config/Config.in.kernelversion index 7293d392b..6d54420ea 100644 --- a/target/config/Config.in.kernelversion +++ b/target/config/Config.in.kernelversion @@ -241,3 +241,9 @@ config ADK_TARGET_KERNEL_GIT_TYPE string depends on ADK_TARGET_KERNEL_VERSION_GIT default "hash" + +config ADK_TARGET_KERNEL_NO_MIRROR + bool + help + Select this if the kernel source is only available + on OpenADK webserver. diff --git a/target/nds32/systems/andes-ag101p b/target/nds32/systems/andes-ag101p index 31d35a479..8da29ae28 100644 --- a/target/nds32/systems/andes-ag101p +++ b/target/nds32/systems/andes-ag101p @@ -5,5 +5,6 @@ config ADK_TARGET_SYSTEM_ANDES_AG101P select ADK_TARGET_WITH_NET select ADK_TARGET_WITH_NETDEVICE select ADK_TARGET_KERNEL_IMAGE + select ADK_TARGET_KERNEL_NO_MIRROR help Andes Technology AG101P (ADP-XC7KFF676) -- cgit v1.2.3