ia64/xen-unstable

view tools/firmware/Makefile @ 14445:cb1693873a7e

libxc: Explicitly reserve space for special pages in HVM memmap.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Fri Mar 16 18:59:28 2007 +0000 (2007-03-16)
parents 517e67f0fe52
children 519d32076d48
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 INST_DIR := $(DESTDIR)/usr/lib/xen/boot
9 SUBDIRS :=
10 SUBDIRS += rombios rombios/32bit
11 SUBDIRS += vgabios
12 SUBDIRS += vmxassist
13 SUBDIRS += hvmloader
15 .PHONY: all
16 all:
17 @set -e; if [ $$((`bcc -v 2>&1 | grep version | cut -d' ' -f 3 | awk -F. '{ printf "0x%02x%02x%02x", $$1, $$2, $$3}'`)) -lt $$((0x00100e)) ] ; then \
18 echo "***********************************************************"; \
19 echo "Require dev86 package version >= 0.16.14 to build firmware!"; \
20 echo "(visit http://www.cix.co.uk/~mayday for more information)"; \
21 echo "***********************************************************"; \
22 else \
23 for subdir in $(SUBDIRS); do \
24 $(MAKE) -C $$subdir $@; \
25 done; \
26 fi
29 .PHONY: install
30 install: all
31 [ -d $(INST_DIR) ] || $(INSTALL_DIR) $(INST_DIR)
32 [ ! -e $(TARGET) ] || $(INSTALL_DATA) $(TARGET) $(INST_DIR)
34 .PHONY: clean
35 clean:
36 @set -e; for subdir in $(SUBDIRS); do \
37 $(MAKE) -C $$subdir $@; \
38 done