diff options
author | iap10@spot.cl.cam.ac.uk <iap10@spot.cl.cam.ac.uk> | 2005-06-19 10:28:07 +0000 |
---|---|---|
committer | iap10@spot.cl.cam.ac.uk <iap10@spot.cl.cam.ac.uk> | 2005-06-19 10:28:07 +0000 |
commit | 38539de55fb54b72f3aa5add2f301ea29edcf3dd (patch) | |
tree | bd50c9a4a0f9d4b56ff0a7b715ac704a2ecf378b | |
parent | 85b8054cebe256d496b48d6313485c18cf02115d (diff) | |
download | xen-38539de55fb54b72f3aa5add2f301ea29edcf3dd.tar.gz xen-38539de55fb54b72f3aa5add2f301ea29edcf3dd.tar.bz2 xen-38539de55fb54b72f3aa5add2f301ea29edcf3dd.zip |
bitkeeper revision 1.1718.2.1 (42b548b7ux2RLNcFOrtdJXuEMvLNEw)
This patch allows user to choose mirror to get linux kernel source instead of getting it from kernel.org (which set as default)
-rw-r--r-- | BitKeeper/etc/logging_ok | 1 | ||||
-rw-r--r-- | Config.mk | 3 | ||||
-rw-r--r-- | buildconfigs/Rules.mk | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok index afc6cd647f..0a5c65b3d9 100644 --- a/BitKeeper/etc/logging_ok +++ b/BitKeeper/etc/logging_ok @@ -38,6 +38,7 @@ iap10@labyrinth.cl.cam.ac.uk iap10@nidd.cl.cam.ac.uk iap10@pb001.cl.cam.ac.uk iap10@pb007.cl.cam.ac.uk +iap10@spot.cl.cam.ac.uk iap10@striker.cl.cam.ac.uk iap10@tetris.cl.cam.ac.uk jrb44@plym.cl.cam.ac.uk @@ -31,3 +31,6 @@ endif LDFLAGS += $(foreach i, $(EXTRA_LIB), -L$(i)) CFLAGS += $(foreach i, $(EXTRA_INCLUDES), -I$(i)) + +# Choose the best mirror to download linux kernel +KERNEL_REPO = http://www.kernel.org diff --git a/buildconfigs/Rules.mk b/buildconfigs/Rules.mk index fe02b1e11b..99b5ca050e 100644 --- a/buildconfigs/Rules.mk +++ b/buildconfigs/Rules.mk @@ -27,7 +27,7 @@ vpath linux-%.tar.bz2 $(LINUX_SRC_PATH) linux-%.tar.bz2: override _LINUX_VDIR = $(word 1,$(subst ., ,$*)).$(word 2,$(subst ., ,$*)) linux-%.tar.bz2: @echo "Cannot find $@ in path $(LINUX_SRC_PATH)" - wget http://www.kernel.org/pub/linux/kernel/v$(_LINUX_VDIR)/$@ -O./$@ + wget $(KERNEL_REPO)/pub/linux/kernel/v$(_LINUX_VDIR)/$@ -O./$@ # Expand NetBSD release to NetBSD version NETBSD_RELEASE ?= 2.0 |