ia64/xen-unstable

view tools/firmware/Makefile @ 7027:06d84bf87159

Merge latest xen-unstable into xen-ia64-unstable
author djm@kirby.fc.hp.com
date Thu Sep 22 11:42:01 2005 -0600 (2005-09-22)
parents 9af349b055e5 3233e7ecfa9f
children f1b361b05bf3
line source
1 XEN_ROOT = ../..
2 include $(XEN_ROOT)/tools/Rules.mk
4 # vmxloader is a 32-bit protected mode binary.
5 # It belongs in /usr/lib, not /usr/lib64.
6 TARGET := vmxassist/vmxloader
7 INSTALL_DIR := $(DESTDIR)/usr/lib/xen/boot
9 SUBDIRS :=
10 SUBDIRS += rombios
11 SUBDIRS += vgabios
12 SUBDIRS += acpi
13 SUBDIRS += vmxassist
15 .PHONY: all install clean
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 install: all
31 [ -d $(INSTALL_DIR) ] || install -d -m0755 $(INSTALL_DIR)
32 [ ! -e $(TARGET) ] || install -m0644 $(TARGET) $(INSTALL_DIR)
34 clean:
35 @set -e; for subdir in $(SUBDIRS); do \
36 $(MAKE) -C $$subdir $@; \
37 done