ia64/xen-unstable

view tools/firmware/Makefile @ 8964:8946b6dcd49e

Fix x86_64 Xen build.

event_callback_cs and failsafe_callback_cs are x86_32 only.

Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
author Ian.Campbell@xensource.com
date Wed Feb 22 17:26:39 2006 +0000 (2006-02-22)
parents f1b361b05bf3
children b454a09cddb1
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 install clean
18 all:
19 @set -e; if ! `which bcc 1>/dev/null 2>/dev/null`; then \
20 echo "***********************************************************"; \
21 echo "WARNING: Install dev86 package to build firmware!"; \
22 echo " (http://www.cix.co.uk/~mayday)"; \
23 echo "***********************************************************"; \
24 else \
25 for subdir in $(SUBDIRS); do \
26 $(MAKE) -C $$subdir $@; \
27 done; \
28 fi
31 install: all
32 [ -d $(INSTALL_DIR) ] || install -d -m0755 $(INSTALL_DIR)
33 [ ! -e $(TARGET) ] || install -m0644 $(TARGET) $(INSTALL_DIR)
35 clean:
36 @set -e; for subdir in $(SUBDIRS); do \
37 $(MAKE) -C $$subdir $@; \
38 done