ia64/xen-unstable

view buildconfigs/src.hg-clone @ 16682:7515dc56c124

[IA64] Sort out the XEN_IA64_OPTF_IDENT_MAP_REG[457] constants confusion

Currently the constants are used for two different purpose.
one is for the OPTF hypercall sub command.
another is bit flag for struct opt_feature::mask.
They are different spaces, split them out.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Alex Williamson <alex.williamson@hp.com>
date Sun Dec 30 13:02:16 2007 -0700 (2007-12-30)
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 $@