ia64/xen-unstable

view buildconfigs/src.git-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 dc0d1200e3f3
children
line source
1 # Mercurial
2 GIT ?= git
4 LINUX_SRCDIR ?= linux-$(LINUX_VER).git
6 # The URL of the remote GIT repository
7 ifeq ($(XEN_LINUX_GIT_URL),)
8 .ERROR: XEN_LINUX_GIT_URL not specified
9 endif
11 # The branch in the remote repository
12 ifeq ($(XEN_LINUX_GIT_REMOTEBRANCH),)
13 .ERROR: XEN_LINUX_GIT_REMOTEBRANCH not specified
14 endif
16 XEN_LINUX_GIT_LOCALBRANCH ?= master
18 # Set XEN_LINUX_GITREV to update to a particlar revision.
19 XEN_LINUX_GITREV ?=
21 $(LINUX_SRCDIR)/.valid-src: $(__XEN_LINUX_UPDATE)
22 set -ex; \
23 if ! [ -d $(LINUX_SRCDIR) ]; then \
24 rm -rf $(LINUX_SRCDIR) $(LINUX_SRCDIR).tmp; \
25 mkdir $(LINUX_SRCDIR).tmp; rmdir $(LINUX_SRCDIR).tmp; \
26 $(GIT) clone $(XEN_LINUX_GIT_URL) $(LINUX_SRCDIR).tmp; \
27 cd $(LINUX_SRCDIR).tmp; \
28 $(GIT) checkout $(XEN_LINUX_GIT_REMOTEBRANCH); \
29 cd ..; mv $(LINUX_SRCDIR).tmp $(LINUX_SRCDIR); \
30 fi
31 touch $@