mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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)
This commit is contained in:
1 parent
85b8054ceb
commit
38539de55f
3 files changed
+5
-1
No files matched your search
@@ -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
|
||||
@@ -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
|
||||
|
||||