ia64/xen-unstable

view tools/Makefile @ 14091:8bcaedc68f5a

[XEN] [TOOLS] 32on64 compat save/restore: unadjust L3E flags at save time
Get rid of USER|RW|ACCESSED L3 PTE flags which may be present
in a PAE guest when running on a 64bit hypervisor at save time.
This prevents the restore operation from getting confused by
these flags.
Reset disallowed L3E flags to match PAE case.

Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
author Emmanuel Ackaouy <ack@xensource.com>
date Fri Feb 23 12:58:20 2007 +0000 (2007-02-23)
parents 51ff40839470
children 7f0d8e3c538e
line source
1 XEN_ROOT = ../
2 include $(XEN_ROOT)/tools/Rules.mk
4 SUBDIRS-y :=
5 SUBDIRS-y += libxc
6 SUBDIRS-y += xenstore
7 SUBDIRS-y += misc
8 SUBDIRS-y += examples
9 SUBDIRS-y += xentrace
10 SUBDIRS-$(CONFIG_XCUTILS) += xcutils
11 SUBDIRS-$(CONFIG_X86) += firmware
12 SUBDIRS-y += security
13 SUBDIRS-y += console
14 SUBDIRS-y += xenmon
15 SUBDIRS-y += guest-headers
16 SUBDIRS-$(VTPM_TOOLS) += vtpm_manager
17 SUBDIRS-$(VTPM_TOOLS) += vtpm
18 SUBDIRS-y += xenstat
19 SUBDIRS-y += libaio
20 SUBDIRS-y += blktap
21 SUBDIRS-y += libfsimage
22 SUBDIRS-$(XENFB_TOOLS) += xenfb
23 SUBDIRS-$(LIBXENAPI_BINDINGS) += libxen
25 # These don't cross-compile
26 ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
27 SUBDIRS-y += python
28 SUBDIRS-y += pygrub
29 SUBDIRS-y += ptsname
30 endif
32 .PHONY: all
33 all: check
34 @set -e; for subdir in $(SUBDIRS-y); do \
35 $(MAKE) -C $$subdir $@; \
36 done
37 $(MAKE) ioemu
39 .PHONY: install
40 install: check
41 @set -e; for subdir in $(SUBDIRS-y); do \
42 $(MAKE) -C $$subdir $@; \
43 done
44 $(MAKE) ioemuinstall
45 $(INSTALL_DIR) -p $(DESTDIR)/var/xen/dump
46 $(INSTALL_DIR) -p $(DESTDIR)/var/log/xen
48 .PHONY: clean
49 clean: check_clean
50 @set -e; for subdir in $(SUBDIRS-y); do \
51 $(MAKE) -C $$subdir $@; \
52 done
53 $(MAKE) ioemuclean
55 .PHONY: distclean
56 distclean: clean
58 .PHONY: check
59 check:
60 $(MAKE) -C check
62 .PHONY: check_clean
63 check_clean:
64 $(MAKE) -C check clean
66 .PHONY: ioemu ioemuinstall ioemuclean
67 ifeq ($(CONFIG_IOEMU),y)
68 export IOEMU_DIR ?= ioemu
69 ioemu ioemuinstall:
70 [ -f $(IOEMU_DIR)/config-host.mak ] || \
71 (cd $(IOEMU_DIR) && sh configure --prefix=/usr)
72 $(MAKE) -C $(IOEMU_DIR) $(patsubst ioemu%,%,$@)
73 ioemuclean:
74 $(MAKE) -C $(IOEMU_DIR) distclean
75 else
76 ioemu ioemuinstall ioemuclean:
77 endif