direct-io.hg

view tools/firmware/Makefile @ 11509:2e6c10dc7c0b

[POWERPC][XEN] make sure put_domain() is called in case of allocate_rma() failuer

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Tue Sep 12 10:53:46 2006 -0400 (2006-09-12)
parents b454a09cddb1
children 49dcd838b7df edf0e488ea2a
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 [ ! -e $(TARGET) ] || install -m0644 $(TARGET) $(INSTALL_DIR)
35 .PHONY: clean
36 clean:
37 @set -e; for subdir in $(SUBDIRS); do \
38 $(MAKE) -C $$subdir $@; \
39 done