ia64/xen-unstable

view buildconfigs/src.hg-clone @ 19848:5839491bbf20

[IA64] replace MAX_VCPUS with d->max_vcpus where necessary.

don't use MAX_VCPUS, and use vcpu::max_vcpus.
The changeset of 2f9e1348aa98 introduced max_vcpus to allow more vcpus
per guest. This patch is ia64 counter part.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon Jun 29 11:26:05 2009 +0900 (2009-06-29)
parents 923b8dbb0fed
children
line source
1 # Mercurial
2 HG ?= hg
4 LINUX_SRCDIR ?= linux-$(LINUX_VER)-xen.hg
6 # Repository to clone.
7 XEN_LINUX_HGREPO ?= $$(sh buildconfigs/select-repository $(LINUX_SRCDIR) $(LINUX_SRC_PATH))
9 # Set XEN_LINUX_HGREV to update to a particlar revision.
10 XEN_LINUX_HGREV ?= tip
12 $(LINUX_SRCDIR)/.valid-src: $(__XEN_LINUX_UPDATE)
13 set -e ; \
14 if [ ! -e $(LINUX_SRCDIR)/.hg ] ; then \
15 __repo=$(XEN_LINUX_HGREPO) ; \
16 if [ -d $${__repo} ] ; then \
17 echo "Linking $${__repo} to $(LINUX_SRCDIR)." ; \
18 ln -s $${__repo} $(LINUX_SRCDIR) ; \
19 else \
20 echo "Cloning $${__repo} to $(LINUX_SRCDIR)." ; \
21 $(HG) clone $${__repo#file://} $(LINUX_SRCDIR) ; \
22 fi ; \
23 else \
24 __parent=$$($(HG) -R $(LINUX_SRCDIR) path default) ; \
25 echo "Pulling changes from $${__parent} into $(LINUX_SRCDIR)." ; \
26 $(HG) -R $(LINUX_SRCDIR) pull $${__parent} ; \
27 fi
28 set -e ; if [ -n "$(XEN_LINUX_HGREV)" ] ; then \
29 echo "Updating $(LINUX_SRCDIR) to revision $(XEN_LINUX_HGREV)." ; \
30 ( cd $(LINUX_SRCDIR) && $(HG) update $(XEN_LINUX_HGREV) ); \
31 fi
32 touch $@