ia64/xen-unstable

view tools/vnet/Makefile @ 9488:0a6f5527ca4b

[IA64] set itv handoff as masked and enable reading irr[0-3]

Set initial vcpu itv handoff state to mask the timer vector.
This seems to match hardware and makes logical sense from a
spurious interrupt perspective. Enable vcpu_get_irr[0-3]
functions as they seem to work and have the proper backing.
This enables the check_sal_cache_flush() in arch/ia64/kernel.sal.c
to work unmodified, allowing us to remove the Xen changes from
the file (and thus the file from the sparse tree).

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author awilliam@xenbuild.aw
date Tue Apr 04 09:39:45 2006 -0600 (2006-04-04)
parents 71b0f00f6344
children b454a09cddb1
line source
1 # -*- mode: Makefile; -*-
3 ifndef VNET_ROOT
4 export VNET_ROOT = $(shell pwd)
5 include $(VNET_ROOT)/Make.env
6 endif
8 .PHONY: all compile install dist clean pristine
9 .PHONY: gc-all gc-install gc-clean
10 .PHONY: help
12 SUBDIRS:=
13 SUBDIRS+= examples
14 SUBDIRS+= scripts
15 SUBDIRS+= gc
16 SUBDIRS+= libxutil
17 SUBDIRS+= vnetd
18 SUBDIRS+= vnet-module
20 all: compile
22 gc.tar.gz:
23 wget http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/$@
25 gc: gc.tar.gz
26 tar xfz gc.tar.gz
27 ln -sf gc?.? gc
29 $(GC_LIB_A): gc
30 (cd gc && ./configure --prefix=$(GC_DIR) )
31 make -C gc
32 DESTDIR="" make -C gc install
34 gc-all: $(GC_LIB_A)
36 gc-install:
38 gc-clean:
39 -@$(RM) -r gc?.? gc
41 submak = $(MAKE) -C $(patsubst %-$(1),%,$(@)) $(1)
42 subtgt = $(patsubst %,%-$(1),$(SUBDIRS))
44 %-all:
45 $(call submak,all)
47 %-clean:
48 -$(call submak,clean)
50 %-install:
51 $(call submak,install)
53 compile: $(call subtgt,all)
55 install: DESTDIR=
56 install: dist
58 dist: compile $(call subtgt,install)
60 clean: $(call subtgt,clean)
61 -@$(RM) -r build
63 pristine: clean
64 -@$(RM) gc.tar.gz
66 help:
67 @echo 'Cleaning targets:'
68 @echo ' clean - clean subdirs and remove the build dir'
69 @echo ' pristine - clean, then remove the gc tarball'
70 @echo ''
71 @echo 'Installation targets:'
72 @echo ' install - build and install relative to /'
73 @echo ' dist - build and install relative to DESTDIR (default XEN_ROOT/dist/install)'
74 @echo ''
75 @echo 'Compilation targets:'
76 @echo ' all - same as compile'
77 @echo ' compile - build everything'
78 @echo ''
79 @echo 'To build everything locally use "make" or "make all"'.
80 @echo 'To build and install into XEN_ROOT/dist/install use "make dist".'
81 @echo 'To build and install into the system use "make dist".'
82 @echo 'See ./00README and ./00INSTALL for more information.'