summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-03-11 18:54:17 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-03-11 18:54:17 +0000
commit25a7363f5d79166f0905c3f7bec67b54c4781d38 (patch)
tree243b8e1cff9590c4727d34a8d8b0aba698add3a0
parenta199616e780f4bf25f7d7a8bfad6cf2086dc6929 (diff)
buildroot: use BR2_KERNEL_MIRROR everywhere
Based on patch by Nigel Kukard.
-rw-r--r--package/editors/uemacs/uemacs.mk2
-rw-r--r--package/module-init-tools/module-init-tools.mk2
-rw-r--r--package/modutils/modutils.mk2
-rw-r--r--package/udev/udev.mk2
-rw-r--r--target/device/AMD/DBAu1500/linux26.mk2
-rw-r--r--toolchain/binutils/binutils.mk2
-rw-r--r--toolchain/kernel-headers/kernel-headers-new.makefile4
7 files changed, 8 insertions, 8 deletions
diff --git a/package/editors/uemacs/uemacs.mk b/package/editors/uemacs/uemacs.mk
index 5abe943ee..ec28b035e 100644
--- a/package/editors/uemacs/uemacs.mk
+++ b/package/editors/uemacs/uemacs.mk
@@ -6,7 +6,7 @@
UEMACS_VERSION:=4.0.15-lt
UEMACS_SOURCE:=em-$(UEMACS_VERSION).tar.bz2
UEMACS_CAT:=$(BZCAT)
-UEMACS_SITE:=ftp://ftp.kernel.org/pub/software/editors/uemacs/
+UEMACS_SITE:=$(BR2_KERNEL_MIRROR)/software/editors/uemacs/
UEMACS_DIR:=$(BUILD_DIR)/em-$(UEMACS_VERSION)
UEMACS_BINARY:=em
UEMACS_TARGET_BINARY:=usr/bin/emacs
diff --git a/package/module-init-tools/module-init-tools.mk b/package/module-init-tools/module-init-tools.mk
index 5a0cdff8d..63d3af53f 100644
--- a/package/module-init-tools/module-init-tools.mk
+++ b/package/module-init-tools/module-init-tools.mk
@@ -6,7 +6,7 @@
MODULE_INIT_TOOLS_VERSION=3.2.2
MODULE_INIT_TOOLS_SOURCE=module-init-tools-$(MODULE_INIT_TOOLS_VERSION).tar.bz2
MODULE_INIT_TOOLS_CAT:=$(BZCAT)
-MODULE_INIT_TOOLS_SITE=http://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/
+MODULE_INIT_TOOLS_SITE=$(BR2_KERNEL_MIRROR)/linux/utils/kernel/module-init-tools/
MODULE_INIT_TOOLS_DIR=$(BUILD_DIR)/module-init-tools-$(MODULE_INIT_TOOLS_VERSION)
MODULE_INIT_TOOLS_DIR2=$(TOOL_BUILD_DIR)/module-init-tools-$(MODULE_INIT_TOOLS_VERSION)
MODULE_INIT_TOOLS_BINARY=depmod
diff --git a/package/modutils/modutils.mk b/package/modutils/modutils.mk
index 53255c19e..e6d5a927e 100644
--- a/package/modutils/modutils.mk
+++ b/package/modutils/modutils.mk
@@ -6,7 +6,7 @@
MODUTILS_VERSION:=2.4.27
MODUTILS_SOURCE=modutils-$(MODUTILS_VERSION).tar.bz2
MODUTILS_CAT:=$(BZCAT)
-MODUTILS_SITE=http://ftp.kernel.org/pub/linux/utils/kernel/modutils/v2.4/
+MODUTILS_SITE=$(BR2_KERNEL_MIRROR)/linux/utils/kernel/modutils/v2.4/
MODUTILS_DIR1=$(BUILD_DIR)/modutils-$(MODUTILS_VERSION)
MODUTILS_DIR2=$(TOOL_BUILD_DIR)/modutils-$(MODUTILS_VERSION)
MODUTILS_BINARY=depmod
diff --git a/package/udev/udev.mk b/package/udev/udev.mk
index 1cfa06afb..e50e4fa6c 100644
--- a/package/udev/udev.mk
+++ b/package/udev/udev.mk
@@ -9,7 +9,7 @@ UDEV_VOLUME_ID_AGE:=79
UDEV_VOLUME_ID_REVISION:=0
UDEV_VOLUME_ID_VERSION:=$(UDEV_VOLUME_ID_CURRENT).$(UDEV_VOLUME_ID_AGE).$(UDEV_VOLUME_ID_REVISION)
UDEV_SOURCE:=udev-$(UDEV_VERSION).tar.bz2
-UDEV_SITE:=ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
+UDEV_SITE:=$(BR2_KERNEL_MIRROR)/linux/utils/kernel/hotplug/
UDEV_CAT:=$(BZCAT)
UDEV_DIR:=$(BUILD_DIR)/udev-$(UDEV_VERSION)
UDEV_TARGET_BINARY:=sbin/udevd
diff --git a/target/device/AMD/DBAu1500/linux26.mk b/target/device/AMD/DBAu1500/linux26.mk
index 7ef013f00..2256c4435 100644
--- a/target/device/AMD/DBAu1500/linux26.mk
+++ b/target/device/AMD/DBAu1500/linux26.mk
@@ -14,7 +14,7 @@ LINUX26_VERSION=2.6.19.1
LINUX26_SOURCE=linux-$(DOWNLOAD_LINUX26_VERSION).tar.bz2
-LINUX26_SITE=http://ftp.kernel.org/pub/linux/kernel/v2.6
+LINUX26_SITE=$(BR2_KERNEL_MIRROR)/linux/kernel/v2.6
LINUX26_FORMAT=vmlinux
LINUX26_BINLOC=$(LINUX26_FORMAT)
diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk
index 1ccb7b22d..81adb783b 100644
--- a/toolchain/binutils/binutils.mk
+++ b/toolchain/binutils/binutils.mk
@@ -8,7 +8,7 @@ BINUTILS_VERSION:=$(strip $(subst ",, $(BR2_BINUTILS_VERSION)))
EXTRA_BINUTILS_CONFIG_OPTIONS=$(strip $(subst ",, $(BR2_EXTRA_BINUTILS_CONFIG_OPTIONS)))
#"))
-BINUTILS_SITE:=ftp://ftp.kernel.org/pub/linux/devel/binutils
+BINUTILS_SITE:=$(BR2_KERNEL_MIRROR)/linux/devel/binutils
ifeq ($(BINUTILS_VERSION),2.18)
BINUTILS_SITE:=$(BR2_GNU_MIRROR)/binutils/
endif
diff --git a/toolchain/kernel-headers/kernel-headers-new.makefile b/toolchain/kernel-headers/kernel-headers-new.makefile
index 4ff8e6045..7852c04bc 100644
--- a/toolchain/kernel-headers/kernel-headers-new.makefile
+++ b/toolchain/kernel-headers/kernel-headers-new.makefile
@@ -18,7 +18,7 @@ LOCALVERSION:=
EXTRAVERSION:=$(if $(EXTRAVERSION),.$(EXTRAVERSION),)
LINUX_HEADERS_VERSION:=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
-LINUX_HEADERS_SITE:=http://www.kernel.org/pub/linux/kernel/v2.6/
+LINUX_HEADERS_SITE:=$(BR2_KERNEL_MIRROR)/linux/kernel/v2.6/
LINUX_HEADERS_SOURCE:=linux-$(LINUX_HEADERS_VERSION).tar.bz2
LINUX_HEADERS_CAT:=$(BZCAT)
LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-$(LINUX_HEADERS_VERSION)
@@ -42,7 +42,7 @@ LINUX_HEADERS_DEPENDS:=
ifeq ($(BR2_KERNEL_HEADERS_RT),y)
LINUX_RT_SOURCE:=patch-$(LINUX_HEADERS_VERSION)-$(LINUX_RT_VERSION)
-LINUX_RT_SITE:=http://www.kernel.org/pub/linux/kernel/projects/rt/older/
+LINUX_RT_SITE:=$(BR2_KERNEL_MIRROR)/linux/kernel/projects/rt/older/
LINUX_HEADERS_DEPENDS+=$(DL_DIR)/$(LINUX_RT_SOURCE)
$(DL_DIR)/$(LINUX_RT_SOURCE):
$(WGET) -P $(DL_DIR) $(LINUX_RT_SITE)/$(LINUX_RT_SOURCE)