ia64/xen-unstable

view tools/console/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 0a3d7dacff4c
children 9be942ec0247
line source
2 XEN_ROOT=../..
3 include $(XEN_ROOT)/tools/Rules.mk
5 DAEMON_INSTALL_DIR = /usr/sbin
6 CLIENT_INSTALL_DIR = /usr/$(LIBDIR)/xen/bin
8 CFLAGS += -Werror
10 CFLAGS += -I $(XEN_LIBXC)
11 CFLAGS += -I $(XEN_XENSTORE)
13 BIN = xenconsoled xenconsole
15 .PHONY: all
16 all: $(BIN)
18 .PHONY: clean
19 clean:
20 $(RM) *.a *.so *.o *.rpm $(BIN)
21 $(RM) client/*.o daemon/*.o
23 xenconsoled: $(patsubst %.c,%.o,$(wildcard daemon/*.c))
24 $(CC) $(CFLAGS) $^ -o $@ -L$(XEN_LIBXC) -L$(XEN_XENSTORE) \
25 $(SOCKET_LIBS) -lxenctrl -lxenstore
27 xenconsole: $(patsubst %.c,%.o,$(wildcard client/*.c))
28 $(CC) $(CFLAGS) $^ -o $@ -L$(XEN_LIBXC) -L$(XEN_XENSTORE) \
29 $(SOCKET_LIBS) -lxenctrl -lxenstore
31 .PHONY: install
32 install: $(BIN)
33 $(INSTALL_DIR) -p $(DESTDIR)/$(DAEMON_INSTALL_DIR)
34 $(INSTALL_PROG) xenconsoled $(DESTDIR)/$(DAEMON_INSTALL_DIR)
35 $(INSTALL_DIR) -p $(DESTDIR)/$(CLIENT_INSTALL_DIR)
36 $(INSTALL_PROG) xenconsole $(DESTDIR)/$(CLIENT_INSTALL_DIR)