summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorThomas Lundquist <lists@zelow.no>2007-12-27 12:00:12 +0000
committerThomas Lundquist <lists@zelow.no>2007-12-27 12:00:12 +0000
commitdc6a57bc6909fbc175c86c044898f1c7694965fd (patch)
treec13c3f193d9b2b069fb06c2fc0cc2a14106f3091 /target
parentdad4e51f6974b1129f59127f1bf8bdac915c873f (diff)
downloadbuildroot-novena-dc6a57bc6909fbc175c86c044898f1c7694965fd.tar.gz
buildroot-novena-dc6a57bc6909fbc175c86c044898f1c7694965fd.zip
Added BR2_DEBIAN_MIRROR
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