summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/device/Config.in.mirrors10
-rw-r--r--target/x86/grub/grub.mk4
-rw-r--r--target/x86/grub2/grub2.mk4
3 files changed, 14 insertions, 4 deletions
diff --git a/target/device/Config.in.mirrors b/target/device/Config.in.mirrors
index 92ed872fa..43318dcff 100644
--- a/target/device/Config.in.mirrors
+++ b/target/device/Config.in.mirrors
@@ -38,6 +38,16 @@ config BR2_GNU_MIRROR
http://ftp.gnu.org/pub/gnu
http://mirror.aarnet.edu.au/pub/gnu
+config BR2_DEBIAN_MIRROR
+ string "Debian Software mirror"
+ default "http://ftp.debian.org"
+ help
+ Debian has multiple software mirrors scattered around the world.
+ The following allows you to select your preferred mirror.
+
+ Usually, just add your country code like XX here:
+ http://ftp.XX.debian.org
+
source "target/device/Atmel/Config.in.mirrors"
endmenu
diff --git a/target/x86/grub/grub.mk b/target/x86/grub/grub.mk
index 85606b721..6984b1af2 100644
--- a/target/x86/grub/grub.mk
+++ b/target/x86/grub/grub.mk
@@ -22,8 +22,8 @@ ifeq ($(GRUB_SUPPORTED_ARCH),y)
#############################################################
GRUB_SOURCE:=grub_0.97.orig.tar.gz
GRUB_PATCH:=grub_0.97-28.diff.gz
-GRUB_SITE=http://ftp.debian.org/debian/pool/main/g/grub
-GRUB_PATCH_SITE:=http://ftp.debian.org/debian/pool/main/g/grub
+GRUB_SITE=$(BR2_DEBIAN_MIRROR)/debian/pool/main/g/grub
+GRUB_PATCH_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/g/grub
GRUB_CAT:=$(ZCAT)
GRUB_DIR:=$(BUILD_DIR)/grub-0.97
GRUB_BINARY:=grub/grub
diff --git a/target/x86/grub2/grub2.mk b/target/x86/grub2/grub2.mk
index 07d38af68..fcbbc2cc6 100644
--- a/target/x86/grub2/grub2.mk
+++ b/target/x86/grub2/grub2.mk
@@ -22,8 +22,8 @@ ifeq ($(GRUB2_SUPPORTED_ARCH),y)
#############################################################
GRUB2_SOURCE:=grub2_1.95.orig.tar.gz
GRUB2_PATCH:=grub2_1.95-5.diff.gz
-GRUB2_SITE=http://ftp.debian.org/debian/pool/main/g/grub2
-GRUB2_PATCH_SITE:=http://ftp.debian.org/debian/pool/main/g/grub2
+GRUB2_SITE=$(BR2_DEBIAN_MIRROR)/debian/pool/main/g/grub2
+GRUB2_PATCH_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/g/grub2
GRUB2_CAT:=$(ZCAT)
GRUB2_DIR:=$(BUILD_DIR)/grub-1.95
GRUB2_BINARY:=grub2/grub2