debuggers.hg

view tools/firmware/Makefile @ 16715:c5deb251b9dc

Update version to 3.2.0-rc4
author Keir Fraser <keir.fraser@citrix.com>
date Sat Dec 29 17:57:37 2007 +0000 (2007-12-29)
parents 519d32076d48
children bf828db8d017
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 || echo 0.0.0 ) | 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