debuggers.hg

view tools/firmware/Makefile @ 21067:b4a1832a916f

Update Xen version to 4.0.0-rc6
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 09 18:18:05 2010 +0000 (2010-03-09)
parents b55070edb185
children 3ffdb094c2c0
line source
1 XEN_ROOT = ../..
2 include $(XEN_ROOT)/tools/Rules.mk
4 # hvmloader is a 32-bit protected mode binary.
5 TARGET := hvmloader/hvmloader
6 INST_DIR := $(DESTDIR)$(XENFIRMWAREDIR)
8 SUBDIRS :=
9 SUBDIRS += rombios
10 SUBDIRS += vgabios
11 #SUBDIRS += etherboot
12 SUBDIRS += hvmloader
14 .PHONY: all
15 all:
16 @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 \
17 echo "==========================================================================="; \
18 echo "Require dev86 rpm or bin86 & bcc debs version >= 0.16.14 to build firmware!"; \
19 echo "(visit http://www.debath.co.uk/dev86/ for more information)"; \
20 echo "==========================================================================="; \
21 false ; \
22 fi
23 $(MAKE) subdirs-$@; \
26 .PHONY: install
27 install: all
28 [ -d $(INST_DIR) ] || $(INSTALL_DIR) $(INST_DIR)
29 [ ! -e $(TARGET) ] || $(INSTALL_DATA) $(TARGET) $(INST_DIR)
31 .PHONY: clean
32 clean: subdirs-clean