aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--classes/base.bbclass12
-rw-r--r--conf/bitbake.conf1
-rw-r--r--packages/autofs/autofs_3.1.7.bb2
-rw-r--r--packages/autofs/autofs_4.0.0.bb2
-rw-r--r--packages/autofs/autofs_4.1.4.bb8
-rw-r--r--packages/binutils/binutils_2.14.90.0.6.bb2
-rw-r--r--packages/binutils/binutils_2.14.90.0.7.bb2
-rw-r--r--packages/binutils/binutils_2.15.94.0.1.bb2
-rw-r--r--packages/binutils/binutils_2.16.91.0.6.bb2
-rw-r--r--packages/binutils/binutils_2.16.91.0.7.bb2
-rw-r--r--packages/binutils/binutils_2.17.50.0.1.bb2
-rw-r--r--packages/binutils/binutils_2.17.50.0.5.bb2
-rw-r--r--packages/diethotplug/diethotplug_0.4.bb2
-rw-r--r--packages/hotplug-ng/hotplug-ng_001.bb2
-rw-r--r--packages/hotplug-ng/hotplug-ng_002.bb2
-rw-r--r--packages/interbench/interbench_0.30.bb2
-rw-r--r--packages/kernbench/kernbench_0.41.bb2
-rw-r--r--packages/klibc/klibc.inc2
-rw-r--r--packages/ksymoops/ksymoops_2.4.9.bb2
-rw-r--r--packages/libcap/libcap_1.10.bb2
-rw-r--r--packages/linux-hotplug/linux-hotplug_20040329.bb2
-rw-r--r--packages/linux-hotplug/linux-hotplug_20040920.bb2
-rw-r--r--packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb2
-rw-r--r--packages/linux-libc-headers/linux-libc-headers_2.6.18.bb2
-rw-r--r--packages/linux-uml/linux-uml_2.4.26.bb2
-rw-r--r--packages/linux-uml/linux-uml_2.6.11-rc2-mm1.bb6
-rw-r--r--packages/linux/compulab-pxa270_2.6.16.bb2
-rw-r--r--packages/linux/devkitidp-pxa255-kernel_2.6.11.bb2
-rw-r--r--packages/linux/ep93xx-kernel_2.6.17+2.6.18-rc1.bb6
-rw-r--r--packages/linux/gumstix_2.6.5-gnalm1-gum0.bb2
-rw-r--r--packages/linux/ipod_2.4.24-ipod0.bb2
-rw-r--r--packages/linux/ixp4xx-kernel.inc10
-rw-r--r--packages/linux/linux-amsdelta-2.6_2.6.16-omap2.bb2
-rw-r--r--packages/linux/linux-bast_2.4.25-vrs1-bast1.bb2
-rw-r--r--packages/linux/linux-colinux_2.4.28.bb2
-rw-r--r--packages/linux/linux-colinux_2.6.10.bb2
-rw-r--r--packages/linux/linux-dht-walnut_2.6.12.6.bb2
-rw-r--r--packages/linux/linux-dht-walnut_2.6.12.bb2
-rw-r--r--packages/linux/linux-epia_2.6.11.bb2
-rw-r--r--packages/linux/linux-epia_2.6.12.bb2
-rw-r--r--packages/linux/linux-epia_2.6.8.1.bb2
-rw-r--r--packages/linux/linux-ezx_2.6.16.13.bb2
-rw-r--r--packages/linux/linux-geodegx_2.4.24.bb2
-rw-r--r--packages/linux/linux-geodelx_2.6.11.bb2
-rw-r--r--packages/linux/linux-gumstix_2.6.15.bb2
-rw-r--r--packages/linux/linux-h1940_2.6.11-bk1-h1940.bb4
-rw-r--r--packages/linux/linux-h1940_2.6.14-h1940.bb2
-rw-r--r--packages/linux/linux-h1940_2.6.17-h1940.bb2
-rw-r--r--packages/linux/linux-h6300-omap1_2.6.12-rc5.bb2
-rw-r--r--packages/linux/linux-h6300-omap1_2.6.14.3.bb2
-rw-r--r--packages/linux/linux-h6300-omap1_2.6.16.16.bb2
-rw-r--r--packages/linux/linux-jlime-jornada6xx_2.6.17.bb2
-rw-r--r--packages/linux/linux-jlime-jornada7xx_2.6.17.bb2
-rw-r--r--packages/linux/linux-jlime-jornada7xx_2.6.18.bb2
-rw-r--r--packages/linux/linux-jlime-jornada7xx_2.6.19rc6.bb4
-rw-r--r--packages/linux/linux-ks8695_2.6.16.bb2
-rw-r--r--packages/linux/linux-mtx-3_2.6.15.4.bb2
-rw-r--r--packages/linux/linux-navman_2.6.18.bb2
-rw-r--r--packages/linux/linux-netvista_2.4.27.bb2
-rw-r--r--packages/linux/linux-omap-2.6_2.6.9-omap1.bb2
-rw-r--r--packages/linux/linux-omap1_2.6.12-rc2.bb2
-rw-r--r--packages/linux/linux-omap1_2.6.18-omap1.bb2
-rw-r--r--packages/linux/linux-rp_2.6.16.bb2
-rw-r--r--packages/linux/linux-rp_2.6.17.bb2
-rw-r--r--packages/linux/linux-rp_2.6.18.bb2
-rw-r--r--packages/linux/linux-rp_2.6.19.bb2
-rw-r--r--packages/linux/linux-smdk2440_2.6.18.bb2
-rw-r--r--packages/linux/linux-storcenter_2.6.12.6.bb2
-rw-r--r--packages/linux/linux-sun4cdm_2.4.26.bb2
-rw-r--r--packages/linux/linux-sun4cdm_2.6.8.1.bb2
-rw-r--r--packages/linux/linux-titan-sh4_2.6.17.bb2
-rw-r--r--packages/linux/linux-wrap-geode_2.6.17.bb2
-rw-r--r--packages/linux/linux-wrt_2.4.20.bb2
-rw-r--r--packages/linux/linux-wrt_2.4.30.bb2
-rw-r--r--packages/linux/linux-x86_2.6.17.9.bb2
-rw-r--r--packages/linux/linux_2.6.19-rc6.bb14
-rw-r--r--packages/linux/logicpd-pxa270_2.6.17-rc5.bb2
-rw-r--r--packages/linux/mainstone-kernel_2.6.11.bb2
-rw-r--r--packages/linux/mainstone-kernel_2.6.18.bb2
-rw-r--r--packages/linux/mnci-ramses_2.4.21-rmk2-pxa1.bb2
-rw-r--r--packages/linux/mx21ads-kernel_2.6.19rc6.bb4
-rw-r--r--packages/linux/mx31ads-kernel_2.6.19rc6.bb4
-rw-r--r--packages/linux/netbook-pro-kernel_2.6.17.bb2
-rw-r--r--packages/linux/nslu2-kernel.inc10
-rw-r--r--packages/linux/nslu2-linksys-kernel_2.4.22.bb2
-rw-r--r--packages/linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.bb2
-rw-r--r--packages/linux/opensimpad_2.4.27-vrs1-pxa1-jpm1.bb2
-rw-r--r--packages/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.inc2
-rw-r--r--packages/linux/triton-kernel_2.6.11.bb4
-rw-r--r--packages/man-pages/man-pages_2.41.bb2
-rw-r--r--packages/man/man_1.5m2.bb2
-rw-r--r--packages/man/man_1.5p.bb2
-rw-r--r--packages/mdadm/mdadm.inc2
-rw-r--r--packages/module-init-tools/module-init-tools_3.2.1.bb2
-rw-r--r--packages/module-init-tools/module-init-tools_3.2.2.bb2
-rw-r--r--packages/modutils/modutils_2.4.27.bb2
-rw-r--r--packages/nis/nis.inc2
-rw-r--r--packages/nis/pwdutils_2.6.bb2
-rw-r--r--packages/nis/ypbind-mt_1.18.bb2
-rw-r--r--packages/nis/ypserv_2.17.bb2
-rw-r--r--packages/pam/libpam_0.79.bb2
-rw-r--r--packages/pciutils/pciutils_2.1.11.bb2
-rw-r--r--packages/pciutils/pciutils_2.2.4.bb2
-rw-r--r--packages/pcmciautils/pcmciautils.inc2
-rw-r--r--packages/pmtools/pmtools_20050926.bb2
-rw-r--r--packages/syslinux/syslinux-native_2.11.bb2
-rw-r--r--packages/syslinux/syslinux-native_3.11.bb2
-rw-r--r--packages/udev/udev_092.bb2
-rw-r--r--packages/udev/udev_097.bb2
-rw-r--r--packages/udev/udev_100.bb2
-rw-r--r--packages/util-linux/util-linux-native_2.12r.bb2
-rw-r--r--packages/util-linux/util-linux.inc2
112 files changed, 143 insertions, 142 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index e1d0e8854a..249a25a218 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -770,12 +770,12 @@ ${GNU_MIRROR} ftp://ftp.matrix.com.br/pub/gnu
${GNU_MIRROR} ftp://ftp.cs.ubc.ca/mirror2/gnu
${GNU_MIRROR} ftp://sunsite.ust.hk/pub/gnu
${GNU_MIRROR} ftp://ftp.ayamura.org/pub/gnu
-ftp://ftp.kernel.org/pub http://www.kernel.org/pub
-ftp://ftp.kernel.org/pub ftp://ftp.us.kernel.org/pub
-ftp://ftp.kernel.org/pub ftp://ftp.uk.kernel.org/pub
-ftp://ftp.kernel.org/pub ftp://ftp.hk.kernel.org/pub
-ftp://ftp.kernel.org/pub ftp://ftp.au.kernel.org/pub
-ftp://ftp.kernel.org/pub ftp://ftp.jp.kernel.org/pub
+${KERNELORG_MIRROR} http://www.kernel.org/pub
+${KERNELORG_MIRROR} ftp://ftp.us.kernel.org/pub
+${KERNELORG_MIRROR} ftp://ftp.uk.kernel.org/pub
+${KERNELORG_MIRROR} ftp://ftp.hk.kernel.org/pub
+${KERNELORG_MIRROR} ftp://ftp.au.kernel.org/pub
+${KERNELORG_MIRROR} ftp://ftp.jp.kernel.org/pub
ftp://ftp.gnupg.org/gcrypt/ ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/
ftp://ftp.gnupg.org/gcrypt/ ftp://ftp.surfnet.nl/pub/security/gnupg/
ftp://ftp.gnupg.org/gcrypt/ http://gulus.USherbrooke.ca/pub/appl/GnuPG/
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index c9b25f7c9e..dcdc18c322 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -332,6 +332,7 @@ E_URI = "http://enlightenment.freedesktop.org/files"
FREEDESKTOP_CVS = "cvs://anoncvs:anoncvs@anoncvs.freedesktop.org/cvs"
GENTOO_MIRROR = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles"
APACHE_MIRROR = "http://www.apache.org/dist"
+KERNELORG_MIRROR = "http://kernel.org/"
# You can use the mirror of your country to get faster downloads by putting
# export DEBIAN_MIRROR = "ftp://ftp.de.debian.org/debian/pool"
diff --git a/packages/autofs/autofs_3.1.7.bb b/packages/autofs/autofs_3.1.7.bb
index e09971b59f..05481ed46c 100644
--- a/packages/autofs/autofs_3.1.7.bb
+++ b/packages/autofs/autofs_3.1.7.bb
@@ -1,7 +1,7 @@
DESCRIPTION = "Kernel based automounter for linux."
SECTION = "base"
LICENSE = "GPL"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/daemons/autofs/v3/autofs-${PV}.tar.bz2"
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/daemons/autofs/v3/autofs-${PV}.tar.bz2"
inherit autotools
diff --git a/packages/autofs/autofs_4.0.0.bb b/packages/autofs/autofs_4.0.0.bb
index 225841172a..6033b8a09a 100644
--- a/packages/autofs/autofs_4.0.0.bb
+++ b/packages/autofs/autofs_4.0.0.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Kernel based automounter for linux."
SECTION = "base"
LICENSE = "GPL"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/daemons/autofs/v4/old/autofs-${PV}-1.tar.bz2"
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/daemons/autofs/v4/old/autofs-${PV}-1.tar.bz2"
inherit autotools
diff --git a/packages/autofs/autofs_4.1.4.bb b/packages/autofs/autofs_4.1.4.bb
index 35a1652557..128c24e296 100644
--- a/packages/autofs/autofs_4.1.4.bb
+++ b/packages/autofs/autofs_4.1.4.bb
@@ -2,10 +2,10 @@ DESCRIPTION = "Kernel based automounter for linux."
SECTION = "base"
LICENSE = "GPL"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/daemons/autofs/v4/autofs-${PV}.tar.bz2 \
- ftp://ftp.kernel.org/pub/linux/daemons/autofs/v4/autofs-4.1.4-misc-fixes.patch;patch=1 \
- ftp://ftp.kernel.org/pub/linux/daemons/autofs/v4/autofs-4.1.4-multi-parse-fix.patch;patch=1 \
- ftp://ftp.kernel.org/pub/linux/daemons/autofs/v4/autofs-4.1.4-non-replicated-ping.patch;patch=1 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/daemons/autofs/v4/autofs-${PV}.tar.bz2 \
+ ${KERNELORG_MIRROR}/pub/linux/daemons/autofs/v4/autofs-4.1.4-misc-fixes.patch;patch=1 \
+ ${KERNELORG_MIRROR}/pub/linux/daemons/autofs/v4/autofs-4.1.4-multi-parse-fix.patch;patch=1 \
+ ${KERNELORG_MIRROR}/pub/linux/daemons/autofs/v4/autofs-4.1.4-non-replicated-ping.patch;patch=1 \
file://cross.patch;patch=1 \
file://Makefile.rules-cross.patch;patch=1 \
file://install.patch;patch=1"
diff --git a/packages/binutils/binutils_2.14.90.0.6.bb b/packages/binutils/binutils_2.14.90.0.6.bb
index 4a6078994e..e20a40cf5c 100644
--- a/packages/binutils/binutils_2.14.90.0.6.bb
+++ b/packages/binutils/binutils_2.14.90.0.6.bb
@@ -38,7 +38,7 @@ FILES_${PN}-symlinks = " \
${bindir}/strip"
SRC_URI = \
- "http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
+ "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
file://ld_makefile.patch;patch=1 \
file://better_file_error.patch;patch=1 \
file://signed_char_fix.patch;patch=1 \
diff --git a/packages/binutils/binutils_2.14.90.0.7.bb b/packages/binutils/binutils_2.14.90.0.7.bb
index efad9f531a..caae896a1f 100644
--- a/packages/binutils/binutils_2.14.90.0.7.bb
+++ b/packages/binutils/binutils_2.14.90.0.7.bb
@@ -37,7 +37,7 @@ FILES_${PN}-symlinks = " \
${bindir}/strip"
SRC_URI = \
- "http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
+ "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
file://ld_makefile.patch;patch=1 \
file://better_file_error.patch;patch=1 \
file://signed_char_fix.patch;patch=1 \
diff --git a/packages/binutils/binutils_2.15.94.0.1.bb b/packages/binutils/binutils_2.15.94.0.1.bb
index 9aa1b050d3..a8802c09e9 100644
--- a/packages/binutils/binutils_2.15.94.0.1.bb
+++ b/packages/binutils/binutils_2.15.94.0.1.bb
@@ -37,7 +37,7 @@ FILES_${PN}-symlinks = " \
${bindir}/strip"
SRC_URI = \
- "http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
+ "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
file://ld_makefile.patch;patch=1 \
file://better_file_error.patch;patch=1 \
file://signed_char_fix.patch;patch=1 \
diff --git a/packages/binutils/binutils_2.16.91.0.6.bb b/packages/binutils/binutils_2.16.91.0.6.bb
index 680730d5eb..8e63fe78dc 100644
--- a/packages/binutils/binutils_2.16.91.0.6.bb
+++ b/packages/binutils/binutils_2.16.91.0.6.bb
@@ -42,7 +42,7 @@ FILES_${PN}-symlinks = " \
${bindir}/strip"
SRC_URI = \
- "http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
+ "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \
file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \
file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \
diff --git a/packages/binutils/binutils_2.16.91.0.7.bb b/packages/binutils/binutils_2.16.91.0.7.bb
index 664fce8cb7..ad81300957 100644
--- a/packages/binutils/binutils_2.16.91.0.7.bb
+++ b/packages/binutils/binutils_2.16.91.0.7.bb
@@ -37,7 +37,7 @@ FILES_${PN}-symlinks = " \
${bindir}/strip"
SRC_URI = \
- "http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
+ "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \
file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \
file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \
diff --git a/packages/binutils/binutils_2.17.50.0.1.bb b/packages/binutils/binutils_2.17.50.0.1.bb
index 664fce8cb7..ad81300957 100644
--- a/packages/binutils/binutils_2.17.50.0.1.bb
+++ b/packages/binutils/binutils_2.17.50.0.1.bb
@@ -37,7 +37,7 @@ FILES_${PN}-symlinks = " \
${bindir}/strip"
SRC_URI = \
- "http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
+ "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \
file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \
file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \
diff --git a/packages/binutils/binutils_2.17.50.0.5.bb b/packages/binutils/binutils_2.17.50.0.5.bb
index 09e4a36b81..4e566fb756 100644
--- a/packages/binutils/binutils_2.17.50.0.5.bb
+++ b/packages/binutils/binutils_2.17.50.0.5.bb
@@ -36,7 +36,7 @@ FILES_${PN}-symlinks = " \
${bindir}/strip"
SRC_URI = \
- "http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
+ "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \
file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \
file://110-arm-eabi-conf.patch;patch=1 \
diff --git a/packages/diethotplug/diethotplug_0.4.bb b/packages/diethotplug/diethotplug_0.4.bb
index 86f8a6fb8a..150b442962 100644
--- a/packages/diethotplug/diethotplug_0.4.bb
+++ b/packages/diethotplug/diethotplug_0.4.bb
@@ -2,7 +2,7 @@ SECTION = "base"
LICENSE = "GPL"
DESCRIPTION = "A small, C implementation of hotplug."
-SRC_URI = "http://www.kernel.org/pub/linux/utils/kernel/hotplug/diethotplug-${PV}.tar.gz \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/diethotplug-${PV}.tar.gz \
file://modules.usbmap \
file://modules.pcimap \
file://modules.ieee1394map"
diff --git a/packages/hotplug-ng/hotplug-ng_001.bb b/packages/hotplug-ng/hotplug-ng_001.bb
index 2a10df6886..c76c0f06eb 100644
--- a/packages/hotplug-ng/hotplug-ng_001.bb
+++ b/packages/hotplug-ng/hotplug-ng_001.bb
@@ -7,7 +7,7 @@ RCONFLICTS = "hotplug"
RREPLACES = "hotplug"
PR = "r1"
-SRC_URI = "http://www.kernel.org/pub/linux/utils/kernel/hotplug/hotplug-ng-${PV}.tar.gz \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/hotplug-ng-${PV}.tar.gz \
file://flags.patch;patch=1"
S = "${WORKDIR}/hotplug-ng-${PV}"
diff --git a/packages/hotplug-ng/hotplug-ng_002.bb b/packages/hotplug-ng/hotplug-ng_002.bb
index 2b6b1d4a45..3c5014be9a 100644
--- a/packages/hotplug-ng/hotplug-ng_002.bb
+++ b/packages/hotplug-ng/hotplug-ng_002.bb
@@ -6,7 +6,7 @@ RPROVIDES_${PN} = "hotplug"
RCONFLICTS_${PN} = "hotplug"
RREPLACES_${PN} = "hotplug"
-SRC_URI = "http://www.kernel.org/pub/linux/utils/kernel/hotplug/hotplug-ng-${PV}.tar.gz"
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/hotplug-ng-${PV}.tar.gz"
#S = "${WORKDIR}/hotplug-ng-${PV}"
diff --git a/packages/interbench/interbench_0.30.bb b/packages/interbench/interbench_0.30.bb
index 6ddc947057..84bd88dbc2 100644
--- a/packages/interbench/interbench_0.30.bb
+++ b/packages/interbench/interbench_0.30.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Linux interactivity benchmark"
HOMEPAGE = "http://members.optusnet.com.au/ckolivas/interbench/"
LICENSE = "GPL"
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/people/ck/apps/interbench/interbench-0.30.tar.bz2"
+SRC_URI = "${KERNELORG_MIRROR}/gpub/linux/kernel/people/ck/apps/interbench/interbench-0.30.tar.bz2"
inherit autotools
diff --git a/packages/kernbench/kernbench_0.41.bb b/packages/kernbench/kernbench_0.41.bb
index 4a49cce8c6..33f651a154 100644
--- a/packages/kernbench/kernbench_0.41.bb
+++ b/packages/kernbench/kernbench_0.41.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://kernbench.kolivas.org/"
LICENSE = "GPL"
RDEPENDS = "time"
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/people/ck/apps/kernbench/kernbench-${PV}.tar.bz2"
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/people/ck/apps/kernbench/kernbench-${PV}.tar.bz2"
inherit autotools
diff --git a/packages/klibc/klibc.inc b/packages/klibc/klibc.inc
index be9448afb6..29ca1685c1 100644
--- a/packages/klibc/klibc.inc
+++ b/packages/klibc/klibc.inc
@@ -4,7 +4,7 @@ DESCRIPTION = "klibc is intended to be a minimalistic libc subset for \
use with initramfs. It is deliberately written for small size, \
minimal entaglement, and portability, not speed."
LICENSE = "BSD-ADV"
-SRC_URI = "http://www.kernel.org/pub/linux/libs/klibc/Stable/klibc-${PV}.tar.bz2"
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/klibc/Stable/klibc-${PV}.tar.bz2"
SRC_URI += "file://install.patch;patch=1"
S = "${WORKDIR}/klibc-${PV}"
diff --git a/packages/ksymoops/ksymoops_2.4.9.bb b/packages/ksymoops/ksymoops_2.4.9.bb
index 52bd0bfcde..0ce64596fe 100644
--- a/packages/ksymoops/ksymoops_2.4.9.bb
+++ b/packages/ksymoops/ksymoops_2.4.9.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Kernel oops and error message decoder."
LICENSE = "GPLv2"
DEPENDS = "binutils"
-SRC_URI = "http://www.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4/ksymoops-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/ksymoops/v2.4/ksymoops-${PV}.tar.bz2 \
file://flags.patch;patch=1"
S = "${WORKDIR}/ksymoops-${PV}"
diff --git a/packages/libcap/libcap_1.10.bb b/packages/libcap/libcap_1.10.bb
index 49332c050d..a7e1068f49 100644
--- a/packages/libcap/libcap_1.10.bb
+++ b/packages/libcap/libcap_1.10.bb
@@ -6,7 +6,7 @@ DEPENDS = "bison-native flex-native"
CFLAGS_append = " -I${S}/libcap/include"
-SRC_URI = "http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/${PN}-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/security/linux-privs/kernel-2.4/${PN}-${PV}.tar.bz2 \
file://makenames.patch;patch=1 \
file://make.patch;patch=1 "
diff --git a/packages/linux-hotplug/linux-hotplug_20040329.bb b/packages/linux-hotplug/linux-hotplug_20040329.bb
index 06d9faee77..80d6eca339 100644
--- a/packages/linux-hotplug/linux-hotplug_20040329.bb
+++ b/packages/linux-hotplug/linux-hotplug_20040329.bb
@@ -8,7 +8,7 @@ RCONFLICTS_${PN} = "hotplug"
RREPLACES_${PN} = "hotplug"
PR = "r1"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/hotplug-2004_03_29.tar.gz \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/hotplug-2004_03_29.tar.gz \
file://busybox.patch;patch=1 \
file://fix-net.agent \
file://update-usb.usermap \
diff --git a/packages/linux-hotplug/linux-hotplug_20040920.bb b/packages/linux-hotplug/linux-hotplug_20040920.bb
index 7c27551903..6209504c20 100644
--- a/packages/linux-hotplug/linux-hotplug_20040920.bb
+++ b/packages/linux-hotplug/linux-hotplug_20040920.bb
@@ -10,7 +10,7 @@ SECTION = "base"
RSUGGESTS = "pciutils usbutils"
PR = "r9"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/hotplug-2004_09_20.tar.gz \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/hotplug-2004_09_20.tar.gz \
file://dash.patch;patch=1 \
file://userspecified_hcd.patch;patch=1 \
file://hotplug-net-agent-usb.patch;patch=1 \
diff --git a/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb b/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb
index 8fb2600550..2e9e7eac82 100644
--- a/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb
+++ b/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb
@@ -6,7 +6,7 @@ INHIBIT_DEFAULT_DEPS = "1"
PR = "r0"
SRC_URI = " \
- ftp://ftp.kernel.org/pub/linux/kernel/people/dwmw2/kernel-headers/snapshot/linux-kernel-headers-2.6.19-rc1.tar.bz2 \
+ ${KERNELORG_MIRROR}/pub/linux/kernel/people/dwmw2/kernel-headers/snapshot/linux-kernel-headers-2.6.19-rc1.tar.bz2 \
file://arm-procinfo-hwcap.patch;patch=1 \
file://arm-unistd-syscall.patch;patch=1 \
file://linux-err.patch;patch=1 \
diff --git a/packages/linux-libc-headers/linux-libc-headers_2.6.18.bb b/packages/linux-libc-headers/linux-libc-headers_2.6.18.bb
index 2513b4e54c..6767d7aac9 100644
--- a/packages/linux-libc-headers/linux-libc-headers_2.6.18.bb
+++ b/packages/linux-libc-headers/linux-libc-headers_2.6.18.bb
@@ -5,7 +5,7 @@ INHIBIT_DEFAULT_DEPS = "1"
DEPENDS = "unifdef-native"
PR = "r1"
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
file://arm-syscall-define.patch;patch=1"
S = "${WORKDIR}/linux-2.6.18"
diff --git a/packages/linux-uml/linux-uml_2.4.26.bb b/packages/linux-uml/linux-uml_2.4.26.bb
index efcb228396..a5dbfd814a 100644
--- a/packages/linux-uml/linux-uml_2.4.26.bb
+++ b/packages/linux-uml/linux-uml_2.4.26.bb
@@ -4,7 +4,7 @@ LICENSE = "GPL"
UMLR = "2"
PR = "1"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.4/linux-${PV}.tar.bz2 \
${SOURCEFORGE_MIRROR}/user-mode-linux/uml-patch-${PV}-${UMLR}.bz2;patch=1 \
file://defconfig \
file://aio_abi.h"
diff --git a/packages/linux-uml/linux-uml_2.6.11-rc2-mm1.bb b/packages/linux-uml/linux-uml_2.6.11-rc2-mm1.bb
index 848bb709e8..e71199d617 100644
--- a/packages/linux-uml/linux-uml_2.6.11-rc2-mm1.bb
+++ b/packages/linux-uml/linux-uml_2.6.11-rc2-mm1.bb
@@ -7,9 +7,9 @@ MMV = "${@bb.data.getVar('PV',d,True).split('-')[2]}"
LV = "2.6.10"
PR = "r3"
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-${LV}.tar.bz2 \
- http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-${KV}-${RCV}.bz2;patch=1 \
- http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/${KV}-${RCV}/${KV}-${RCV}-${MMV}/${KV}-${RCV}-${MMV}.gz;patch=1 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${LV}.tar.bz2 \
+ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/patch-${KV}-${RCV}.bz2;patch=1 \
+ ${KERNELORG_MIRROR}/pub/linux/kernel/people/akpm/patches/2.6/${KV}-${RCV}/${KV}-${RCV}-${MMV}/${KV}-${RCV}-${MMV}.gz;patch=1 \
file://defconfig"
#http://www.suse.de/~kraxel/uml/patches/2.6.10-rc3/uml-core-on-panic;patch=1 \
#http://www.suse.de/~kraxel/uml/patches/2.6.10-rc3/uml-pretend-to-be-i586;patch=1 \
diff --git a/packages/linux/compulab-pxa270_2.6.16.bb b/packages/linux/compulab-pxa270_2.6.16.bb
index 4d86d9958c..5e6f664bc2 100644
--- a/packages/linux/compulab-pxa270_2.6.16.bb
+++ b/packages/linux/compulab-pxa270_2.6.16.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Linux kernel for the Compulab PXA270 system"
LICENSE = "GPL"
PR = "r2"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \
file://linux-2.6.16.patch;patch=1 \
file://defconfig \
http://www.compulab.co.il/x270/download/x270-linux-drv.zip"
diff --git a/packages/linux/devkitidp-pxa255-kernel_2.6.11.bb b/packages/linux/devkitidp-pxa255-kernel_2.6.11.bb
index 5c257eae47..a79c90220c 100644
--- a/packages/linux/devkitidp-pxa255-kernel_2.6.11.bb
+++ b/packages/linux/devkitidp-pxa255-kernel_2.6.11.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Linux kernel for the BSQUARE PXA255 DevKitIDP"
LICENSE = "GPL"
PR = "r2"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.11.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.11.tar.bz2 \
ftp://ftp.accelent.com/pxa255_idp/linux/kernel-2.6.11-rc4_idp.patch;patch=1 \
ftp://ftp.accelent.com/pxa255_idp/linux/kernel-2.6.11_idp_leds.patch;patch=1 \
ftp://ftp.accelent.com/pxa255_idp/linux/devkitidp-pxa255_defconfig"
diff --git a/packages/linux/ep93xx-kernel_2.6.17+2.6.18-rc1.bb b/packages/linux/ep93xx-kernel_2.6.17+2.6.18-rc1.bb
index 217b393069..09926ce5c0 100644
--- a/packages/linux/ep93xx-kernel_2.6.17+2.6.18-rc1.bb
+++ b/packages/linux/ep93xx-kernel_2.6.17+2.6.18-rc1.bb
@@ -5,9 +5,9 @@ PR = "r1"
COMPATIBLE_MACHINE = "ep93xx"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.tar.bz2 \
- http://ftp.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.18-rc1.bz2;patch=1 \
- http://ftp.kernel.org/pub/linux/kernel/v2.6/snapshots/old/patch-2.6.18-rc1-git9.bz2;patch=1 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.17.tar.bz2 \
+ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/patch-2.6.18-rc1.bz2;patch=1 \
+ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/snapshots/old/patch-2.6.18-rc1-git9.bz2;patch=1 \
http://www.wantstofly.org/~buytenh/ep93xx/derevo20.diff;pnum=1;patch=1 \
file://defconfig \
"
diff --git a/packages/linux/gumstix_2.6.5-gnalm1-gum0.bb b/packages/linux/gumstix_2.6.5-gnalm1-gum0.bb
index befb587f89..875f47c99c 100644
--- a/packages/linux/gumstix_2.6.5-gnalm1-gum0.bb
+++ b/packages/linux/gumstix_2.6.5-gnalm1-gum0.bb
@@ -8,7 +8,7 @@ LICENSE = "GPL"
COMPATIBLE_MACHINE = "gumstix"
# NOTE: pulled local linux-2.6.5-gnalm1, since it didn't apply cleanly
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.5.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.5.tar.bz2 \
file://linux-2.6.5-gnalm1.patch;patch=1 \
http://gumstix.superlucidity.net/downloads/kernel/patches/linux-2.6.5-gnalm1-gum0.patch;patch=1 \
file://defconfig"
diff --git a/packages/linux/ipod_2.4.24-ipod0.bb b/packages/linux/ipod_2.4.24-ipod0.bb
index f66039f90e..e6248e581d 100644
--- a/packages/linux/ipod_2.4.24-ipod0.bb
+++ b/packages/linux/ipod_2.4.24-ipod0.bb
@@ -4,7 +4,7 @@ LICENSE = "GPL"
KV = "2.4.24"
PV = "${KV}-ipod0"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
http://www.uclinux.org/pub/uClinux/uClinux-2.4.x/uClinux-2.4.24-uc0.diff.gz;patch=1 \
${SOURCEFORGE_MIRROR}/ipodlinux/uclinux-2.4.24-ipod0.patch.gz;patch=1 "
diff --git a/packages/linux/ixp4xx-kernel.inc b/packages/linux/ixp4xx-kernel.inc
index 4c5751565f..2e49e912f5 100644
--- a/packages/linux/ixp4xx-kernel.inc
+++ b/packages/linux/ixp4xx-kernel.inc
@@ -87,7 +87,7 @@ python () {
name.append(patch)
pname = '-'.join(name)
if patch[0:2] == "rc" or patch[0:3] == "pre":
- patch_uri.append("ftp://ftp.kernel.org/pub/linux/kernel/v%s/testing/patch-%s.bz2;patch=1;pname=%s" % (major, pname, pname))
+ patch_uri.append("${KERNELORG_MIRROR}/pub/linux/kernel/v%s/testing/patch-%s.bz2;patch=1;pname=%s" % (major, pname, pname))
kernel[-1] = str(int(kernel[-1]) - 1)
if patch[0:2] == "rc" and pref == 10:
pref = 6
@@ -96,14 +96,14 @@ python () {
else:
pref = 2
elif patch[0:2] == "bk" or patch[0:3] == "git":
- patch_uri.append("ftp://ftp.kernel.org/pub/linux/kernel/v%s/snapshots/patch-%s.bz2;patch=1;pname=%s" % (major, pname, pname))
+ patch_uri.append("${KERNELORG_MIRROR}/pub/linux/kernel/v%s/snapshots/patch-%s.bz2;patch=1;pname=%s" % (major, pname, pname))
pref = 2
elif patch[0:2] == "ac":
- patch_uri.append("ftp://ftp.kernel.org/pub/linux/kernel/people/alan/linux-%s/%s/patch-%s" % (major, base, pname))
+ patch_uri.append("${KERNELORG_MIRROR}/pub/linux/kernel/people/alan/linux-%s/%s/patch-%s" % (major, base, pname))
mmac = 2
filepath[0:0] = [ filedir % (name[0] + "-ac") ]
elif patch[0:2] == "mm":
- patch_uri.append("ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/%s/%s/%s/%s.bz2;patch=1;pname=%s" % (major, base, pname, pname, pname))
+ patch_uri.append("${KERNELORG_MIRROR}/pub/linux/kernel/people/akpm/patches/%s/%s/%s/%s.bz2;patch=1;pname=%s" % (major, base, pname, pname, pname))
mmac = 2
filepath[0:0] = [ filedir % (name[0] + "-mm") ]
else:
@@ -112,7 +112,7 @@ python () {
base = pname
base = '.'.join(kernel)
- patch_uri[0] = "ftp://ftp.kernel.org/pub/linux/kernel/v%s/linux-%s.tar.bz2" % (major, base)
+ patch_uri[0] = "${KERNELORG_MIRROR}/pub/linux/kernel/v%s/linux-%s.tar.bz2" % (major, base)
filepath[-1:-1] = [ filedir % base ]
if base != minor:
filepath[-1:-1] = [ filedir % minor ]
diff --git a/packages/linux/linux-amsdelta-2.6_2.6.16-omap2.bb b/packages/linux/linux-amsdelta-2.6_2.6.16-omap2.bb
index 6906fdd14e..6c5e1cb16c 100644
--- a/packages/linux/linux-amsdelta-2.6_2.6.16-omap2.bb
+++ b/packages/linux/linux-amsdelta-2.6_2.6.16-omap2.bb
@@ -4,7 +4,7 @@ LICENSE = "GPL"
COMPATIBLE_MACHINE = "amsdelta"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \
http://www.muru.com/linux/omap/patches/patch-2.6.16-omap2.bz2;patch=1 \
http://the.earth.li/pub/e3/2.6.16/00-ams-delta-backlight.diff;patch=1 \
http://the.earth.li/pub/e3/2.6.16/01-ams-delta-lcd.diff;patch=1 \
diff --git a/packages/linux/linux-bast_2.4.25-vrs1-bast1.bb b/packages/linux/linux-bast_2.4.25-vrs1-bast1.bb
index 18197fa4bc..d58c28e227 100644
--- a/packages/linux/linux-bast_2.4.25-vrs1-bast1.bb
+++ b/packages/linux/linux-bast_2.4.25-vrs1-bast1.bb
@@ -6,7 +6,7 @@ KV = "2.4.25"
KERNEL_CCSUFFIX = "-3.3.3"
COMPATIBLE_HOST = "arm.*-linux"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
ftp://ftp.arm.linux.org.uk/pub/armlinux/source/kernel-patches/v2.4/patch-2.4.25-vrs1.bz2;patch=1 \
http://www.simtec.co.uk/products/SWLINUX/files/patch-2.4.25-vrs1-bast1.bz2;patch=1 \
file://defconfig \
diff --git a/packages/linux/linux-colinux_2.4.28.bb b/packages/linux/linux-colinux_2.4.28.bb
index 1191945540..b74be3d791 100644
--- a/packages/linux/linux-colinux_2.4.28.bb
+++ b/packages/linux/linux-colinux_2.4.28.bb
@@ -4,7 +4,7 @@ LICENSE = "GPL"
COLV = "0.6.1"
#http://internap.dl.sourceforge.net/sourceforge/colinux/coLinux-0.6.1.tar.gz
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.4/linux-${PV}.tar.bz2 \
file://colinux-${COLV}.patch;patch=1 \
file://nofpu.patch;patch=1 \
file://shortloadbytes.patch;patch=1 \
diff --git a/packages/linux/linux-colinux_2.6.10.bb b/packages/linux/linux-colinux_2.6.10.bb
index ecd0f64a0d..8b77a17109 100644
--- a/packages/linux/linux-colinux_2.6.10.bb
+++ b/packages/linux/linux-colinux_2.6.10.bb
@@ -4,7 +4,7 @@ LICENSE = "GPL"
COLV = "0.6.2"
#http://internap.dl.sourceforge.net/sourceforge/colinux/coLinux-${COLV}.tar.gz
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
file://colinux-${COLV}.patch;patch=1 \
file://defconfig"
diff --git a/packages/linux/linux-dht-walnut_2.6.12.6.bb b/packages/linux/linux-dht-walnut_2.6.12.6.bb
index decb5d2e5e..7c0f434477 100644
--- a/packages/linux/linux-dht-walnut_2.6.12.6.bb
+++ b/packages/linux/linux-dht-walnut_2.6.12.6.bb
@@ -6,7 +6,7 @@ DEPENDS = "u-boot"
KERNEL_CCSUFFIX = "-3.4.4"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
file://ppc_40x_uboot.patch;patch=1 \
file://iw_we18-5.diff;patch=1 \
file://linux-2.6.12-mppe-mppc-1.3.patch;patch=1 \
diff --git a/packages/linux/linux-dht-walnut_2.6.12.bb b/packages/linux/linux-dht-walnut_2.6.12.bb
index 54586b2976..cdf0c62561 100644
--- a/packages/linux/linux-dht-walnut_2.6.12.bb
+++ b/packages/linux/linux-dht-walnut_2.6.12.bb
@@ -6,7 +6,7 @@ DEPENDS = "u-boot"
KERNEL_CCSUFFIX = "-3.4.4"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
file://ppc_40x_uboot.patch;patch=1 \
file://iw_we18-5.diff;patch=1 \
file://linux-2.6.12-mppe-mppc-1.3.patch;patch=1 \
diff --git a/packages/linux/linux-epia_2.6.11.bb b/packages/linux/linux-epia_2.6.11.bb
index 1b2ee9be6d..dd68bcd4b7 100644
--- a/packages/linux/linux-epia_2.6.11.bb
+++ b/packages/linux/linux-epia_2.6.11.bb
@@ -5,7 +5,7 @@ PR = "r0"
KERNEL_CCSUFFIX = "-3.3.4"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
http://hem.bredband.net/ekmlar/patch-vt1211-2.6.txt;patch=1 \
file://epia_defconfig"
S = "${WORKDIR}/linux-${PV}"
diff --git a/packages/linux/linux-epia_2.6.12.bb b/packages/linux/linux-epia_2.6.12.bb
index 1b2ee9be6d..dd68bcd4b7 100644
--- a/packages/linux/linux-epia_2.6.12.bb
+++ b/packages/linux/linux-epia_2.6.12.bb
@@ -5,7 +5,7 @@ PR = "r0"
KERNEL_CCSUFFIX = "-3.3.4"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
http://hem.bredband.net/ekmlar/patch-vt1211-2.6.txt;patch=1 \
file://epia_defconfig"
S = "${WORKDIR}/linux-${PV}"
diff --git a/packages/linux/linux-epia_2.6.8.1.bb b/packages/linux/linux-epia_2.6.8.1.bb
index 11173e1dff..ef38d10853 100644
--- a/packages/linux/linux-epia_2.6.8.1.bb
+++ b/packages/linux/linux-epia_2.6.8.1.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Linux kernel for VIA EPiA"
LICENSE = "GPL"
PR = "r15"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
http://www.epiawiki.org/files/epia_kernel/patch-2.6.8.1-epia1.bz2;patch=1 \
http://hem.bredband.net/ekmlar/patch-vt1211-2.6.txt;patch=1 \
file://epia_defconfig"
diff --git a/packages/linux/linux-ezx_2.6.16.13.bb b/packages/linux/linux-ezx_2.6.16.13.bb
index dda0330b0a..58d98c37f1 100644
--- a/packages/linux/linux-ezx_2.6.16.13.bb
+++ b/packages/linux/linux-ezx_2.6.16.13.bb
@@ -15,7 +15,7 @@ RPSRC = "http://www.rpsys.net/openzaurus/patches/archive"
##############################################################
# source and patches
#
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \
http://people.openezx.org/stefan/patches/patches-2.6.16-2.6.16.13-ezx7.tar.bz2 \
\
file://sa1100-rtc-gcc4.diff;patch=1 \
diff --git a/packages/linux/linux-geodegx_2.4.24.bb b/packages/linux/linux-geodegx_2.4.24.bb
index 605a36e49a..c58e0d46bc 100644
--- a/packages/linux/linux-geodegx_2.4.24.bb
+++ b/packages/linux/linux-geodegx_2.4.24.bb
@@ -6,7 +6,7 @@ KV = "2.4.24"
DESCRIPTION = "Linux kernel for the AMD Geode GX processor"
LICENSE = "GPL"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
http://www.amd.com/files/connectivitysolutions/geode/Patches_Linux_${KV}_1.00.tar.gz \
file://${WORKDIR}/Patches_Linux_${KV}_1.00/linux-${KV}-geode.patch;patch=1 \
file://linux-2.4.24-gcc340-fixes.patch;patch=1 \
diff --git a/packages/linux/linux-geodelx_2.6.11.bb b/packages/linux/linux-geodelx_2.6.11.bb
index 3798685f14..f84ceb7f1e 100644
--- a/packages/linux/linux-geodelx_2.6.11.bb
+++ b/packages/linux/linux-geodelx_2.6.11.bb
@@ -19,7 +19,7 @@ inherit kernel
ARCH = "i386"
KERNEL_IMAGETYPE = "bzImage"
-SRC_URI = "http://kernel.org/pub/linux/kernel/v2.6/linux-${KV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${KV}.tar.bz2 \
http://www.amd.com/files/connectivitysolutions/geode/geode_lx/${AMD_DRIVER_LABEL}.patch;patch=1 \
file://defconfig"
diff --git a/packages/linux/linux-gumstix_2.6.15.bb b/packages/linux/linux-gumstix_2.6.15.bb
index 6afa1ac43a..90a7259d9f 100644
--- a/packages/linux/linux-gumstix_2.6.15.bb
+++ b/packages/linux/linux-gumstix_2.6.15.bb
@@ -5,7 +5,7 @@ PR = "r1"
COMPATIBLE_MACHINE = "gumstix"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
cvs://anoncvs:anoncvs@cvs.infradead.org/home/cvs;module=mtd;date=20060223 \
file://defconfig-gumstix \
file://arch-config.patch;patch=1 \
diff --git a/packages/linux/linux-h1940_2.6.11-bk1-h1940.bb b/packages/linux/linux-h1940_2.6.11-bk1-h1940.bb
index 7ad662a1df..242567634c 100644
--- a/packages/linux/linux-h1940_2.6.11-bk1-h1940.bb
+++ b/packages/linux/linux-h1940_2.6.11-bk1-h1940.bb
@@ -4,8 +4,8 @@ LICENSE = "GPL"
COMPATIBLE_HOST = "arm.*-linux"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.11.tar.bz2 \
- ftp://ftp.kernel.org/pub/linux/kernel/v2.6/snapshots/old/patch-2.6.11-bk1.gz;patch=1 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.11.tar.bz2 \
+ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/snapshots/old/patch-2.6.11-bk1.gz;patch=1 \
http://rtpnet.nerim.net/ipaq/2.6.11-bk1/2.6.11-bk1-h1940.patch;patch=1 \
file://defconfig"
diff --git a/packages/linux/linux-h1940_2.6.14-h1940.bb b/packages/linux/linux-h1940_2.6.14-h1940.bb
index 71829a36eb..750750f5d1 100644
--- a/packages/linux/linux-h1940_2.6.14-h1940.bb
+++ b/packages/linux/linux-h1940_2.6.14-h1940.bb
@@ -4,7 +4,7 @@ LICENSE = "GPL"
COMPATIBLE_HOST = "arm.*-linux"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.14.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.14.tar.bz2 \
http://rtpnet.nerim.net/ipaq/patches/2.6.14-3/v2.6.14-gitcurrent.patch;patch=1 \
http://rtpnet.nerim.net/ipaq/patches/2.6.14-3/full.patch;patch=1 \
file://defconfig"
diff --git a/packages/linux/linux-h1940_2.6.17-h1940.bb b/packages/linux/linux-h1940_2.6.17-h1940.bb
index 40a0efae12..5fbe040810 100644
--- a/packages/linux/linux-h1940_2.6.17-h1940.bb
+++ b/packages/linux/linux-h1940_2.6.17-h1940.bb
@@ -6,7 +6,7 @@ PR = "r1"
COMPATIBLE_HOST = "arm.*-linux"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.17.tar.bz2 \
http://rtpnet.nerim.net/ipaq/patches/2.6.17-1/v2.6.17-gitcurrent.patch;patch=1 \
http://rtpnet.nerim.net/ipaq/patches/2.6.17-1/full.patch;patch=1 \
http://rtpnet.nerim.net/ipaq/patches/2.6.17-1/WIP/serial_sparse.patch;patch=1 \
diff --git a/packages/linux/linux-h6300-omap1_2.6.12-rc5.bb b/packages/linux/linux-h6300-omap1_2.6.12-rc5.bb
index 18f9036d9d..299d813964 100644
--- a/packages/linux/linux-h6300-omap1_2.6.12-rc5.bb
+++ b/packages/linux/linux-h6300-omap1_2.6.12-rc5.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Linux kernel for h6300 devices."
SECTION = "kernel"
LICENSE = "GPL"
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.12-rc5.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/linux-2.6.12-rc5.tar.bz2 \
http://www.muru.com/linux/omap/patches/patch-2.6.12-rc5-omap2.bz2;patch=1 \
file://h6300_omap1_2612rc5.patch;patch=1 \
file://defconfig"
diff --git a/packages/linux/linux-h6300-omap1_2.6.14.3.bb b/packages/linux/linux-h6300-omap1_2.6.14.3.bb
index 4f5e4dc924..ea5aeeea1a 100644
--- a/packages/linux/linux-h6300-omap1_2.6.14.3.bb
+++ b/packages/linux/linux-h6300-omap1_2.6.14.3.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Linux kernel for h6300 devices."
SECTION = "kernel"
LICENSE = "GPL"
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.14.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.14.tar.bz2 \
http://www.muru.com/linux/omap/patches/patch-2.6.14-omap2.bz2;patch=1 \
file://patch-linux-2614-omap2-to-2614_3-omap1-h6300;patch=1 \
file://defconfig"
diff --git a/packages/linux/linux-h6300-omap1_2.6.16.16.bb b/packages/linux/linux-h6300-omap1_2.6.16.16.bb
index 28aaadd107..d1d82adde9 100644
--- a/packages/linux/linux-h6300-omap1_2.6.16.16.bb
+++ b/packages/linux/linux-h6300-omap1_2.6.16.16.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Linux kernel for HP iPAQ h6300 series OMAP1510 based phones."
SECTION = "kernel"
LICENSE = "GPL"
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \
http://www.muru.com/linux/omap/patches/patch-2.6.16-omap2.bz2;patch=1 \
file://linux-2.6.16.16.patch;patch=1 \
file://linux-h6300-omap2-2.6.16.16.patch;patch=1 \
diff --git a/packages/linux/linux-jlime-jornada6xx_2.6.17.bb b/packages/linux/linux-jlime-jornada6xx_2.6.17.bb
index 93f45c80d5..bbdb696a48 100644
--- a/packages/linux/linux-jlime-jornada6xx_2.6.17.bb
+++ b/packages/linux/linux-jlime-jornada6xx_2.6.17.bb
@@ -6,7 +6,7 @@ PR = "r0"
COMPATIBLE_HOST = "sh.*-linux"
#COMPATIBLE_MACHINE = "jornada6xx"
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.tar.gz \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.17.tar.gz \
file://defconfig_jlime \
file://LinuxSH-2.6.17.patch;patch=0 \
file://unexpected-int-fix.patch;patch=0 \
diff --git a/packages/linux/linux-jlime-jornada7xx_2.6.17.bb b/packages/linux/linux-jlime-jornada7xx_2.6.17.bb
index a120b193e7..900191ae2b 100644
--- a/packages/linux/linux-jlime-jornada7xx_2.6.17.bb
+++ b/packages/linux/linux-jlime-jornada7xx_2.6.17.bb
@@ -6,7 +6,7 @@ PR = "r0"
COMPATIBLE_HOST = "arm.*-linux"
COMPATIBLE_MACHINE = "jornada7xx"
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.tar.gz \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.17.tar.gz \
file://defconf_jlime \
file://AsmArm-ArchSa1100-Jornada720.patch;patch=0 \
file://Cpu-Sa1110-Jornada720.patch;patch=0 \
diff --git a/packages/linux/linux-jlime-jornada7xx_2.6.18.bb b/packages/linux/linux-jlime-jornada7xx_2.6.18.bb
index d4b8da1b4b..4f0349e326 100644
--- a/packages/linux/linux-jlime-jornada7xx_2.6.18.bb
+++ b/packages/linux/linux-jlime-jornada7xx_2.6.18.bb
@@ -6,7 +6,7 @@ PR = "r0"
COMPATIBLE_HOST = "arm.*-linux"
COMPATIBLE_MACHINE = "jornada7xx"
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.gz \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.gz \
file://defconf_jlime \
file://linux-2.6.18-jornada7xx.patch;patch=0"
diff --git a/packages/linux/linux-jlime-jornada7xx_2.6.19rc6.bb b/packages/linux/linux-jlime-jornada7xx_2.6.19rc6.bb
index 28cf3e08c0..7fc274351a 100644
--- a/packages/linux/linux-jlime-jornada7xx_2.6.19rc6.bb
+++ b/packages/linux/linux-jlime-jornada7xx_2.6.19rc6.bb
@@ -6,8 +6,8 @@ PR = "r0"
COMPATIBLE_HOST = "arm.*-linux"
COMPATIBLE_MACHINE = "jornada7xx"
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.gz \
- http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.19-rc6.bz2;patch=1 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.gz \
+ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/patch-2.6.19-rc6.bz2;patch=1 \
file://jornada7xx.patch;patch=0 \
file://defconf_jlime "
diff --git a/packages/linux/linux-ks8695_2.6.16.bb b/packages/linux/linux-ks8695_2.6.16.bb
index 176b1fcbdb..e2bc3bb8d8 100644
--- a/packages/linux/linux-ks8695_2.6.16.bb
+++ b/packages/linux/linux-ks8695_2.6.16.bb
@@ -3,7 +3,7 @@ SECTION = "kernel"
LICENSE = "GPL"
PR = "r0"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
file://ks8695-headers-r0.patch;patch=1 \
file://ks8695-base-r0.patch;patch=1 \
file://defconfig-ks8695"
diff --git a/packages/linux/linux-mtx-3_2.6.15.4.bb b/packages/linux/linux-mtx-3_2.6.15.4.bb
index 5da6c57d73..b2375950e8 100644
--- a/packages/linux/linux-mtx-3_2.6.15.4.bb
+++ b/packages/linux/linux-mtx-3_2.6.15.4.bb
@@ -12,7 +12,7 @@ inherit kernel
DEPENDS = "uboot"
RDEPENDS = "mtd-utils"
-SRC_URI += "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${KV}.tar.bz2 \
+SRC_URI += "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${KV}.tar.bz2 \
file://00-mtx-3.diff;patch=1 \
file://01-verbose-and-fatal-mkuboot.diff;patch=1 \
file://defconfig-mtx-3"
diff --git a/packages/linux/linux-navman_2.6.18.bb b/packages/linux/linux-navman_2.6.18.bb
index 29d8944a3b..47042bfec7 100644
--- a/packages/linux/linux-navman_2.6.18.bb
+++ b/packages/linux/linux-navman_2.6.18.bb
@@ -8,7 +8,7 @@ PR = "r0"
COMPATIBLE_MACHINE = "navman-icn330"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
http://www.duff.dk/navman/navman-2.6.18.patch;patch=1 \
file://defconfig \
"
diff --git a/packages/linux/linux-netvista_2.4.27.bb b/packages/linux/linux-netvista_2.4.27.bb
index 75c3943f62..2b2721c7c4 100644
--- a/packages/linux/linux-netvista_2.4.27.bb
+++ b/packages/linux/linux-netvista_2.4.27.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Linux kernel x86 for IBM Netvista"
LICENSE = "GPL"
PR = "r4"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.4/linux-${PV}.tar.bz2 \
file://netvista_defconfig"
S = "${WORKDIR}/linux-${PV}"
diff --git a/packages/linux/linux-omap-2.6_2.6.9-omap1.bb b/packages/linux/linux-omap-2.6_2.6.9-omap1.bb
index feb9581e5c..1a6d1f894a 100644
--- a/packages/linux/linux-omap-2.6_2.6.9-omap1.bb
+++ b/packages/linux/linux-omap-2.6_2.6.9-omap1.bb
@@ -2,7 +2,7 @@ SECTION = "kernel"
DESCRIPTION = "Linux kernel for OMAP processors"
LICENSE = "GPL"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.9.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.9.tar.bz2 \
http://www.muru.com/linux/omap/patches/patch-2.6.9-omap1.bz2;patch=1 \
file://schedstats-arm.patch;patch=1 \
file://defconfig"
diff --git a/packages/linux/linux-omap1_2.6.12-rc2.bb b/packages/linux/linux-omap1_2.6.12-rc2.bb
index 54b1e304c9..74d6822ff4 100644
--- a/packages/linux/linux-omap1_2.6.12-rc2.bb
+++ b/packages/linux/linux-omap1_2.6.12-rc2.bb
@@ -2,7 +2,7 @@ require linux-omap1.inc
PR = "r4"
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.12-rc2.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/linux-2.6.12-rc2.tar.bz2 \
http://www.muru.com/linux/omap/patches/patch-2.6.12-rc2-omap1.bz2;patch=1 \
file://defconfig"
diff --git a/packages/linux/linux-omap1_2.6.18-omap1.bb b/packages/linux/linux-omap1_2.6.18-omap1.bb
index ea429fe400..bc1510b4a7 100644
--- a/packages/linux/linux-omap1_2.6.18-omap1.bb
+++ b/packages/linux/linux-omap1_2.6.18-omap1.bb
@@ -1,6 +1,6 @@
require linux-omap1.inc
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
http://www.muru.com/linux/omap/patches/patch-2.6.18-omap1.bz2;patch=1 \
file://another-ide-cs-ids.patch;patch=1 \
file://defconfig \
diff --git a/packages/linux/linux-rp_2.6.16.bb b/packages/linux/linux-rp_2.6.16.bb
index 99ca5b090b..6ce8ba1ab6 100644
--- a/packages/linux/linux-rp_2.6.16.bb
+++ b/packages/linux/linux-rp_2.6.16.bb
@@ -12,7 +12,7 @@ PR = "r47"
# Patches submitted upstream are towards top of this list
# Hacks should clearly named and at the bottom
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \
file://rmk-mmc1.patch;patch=1;status=merged \
file://rmk-mmc2.patch;patch=1;status=merged \
${RPSRC}/led_core-r15.patch;patch=1;status=merged \
diff --git a/packages/linux/linux-rp_2.6.17.bb b/packages/linux/linux-rp_2.6.17.bb
index 705b4164e0..eba9f5ef01 100644
--- a/packages/linux/linux-rp_2.6.17.bb
+++ b/packages/linux/linux-rp_2.6.17.bb
@@ -12,7 +12,7 @@ PR = "r31"
# Patches submitted upstream are towards top of this list
# Hacks should clearly named and at the bottom
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.17.tar.bz2 \
${RPSRC}/poodle_partsize-r0.patch;patch=1;status=merged \
${RPSRC}/jffs2_longfilename-r1.patch;patch=1;status=merged \
${RPSRC}/locomo_led_default_trigger-r0.patch;patch=1;status=merged \
diff --git a/packages/linux/linux-rp_2.6.18.bb b/packages/linux/linux-rp_2.6.18.bb
index 6e688d1ee5..097eaf8470 100644
--- a/packages/linux/linux-rp_2.6.18.bb
+++ b/packages/linux/linux-rp_2.6.18.bb
@@ -12,7 +12,7 @@ PR = "r6"
# Patches submitted upstream are towards top of this list
# Hacks should clearly named and at the bottom
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
http://opensource.wolfsonmicro.com/~lg/asoc/asoc-v0.12.4.patch;patch=1 \
${RPSRC}/poodle_audio-r6.patch;patch=1 \
${RPSRC}/hx2750_base-r27.patch;patch=1 \
diff --git a/packages/linux/linux-rp_2.6.19.bb b/packages/linux/linux-rp_2.6.19.bb
index 87b1bd0ba8..b13b127722 100644
--- a/packages/linux/linux-rp_2.6.19.bb
+++ b/packages/linux/linux-rp_2.6.19.bb
@@ -14,7 +14,7 @@ DEFAULT_PREFERENCE = "-1"
# Patches submitted upstream are towards top of this list
# Hacks should clearly named and at the bottom
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.19.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.19.tar.bz2 \
http://opensource.wolfsonmicro.com/~lg/asoc/asoc-v0.12.4.patch;patch=1 \
${RPSRC}/hx2750_base-r27.patch;patch=1 \
${RPSRC}/hx2750_bl-r7.patch;patch=1 \
diff --git a/packages/linux/linux-smdk2440_2.6.18.bb b/packages/linux/linux-smdk2440_2.6.18.bb
index 23949914ba..701e08a7c4 100644
--- a/packages/linux/linux-smdk2440_2.6.18.bb
+++ b/packages/linux/linux-smdk2440_2.6.18.bb
@@ -5,7 +5,7 @@ PR = "r1"
GGSRC = "http://www.xora.org.uk/oe/patches/"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
${GGSRC}smdk2440-cs89x0-r1.patch;patch=1 \
${GGSRC}smdk2440-touchscreen-r1.patch;patch=1 \
file://defconfig-smdk2440"
diff --git a/packages/linux/linux-storcenter_2.6.12.6.bb b/packages/linux/linux-storcenter_2.6.12.6.bb
index 541f881fd0..d949e13324 100644
--- a/packages/linux/linux-storcenter_2.6.12.6.bb
+++ b/packages/linux/linux-storcenter_2.6.12.6.bb
@@ -27,7 +27,7 @@ PR = "r0"
COMPATIBLE_MACHINE = "storcenter"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
file://kernel.patch-${PV};patch=1 \
file://10-command-line.patch;patch=1 \
file://defconfig-${PV} "
diff --git a/packages/linux/linux-sun4cdm_2.4.26.bb b/packages/linux/linux-sun4cdm_2.4.26.bb
index d91b952787..7145c4451c 100644
--- a/packages/linux/linux-sun4cdm_2.4.26.bb
+++ b/packages/linux/linux-sun4cdm_2.4.26.bb
@@ -6,7 +6,7 @@ DEPENDS += "elftoaout-native"
KERNEL_CCSUFFIX = "-3.3.4"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.4/linux-${PV}.tar.bz2 \
file://defconfig"
S = "${WORKDIR}/linux-${PV}"
diff --git a/packages/linux/linux-sun4cdm_2.6.8.1.bb b/packages/linux/linux-sun4cdm_2.6.8.1.bb
index c8c40ed7f1..40583903d8 100644
--- a/packages/linux/linux-sun4cdm_2.6.8.1.bb
+++ b/packages/linux/linux-sun4cdm_2.6.8.1.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Linux kernel for sparc32/sun4c"
LICENSE = "GPL"
PR = "r1"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
file://sun4c_defconfig"
S = "${WORKDIR}/linux-${PV}"
diff --git a/packages/linux/linux-titan-sh4_2.6.17.bb b/packages/linux/linux-titan-sh4_2.6.17.bb
index ac98115c27..55e55929a5 100644
--- a/packages/linux/linux-titan-sh4_2.6.17.bb
+++ b/packages/linux/linux-titan-sh4_2.6.17.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Linux kernel for SH4 based TITAN router appliance"
LICENSE = "GPL"
PR = "r2"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
cvs://anonymous@linuxsh.cvs.sourceforge.net/cvsroot/linuxsh;module=linux;date=20060726 \
file://titan-flash.patch;patch=1 \
file://titan-pcibios-scan-update.patch;patch=1 \
diff --git a/packages/linux/linux-wrap-geode_2.6.17.bb b/packages/linux/linux-wrap-geode_2.6.17.bb
index 7bf2c3ee1c..d717cd3c40 100644
--- a/packages/linux/linux-wrap-geode_2.6.17.bb
+++ b/packages/linux/linux-wrap-geode_2.6.17.bb
@@ -4,7 +4,7 @@ Geode SC1100 (i486) based wirless router appliance boards"
LICENSE = "GPL"
PR = "r0"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
file://defconfig"
S = "${WORKDIR}/linux-${PV}"
diff --git a/packages/linux/linux-wrt_2.4.20.bb b/packages/linux/linux-wrt_2.4.20.bb
index 830720f655..f193ec2c79 100644
--- a/packages/linux/linux-wrt_2.4.20.bb
+++ b/packages/linux/linux-wrt_2.4.20.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Linux kernel for the Linksys WRT54 devices"
LICENSE = "GPL"
PR = "r1"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.20.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.4/linux-2.4.20.tar.bz2 \
file://linux-2.4.20-mipscvs.patch;patch=1 \
file://2.4.20_broadcom_3_37_2_1109_US.patch;patch=1 \
file://110-sch_htb.patch;patch=1 \
diff --git a/packages/linux/linux-wrt_2.4.30.bb b/packages/linux/linux-wrt_2.4.30.bb
index 352c879d45..cf67784af4 100644
--- a/packages/linux/linux-wrt_2.4.30.bb
+++ b/packages/linux/linux-wrt_2.4.30.bb
@@ -5,7 +5,7 @@ DEPENDS = "lzma-native"
LICENSE = "GPL"
PR = "r2"
-SRC_URI = "http://www.fi.kernel.org/pub/linux/kernel/v2.4/linux-2.4.30.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}pub/linux/kernel/v2.4/linux-2.4.30.tar.bz2 \
cvs://anonymous@openwrt.org/openwrt;module=openwrt/package/linux/kernel-source;tag=TESTED \
http://downloads.openwrt.org/sources/kernel-binary-wl-0.2.tar.gz \
http://downloads.openwrt.org/sources/kernel-source-et-0.6.tar.gz \
diff --git a/packages/linux/linux-x86_2.6.17.9.bb b/packages/linux/linux-x86_2.6.17.9.bb
index 1dfabb398e..d7600dcfa9 100644
--- a/packages/linux/linux-x86_2.6.17.9.bb
+++ b/packages/linux/linux-x86_2.6.17.9.bb
@@ -3,7 +3,7 @@ SECTION = "kernel"
LICENSE = "GPL"
PR = "r2"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
file://defconfig"
S = "${WORKDIR}/linux-${PV}"
diff --git a/packages/linux/linux_2.6.19-rc6.bb b/packages/linux/linux_2.6.19-rc6.bb
index 56007c3222..59186ef579 100644
--- a/packages/linux/linux_2.6.19-rc6.bb
+++ b/packages/linux/linux_2.6.19-rc6.bb
@@ -4,13 +4,13 @@ LICENSE = "GPL"
PV = "2.6.18+2.6.19-rc6"
PR = "r1"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
- ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.19-rc1.bz2;patch=1 \
- ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/incr/patch-2.6.19-rc1-rc2.bz2;patch=1 \
- ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/incr/patch-2.6.19-rc2-rc3.bz2;patch=1 \
- ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/incr/patch-2.6.19-rc3-rc4.bz2;patch=1 \
- ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/incr/patch-2.6.19-rc4-rc5.bz2;patch=1 \
- ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/incr/patch-2.6.19-rc5-rc6.bz2;patch=1 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
+ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/patch-2.6.19-rc1.bz2;patch=1 \
+ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/incr/patch-2.6.19-rc1-rc2.bz2;patch=1 \
+ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/incr/patch-2.6.19-rc2-rc3.bz2;patch=1 \
+ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/incr/patch-2.6.19-rc3-rc4.bz2;patch=1 \
+ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/incr/patch-2.6.19-rc4-rc5.bz2;patch=1 \
+ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/incr/patch-2.6.19-rc5-rc6.bz2;patch=1 \
file://defconfig"
S = "${WORKDIR}/linux-2.6.18"
diff --git a/packages/linux/logicpd-pxa270_2.6.17-rc5.bb b/packages/linux/logicpd-pxa270_2.6.17-rc5.bb
index 8f8b754527..b258e197ff 100644
--- a/packages/linux/logicpd-pxa270_2.6.17-rc5.bb
+++ b/packages/linux/logicpd-pxa270_2.6.17-rc5.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Linux kernel for the LogicPD Zoom(PXA270 ref design)"
LICENSE = "GPL"
PR = "r3"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.17-rc5.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/linux-2.6.17-rc5.tar.bz2 \
file://linux-2.6.17-rc5.patch;pnum=0;patch=1 \
file://ucb1400-ac97-audio.patch;pnum=1;patch=1 \
file://ucb1400-touchscreen.patch;pnum=1;patch=1 \
diff --git a/packages/linux/mainstone-kernel_2.6.11.bb b/packages/linux/mainstone-kernel_2.6.11.bb
index 9f25af51da..a3679d0b8c 100644
--- a/packages/linux/mainstone-kernel_2.6.11.bb
+++ b/packages/linux/mainstone-kernel_2.6.11.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Linux kernel for the Mainstone (PXA270 ref design)"
LICENSE = "GPL"
PR = "r1"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.11.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.11.tar.bz2 \
file://mainstone_defconfig"
S = "${WORKDIR}/linux-2.6.11"
diff --git a/packages/linux/mainstone-kernel_2.6.18.bb b/packages/linux/mainstone-kernel_2.6.18.bb
index 8aa327f1d2..df14cffca4 100644
--- a/packages/linux/mainstone-kernel_2.6.18.bb
+++ b/packages/linux/mainstone-kernel_2.6.18.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Linux kernel for the Mainstone (PXA270 ref design)"
LICENSE = "GPL"
PR = "r0"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
file://mainstone_defconfig"
S = "${WORKDIR}/linux-2.6.18"
diff --git a/packages/linux/mnci-ramses_2.4.21-rmk2-pxa1.bb b/packages/linux/mnci-ramses_2.4.21-rmk2-pxa1.bb
index 79592a84eb..381900e038 100644
--- a/packages/linux/mnci-ramses_2.4.21-rmk2-pxa1.bb
+++ b/packages/linux/mnci-ramses_2.4.21-rmk2-pxa1.bb
@@ -8,7 +8,7 @@ RMKV = "2"
PXAV = "1"
PR = "r5"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
http://lorien.handhelds.org/ftp.arm.linux.org.uk/kernel/v2.4/patch-${KV}-rmk${RMKV}.bz2;patch=1 \
file://diff-${KV}-rmk${RMKV}-pxa${PXAV}.gz;patch=1 \
file://mnci-combined.patch;patch=1"
diff --git a/packages/linux/mx21ads-kernel_2.6.19rc6.bb b/packages/linux/mx21ads-kernel_2.6.19rc6.bb
index 54b398eec8..9852af6eca 100644
--- a/packages/linux/mx21ads-kernel_2.6.19rc6.bb
+++ b/packages/linux/mx21ads-kernel_2.6.19rc6.bb
@@ -3,8 +3,8 @@ DESCRIPTION = "Linux kernel for the MX21ADS"
LICENSE = "GPL"
PR = "r2"
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
- http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.19-rc6.bz2;patch=1 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
+ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/patch-2.6.19-rc6.bz2;patch=1 \
http://opensource.wolfsonmicro.com/~lg/linux-2.6-mx21/mx21ads-2.6.19rc6-lg1.patch.bz2;patch=1 \
file://mx21ads_defconfig"
diff --git a/packages/linux/mx31ads-kernel_2.6.19rc6.bb b/packages/linux/mx31ads-kernel_2.6.19rc6.bb
index d164dfd810..6d6ba6934a 100644
--- a/packages/linux/mx31ads-kernel_2.6.19rc6.bb
+++ b/packages/linux/mx31ads-kernel_2.6.19rc6.bb
@@ -3,8 +3,8 @@ DESCRIPTION = "Linux kernel for the MX31ADS"
LICENSE = "GPL"
PR = "r3"
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
- http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.19-rc6.bz2;patch=1 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
+ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/patch-2.6.19-rc6.bz2;patch=1 \
http://opensource.wolfsonmicro.com/~lg/linux-2.6-mx31/mx31ads-2.6.19rc6-lg1.patch.bz2;patch=1 \
file://imx31ads_defconfig"
diff --git a/packages/linux/netbook-pro-kernel_2.6.17.bb b/packages/linux/netbook-pro-kernel_2.6.17.bb
index 564350e620..126485b10f 100644
--- a/packages/linux/netbook-pro-kernel_2.6.17.bb
+++ b/packages/linux/netbook-pro-kernel_2.6.17.bb
@@ -5,7 +5,7 @@ PR = "r2"
COMPATIBLE_MACHINE = "netbook-pro"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.17.tar.bz2 \
http://linuxtogo.org/~koen/netbook-base-r3.patch;patch=1 \
http://linuxtogo.org/~koen/netbook-pcon-r0.patch;patch=1 \
http://linuxtogo.org/~koen/netbook-pcon-i2c-r1.patch;patch=1 \
diff --git a/packages/linux/nslu2-kernel.inc b/packages/linux/nslu2-kernel.inc
index 9cad4d76c0..e5ed21f0a1 100644
--- a/packages/linux/nslu2-kernel.inc
+++ b/packages/linux/nslu2-kernel.inc
@@ -92,7 +92,7 @@ python () {
name.append(patch)
pname = '-'.join(name)
if patch[0:2] == "rc" or patch[0:3] == "pre":
- patch_uri.append("ftp://ftp.kernel.org/pub/linux/kernel/v%s/testing/patch-%s.bz2;patch=1;pname=%s" % (major, pname, pname))
+ patch_uri.append("${KERNELORG_MIRROR}/pub/linux/kernel/v%s/testing/patch-%s.bz2;patch=1;pname=%s" % (major, pname, pname))
kernel[-1] = str(int(kernel[-1]) - 1)
if patch[0:2] == "rc" and pref == 10:
pref = 6
@@ -101,14 +101,14 @@ python () {
else:
pref = 2
elif patch[0:2] == "bk" or patch[0:3] == "git":
- patch_uri.append("ftp://ftp.kernel.org/pub/linux/kernel/v%s/snapshots/patch-%s.bz2;patch=1;pname=%s" % (major, pname, pname))
+ patch_uri.append("${KERNELORG_MIRROR}/pub/linux/kernel/v%s/snapshots/patch-%s.bz2;patch=1;pname=%s" % (major, pname, pname))
pref = 2
elif patch[0:2] == "ac":
- patch_uri.append("ftp://ftp.kernel.org/pub/linux/kernel/people/alan/linux-%s/%s/patch-%s" % (major, base, pname))
+ patch_uri.append("${KERNELORG_MIRROR}/pub/linux/kernel/people/alan/linux-%s/%s/patch-%s" % (major, base, pname))
mmac = 2
filepath[0:0] = [ filedir % (name[0] + "-ac") ]
elif patch[0:2] == "mm":
- patch_uri.append("ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/%s/%s/%s/%s.bz2;patch=1;pname=%s" % (major, base, pname, pname, pname))
+ patch_uri.append("${KERNELORG_MIRROR}/pub/linux/kernel/people/akpm/patches/%s/%s/%s/%s.bz2;patch=1;pname=%s" % (major, base, pname, pname, pname))
mmac = 2
filepath[0:0] = [ filedir % (name[0] + "-mm") ]
else:
@@ -117,7 +117,7 @@ python () {
base = pname
base = '.'.join(kernel)
- patch_uri[0] = "ftp://ftp.kernel.org/pub/linux/kernel/v%s/linux-%s.tar.bz2" % (major, base)
+ patch_uri[0] = "${KERNELORG_MIRROR}/pub/linux/kernel/v%s/linux-%s.tar.bz2" % (major, base)
filepath[-1:-1] = [ filedir % base ]
if base != minor:
filepath[-1:-1] = [ filedir % minor ]
diff --git a/packages/linux/nslu2-linksys-kernel_2.4.22.bb b/packages/linux/nslu2-linksys-kernel_2.4.22.bb
index 8af30d09a3..7132d411fb 100644
--- a/packages/linux/nslu2-linksys-kernel_2.4.22.bb
+++ b/packages/linux/nslu2-linksys-kernel_2.4.22.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Linux kernel for the Linksys NSLU2 device"
LICENSE = "GPL"
PR = "r2"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.22.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.4/linux-2.4.22.tar.bz2 \
http://nslu.sf.net/downloads/xfs-2.4.22-all-i386.bz2;patch=1 \
http://nslu.sf.net/downloads/2.4.22-xfs-nslu2.patch.bz2;patch=1 \
file://config-fixes.patch;patch=1 \
diff --git a/packages/linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.bb b/packages/linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.bb
index 5ebc6b02be..cb33b2d172 100644
--- a/packages/linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.bb
+++ b/packages/linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.bb
@@ -11,7 +11,7 @@ COMPATIBLE_MACHINE = 'simpad'
FILESPATH = "${FILE_DIRNAME}/opensimpad-${PV}:${FILE_DIRNAME}/opensimpad:${FILE_DIRNAME}/files:${FILE_DIRNAME}"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
file://${KV}-${VRSV}.patch;patch=1 \
file://${KV}-${VRSV}-${PXAV}.patch;patch=1 \
file://${KV}-${VRSV}-${PXAV}-${JPMV}.patch;patch=1 \
diff --git a/packages/linux/opensimpad_2.4.27-vrs1-pxa1-jpm1.bb b/packages/linux/opensimpad_2.4.27-vrs1-pxa1-jpm1.bb
index bf9d579b77..24fc3bf149 100644
--- a/packages/linux/opensimpad_2.4.27-vrs1-pxa1-jpm1.bb
+++ b/packages/linux/opensimpad_2.4.27-vrs1-pxa1-jpm1.bb
@@ -12,7 +12,7 @@ COMPATIBLE_MACHINE = 'simpad'
FILESPATH = "${FILE_DIRNAME}/opensimpad-${PV}:${FILE_DIRNAME}/opensimpad:${FILE_DIRNAME}/files:${FILE_DIRNAME}"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
file://${KV}-${VRSV}.patch;patch=1 \
file://${KV}-${VRSV}-${PXAV}.patch;patch=1 \
file://${KV}-${VRSV}-${PXAV}-${JPMV}.patch;patch=1 \
diff --git a/packages/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.inc b/packages/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.inc
index 6c02395794..cfedac8425 100644
--- a/packages/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.inc
+++ b/packages/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.inc
@@ -11,7 +11,7 @@ COMPATIBLE_MACHINE = "(poodle|corgi|shepherd|husky|poodle255|tosa)"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/openzaurus-pxa-${KV}-rmk${RMKV}-pxa${PXAV}-embedix${SHARPV}"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
ftp://ftp.linux.org.uk/pub/armlinux/source/kernel-patches/v2.4/patch-${KV}-rmk${RMKV}.gz;patch=1 \
ftp://source.mvista.com/pub/xscale/pxa/diff-${KV}-rmk${RMKV}-pxa${PXAV}.gz;patch=1 \
http://developer.ezaurus.com/sl_j/source/c860/${SHARPV}/linux-${PV}-slc860-${SHARPV}-rom1_10.bz2;patch=1 \
diff --git a/packages/linux/triton-kernel_2.6.11.bb b/packages/linux/triton-kernel_2.6.11.bb
index f8c1917ab9..81c24eda13 100644
--- a/packages/linux/triton-kernel_2.6.11.bb
+++ b/packages/linux/triton-kernel_2.6.11.bb
@@ -5,8 +5,8 @@ PR = "r0"
KERNEL_SUFFIX = "triton"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
- ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/${PV}/${PV}-mm2/${PV}-mm2.bz2;patch=1 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+ ${KERNELORG_MIRROR}/pub/linux/kernel/people/akpm/patches/2.6/${PV}/${PV}-mm2/${PV}-mm2.bz2;patch=1 \
file://patch-2.6.11-mm2-karo9.bz2;patch=1 \
file://defconfig"
diff --git a/packages/man-pages/man-pages_2.41.bb b/packages/man-pages/man-pages_2.41.bb
index a078853bb6..b05c591d56 100644
--- a/packages/man-pages/man-pages_2.41.bb
+++ b/packages/man-pages/man-pages_2.41.bb
@@ -1,7 +1,7 @@
SECTION = "base"
DESCRIPTION = "base set of man pages."
LICENSE = "GPL"
-SRC_URI = "http://www.kernel.org/pub/linux/docs/manpages/man-pages-${PV}.tar.bz2"
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/docs/manpages/man-pages-${PV}.tar.bz2"
EXTRA_OEMAKE = ""
do_compile () {
diff --git a/packages/man/man_1.5m2.bb b/packages/man/man_1.5m2.bb
index 5a88a8ca01..10e0576b3c 100644
--- a/packages/man/man_1.5m2.bb
+++ b/packages/man/man_1.5m2.bb
@@ -6,7 +6,7 @@ of the documentation available on a Linux system."
RDEPENDS_${PN} = "less groff"
PR = "r1"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/man/man-${PV}.tar.bz2"
+SRC_URI = "${KERNELORG_MIRROR}/gpub/linux/utils/man/man-${PV}.tar.bz2"
EXTRA_OEMAKE = ""
GS = "-DGREPSILENT=\"q\""
diff --git a/packages/man/man_1.5p.bb b/packages/man/man_1.5p.bb
index 34b2bff32a..b05c935513 100644
--- a/packages/man/man_1.5p.bb
+++ b/packages/man/man_1.5p.bb
@@ -8,7 +8,7 @@ RDEPENDS_${PN} = "less groff"
# Note: The default man.conf uses wrong names for GNU eqn and troff,
# so we install our own
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/man/man-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/gpub/linux/utils/man/man-${PV}.tar.bz2 \
file://man.conf"
# Disable parallel make or it tries to link objects before they are built
diff --git a/packages/mdadm/mdadm.inc b/packages/mdadm/mdadm.inc
index fa03492e8d..a944e0b190 100644
--- a/packages/mdadm/mdadm.inc
+++ b/packages/mdadm/mdadm.inc
@@ -4,7 +4,7 @@ device arrays using the "md" driver in Linux, also \
known as Software RAID arrays."
LICENSE = "GPL"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/raid/mdadm/${PN}-${PV}.tar.bz2"
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/raid/mdadm/${PN}-${PV}.tar.bz2"
CFLAGS += "-fno-strict-aliasing"
diff --git a/packages/module-init-tools/module-init-tools_3.2.1.bb b/packages/module-init-tools/module-init-tools_3.2.1.bb
index bbd8cca1bf..3733562c62 100644
--- a/packages/module-init-tools/module-init-tools_3.2.1.bb
+++ b/packages/module-init-tools/module-init-tools_3.2.1.bb
@@ -11,7 +11,7 @@ RDEPENDS_${PN} += "module-init-tools-depmod"
FILES_module-init-tools-depmod = "${sbindir}/depmod.26"
FILES_module-init-tools-insmod-static = "${sbindir}/insmod.static"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/module-init-tools/module-init-tools-${PV}.tar.bz2 \
file://ignore_arch_directory;patch=1 \
file://modutils_extension;patch=1 \
file://no_man_rebuild;patch=1 \
diff --git a/packages/module-init-tools/module-init-tools_3.2.2.bb b/packages/module-init-tools/module-init-tools_3.2.2.bb
index 727bfaac1b..c7782cb54c 100644
--- a/packages/module-init-tools/module-init-tools_3.2.2.bb
+++ b/packages/module-init-tools/module-init-tools_3.2.2.bb
@@ -11,7 +11,7 @@ RDEPENDS_${PN} += "module-init-tools-depmod"
FILES_module-init-tools-depmod = "${sbindir}/depmod.26"
FILES_module-init-tools-insmod-static = "${sbindir}/insmod.static"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/module-init-tools/module-init-tools-${PV}.tar.bz2 \
file://ignore_arch_directory;patch=1 \
file://modutils_extension;patch=1 \
file://no_man_rebuild;patch=1 \
diff --git a/packages/modutils/modutils_2.4.27.bb b/packages/modutils/modutils_2.4.27.bb
index 56420f7de0..8e6fc8c544 100644
--- a/packages/modutils/modutils_2.4.27.bb
+++ b/packages/modutils/modutils_2.4.27.bb
@@ -5,7 +5,7 @@ LICENSE = "GPLv2"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/files"
PR = "r7"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/modutils/v2.4/modutils-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/modutils/v2.4/modutils-${PV}.tar.bz2 \
file://lex.l.diff;patch=1 \
file://modutils-notest.patch;patch=1 \
file://configure.patch;patch=1 \
diff --git a/packages/nis/nis.inc b/packages/nis/nis.inc
index 18dd00437a..45232881cb 100644
--- a/packages/nis/nis.inc
+++ b/packages/nis/nis.inc
@@ -10,7 +10,7 @@ PRIORITY ?= "optional"
LICENSE ?= "GPL-2"
# Override these *after* the include file if necessary!
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${P}.tar.bz2"
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/net/NIS/${P}.tar.bz2"
inherit autotools gettext
diff --git a/packages/nis/pwdutils_2.6.bb b/packages/nis/pwdutils_2.6.bb
index ddbc41a688..0e01e7e104 100644
--- a/packages/nis/pwdutils_2.6.bb
+++ b/packages/nis/pwdutils_2.6.bb
@@ -12,7 +12,7 @@ HOMEPAGE="http://lists.suse.com/archive/pwdutils/"
require nis.inc
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/net/NIS/OLD/${PN}/${P}.tar.bz2"
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/net/NIS/OLD/${PN}/${P}.tar.bz2"
# an selinux API is used even if no selinux is detected by
# configure.
diff --git a/packages/nis/ypbind-mt_1.18.bb b/packages/nis/ypbind-mt_1.18.bb
index b544009e22..1cdf1f207e 100644
--- a/packages/nis/ypbind-mt_1.18.bb
+++ b/packages/nis/ypbind-mt_1.18.bb
@@ -16,7 +16,7 @@ HOMEPAGE="http://www.linux-nis.org/nis/ypbind-mt/index.html"
require nis.inc
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/net/NIS/OLD/${PN}/${P}.tar.bz2"
+SRC_URI = "${KERNELORG_MIRROR}/gpub/linux/utils/net/NIS/OLD/${PN}/${P}.tar.bz2"
# ypbind-mt now provides all the functionality of ypbind
# and is used in place of it.
diff --git a/packages/nis/ypserv_2.17.bb b/packages/nis/ypserv_2.17.bb
index f887c808c9..1ab9aa8ea4 100644
--- a/packages/nis/ypserv_2.17.bb
+++ b/packages/nis/ypserv_2.17.bb
@@ -7,7 +7,7 @@ HOMEPAGE="http://www.linux-nis.org/nis/ypserv/index.html"
require nis.inc
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/net/NIS/OLD/${PN}/${P}.tar.bz2"
+SRC_URI = "${KERNELORG_MIRROR}/gpub/linux/utils/net/NIS/OLD/${PN}/${P}.tar.bz2"
# ypserv needs a database package, gdbm is currently the
# only candidate
diff --git a/packages/pam/libpam_0.79.bb b/packages/pam/libpam_0.79.bb
index ef66fcf1da..c19d0ff9c8 100644
--- a/packages/pam/libpam_0.79.bb
+++ b/packages/pam/libpam_0.79.bb
@@ -26,7 +26,7 @@ pn = "Linux-PAM"
p = "${pn}-${PV}"
S = "${WORKDIR}/${p}"
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/libs/pam/pre/library/${p}.tar.bz2"
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/pam/pre/library/${p}.tar.bz2"
# the patches are necessary to get the autoreconf and cross build
# to work correctly
diff --git a/packages/pciutils/pciutils_2.1.11.bb b/packages/pciutils/pciutils_2.1.11.bb
index ce9979ca91..22bf67d03a 100644
--- a/packages/pciutils/pciutils_2.1.11.bb
+++ b/packages/pciutils/pciutils_2.1.11.bb
@@ -10,7 +10,7 @@ PR="r3"
PARALLEL_MAKE = ""
FILES_pciutils-ids="${prefix}/share/pci.ids"
PACKAGES =+ "pciutils-ids"
-SRC_URI = "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/software/utils/pciutils/pciutils-${PV}.tar.bz2 \
file://configure.patch;patch=1 \
file://configure-uclibc.patch;patch=1 \
file://pcimodules-pciutils-2.1.11.diff;patch=1"
diff --git a/packages/pciutils/pciutils_2.2.4.bb b/packages/pciutils/pciutils_2.2.4.bb
index ce683a152a..57d9e2089f 100644
--- a/packages/pciutils/pciutils_2.2.4.bb
+++ b/packages/pciutils/pciutils_2.2.4.bb
@@ -6,7 +6,7 @@ HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml"
LICENSE = "GPLv2"
DEPENDS = "zlib"
-SRC_URI = "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/software/utils/pciutils/pciutils-${PV}.tar.bz2 \
file://configure.patch;patch=1 \
file://pcimodules-pciutils.diff;patch=1"
diff --git a/packages/pcmciautils/pcmciautils.inc b/packages/pcmciautils/pcmciautils.inc
index e448f2da56..1df39549dc 100644
--- a/packages/pcmciautils/pcmciautils.inc
+++ b/packages/pcmciautils/pcmciautils.inc
@@ -5,7 +5,7 @@ HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
SECTION = "kernel/userland"
PRIORITY = "optional"
-SRC_URI = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmciautils-${PV}.tar.bz2"
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/pcmcia/pcmciautils-${PV}.tar.bz2"
S = "${WORKDIR}/pcmciautils-${PV}"
diff --git a/packages/pmtools/pmtools_20050926.bb b/packages/pmtools/pmtools_20050926.bb
index 6e6e0f02e7..abeb8cf4ee 100644
--- a/packages/pmtools/pmtools_20050926.bb
+++ b/packages/pmtools/pmtools_20050926.bb
@@ -1,4 +1,4 @@
-SRC_URI="http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/pmtools-${PV}.tar.bz2"
+SRC_URI="${KERNELORG_MIRROR}/pub/linux/kernel/people/lenb/acpi/utils/pmtools-${PV}.tar.bz2"
S="${WORKDIR}/pmtools"
diff --git a/packages/syslinux/syslinux-native_2.11.bb b/packages/syslinux/syslinux-native_2.11.bb
index fd92b92dc1..a255ad15c3 100644
--- a/packages/syslinux/syslinux-native_2.11.bb
+++ b/packages/syslinux/syslinux-native_2.11.bb
@@ -8,7 +8,7 @@ LICENSE="GPL"
PR="r1"
-SRC_URI="http://www.kernel.org/pub/linux/utils/boot/syslinux/Old/syslinux-${PV}.tar.bz2 \
+SRC_URI="${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/Old/syslinux-${PV}.tar.bz2 \
file://edx_assume_zero.patch;patch=1"
S="${WORKDIR}/syslinux-${PV}"
diff --git a/packages/syslinux/syslinux-native_3.11.bb b/packages/syslinux/syslinux-native_3.11.bb
index f24029f466..4cf7873f36 100644
--- a/packages/syslinux/syslinux-native_3.11.bb
+++ b/packages/syslinux/syslinux-native_3.11.bb
@@ -8,7 +8,7 @@ LICENSE="GPL"
PR="r1"
-SRC_URI="http://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2 "
+SRC_URI="${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2 "
S="${WORKDIR}/syslinux-${PV}"
diff --git a/packages/udev/udev_092.bb b/packages/udev/udev_092.bb
index 7954376d08..1ae2c3b596 100644
--- a/packages/udev/udev_092.bb
+++ b/packages/udev/udev_092.bb
@@ -5,7 +5,7 @@ RPROVIDES = "hotplug"
PR = "r14"
-SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://noasmlinkage.patch;patch=1 \
file://flags.patch;patch=1 \
file://udevsynthesize.patch;patch=1 \
diff --git a/packages/udev/udev_097.bb b/packages/udev/udev_097.bb
index 79ea7b06de..29709c6209 100644
--- a/packages/udev/udev_097.bb
+++ b/packages/udev/udev_097.bb
@@ -10,7 +10,7 @@ needed to link programs with libvolume_id."
PR = "r5"
-SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://noasmlinkage.patch;patch=1 \
file://flags.patch;patch=1 \
file://mount.blacklist \
diff --git a/packages/udev/udev_100.bb b/packages/udev/udev_100.bb
index b17f852c64..dd956668ed 100644
--- a/packages/udev/udev_100.bb
+++ b/packages/udev/udev_100.bb
@@ -11,7 +11,7 @@ needed to link programs with libvolume_id."
PR = "r4"
-SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://noasmlinkage.patch;patch=1 \
file://flags.patch;patch=1 \
file://mount.blacklist \
diff --git a/packages/util-linux/util-linux-native_2.12r.bb b/packages/util-linux/util-linux-native_2.12r.bb
index 862a6716bd..d6c60786de 100644
--- a/packages/util-linux/util-linux-native_2.12r.bb
+++ b/packages/util-linux/util-linux-native_2.12r.bb
@@ -5,7 +5,7 @@ DEPENDS = "zlib-native ncurses-native"
inherit autotools native
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/util-linux/util-linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/util-linux/util-linux-${PV}.tar.bz2 \
file://gcc34.patch;patch=1 \
file://MCONFIG \
file://make_include \
diff --git a/packages/util-linux/util-linux.inc b/packages/util-linux/util-linux.inc
index aaad0a9697..a5ff009669 100644
--- a/packages/util-linux/util-linux.inc
+++ b/packages/util-linux/util-linux.inc
@@ -5,7 +5,7 @@ DEPENDS = "zlib ncurses"
inherit autotools
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/util-linux/util-linux-${PV}.tar.bz2 \
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/util-linux/util-linux-${PV}.tar.bz2 \
file://gcc34.patch;patch=1 \
file://MCONFIG \
file://make_include \