debuggers.hg

view tools/firmware/Makefile @ 10986:49dcd838b7df

[HVMLOADER] HVM loader initialises hypercall shim and uses
it to interrogate Xen version information. Also add support
for HVM hypercall execution on 64-bit host.

Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Fri Aug 04 20:30:12 2006 +0100 (2006-08-04)
parents b454a09cddb1
children 922f8ae451f6
line source
1 XEN_ROOT = ../..
2 include $(XEN_ROOT)/tools/Rules.mk
4 # hvmloader is a 32-bit protected mode binary.
5 # It belongs in /usr/lib, not /usr/lib64.
6 TARGET := hvmloader/hvmloader
7 INSTALL_DIR := $(DESTDIR)/usr/lib/xen/boot
9 SUBDIRS :=
10 SUBDIRS += rombios
11 SUBDIRS += vgabios
12 SUBDIRS += acpi
13 SUBDIRS += vmxassist
14 SUBDIRS += hvmloader
16 .PHONY: all
17 all:
18 @set -e; if ! `which bcc 1>/dev/null 2>/dev/null`; then \
19 echo "***********************************************************"; \
20 echo "WARNING: Install dev86 package to build firmware!"; \
21 echo " (http://www.cix.co.uk/~mayday)"; \
22 echo "***********************************************************"; \
23 else \
24 for subdir in $(SUBDIRS); do \
25 $(MAKE) -C $$subdir $@; \
26 done; \
27 fi
30 .PHONY: install
31 install: all
32 [ -d $(INSTALL_DIR) ] || install -d -m0755 $(INSTALL_DIR)
33 install -m0644 $(TARGET) $(INSTALL_DIR)
35 .PHONY: clean
36 clean:
37 @set -e; for subdir in $(SUBDIRS); do \
38 $(MAKE) -C $$subdir $@; \
39 done