Merge pull request #5 from sonoble/buildroot_mirror

added BUILDROOTMIRROR variable to setup.env, changed backup buildroot…
This commit is contained in:
Jeffrey Townsend
2015-11-23 21:17:06 -08:00
3 changed files with 7 additions and 6 deletions

View File

@@ -84,9 +84,9 @@ BR2_HOST_DIR="$(BASE_DIR)/host"
#
# Mirrors and Download locations
#
BR2_PRIMARY_SITE="http://switch-nfs/export/buildroot-download-cache/dl"
BR2_PRIMARY_SITE_ONLY=y
BR2_BACKUP_SITE="http://sources.buildroot.net/"
BR2_PRIMARY_SITE="$(BUILDROOTMIRROR)"
BR2_PRIMARY_SITE_ONLY=n
BR2_BACKUP_SITE="https://raw.githubusercontent.com/opennetworklinux/buildroot-download-cache/master/dl"
BR2_KERNEL_MIRROR="http://www.kernel.org/pub/"
BR2_GNU_MIRROR="http://ftp.gnu.org/pub/gnu"
BR2_DEBIAN_MIRROR="http://ftp.debian.org"

View File

@@ -59,9 +59,9 @@ BR2_HOST_DIR="$(BASE_DIR)/host"
#
# Mirrors and Download locations
#
BR2_PRIMARY_SITE="http://switch-nfs/export/buildroot-download-cache/dl"
BR2_PRIMARY_SITE="$(BUILDROOTMIRROR)"
# BR2_PRIMARY_SITE_ONLY is not set
BR2_BACKUP_SITE="http://sources.buildroot.net/"
BR2_BACKUP_SITE="https://raw.githubusercontent.com/opennetworklinux/buildroot-download-cache/master/dl"
BR2_KERNEL_MIRROR="http://www.kernel.org/pub/"
BR2_GNU_MIRROR="http://ftp.gnu.org/pub/gnu"
BR2_DEBIAN_MIRROR="http://ftp.debian.org"