ia64/xen-unstable
annotate tools/firmware/Makefile @ 6946:e703abaf6e3d
Add behaviour to the remove methods to remove the transaction's path itself. This allows us to write Remove(path) to remove the specified path rather than having to slice the path ourselves.
author | emellor@ewan |
---|---|
date | Sun Sep 18 14:42:13 2005 +0100 (2005-09-18) |
parents | 3233e7ecfa9f |
children | 06d84bf87159 |
rev | line source |
---|---|
kaf24@5370 | 1 XEN_ROOT = ../.. |
kaf24@5370 | 2 include $(XEN_ROOT)/tools/Rules.mk |
kaf24@5370 | 3 |
kaf24@6824 | 4 # vmxloader is a 32-bit protected mode binary. |
kaf24@6824 | 5 # It belongs in /usr/lib, not /usr/lib64. |
kaf24@5372 | 6 TARGET := vmxassist/vmxloader |
kaf24@5385 | 7 INSTALL_DIR := $(DESTDIR)/usr/lib/xen/boot |
kaf24@5372 | 8 |
kaf24@5370 | 9 SUBDIRS := |
kaf24@5370 | 10 SUBDIRS += rombios |
kaf24@5370 | 11 SUBDIRS += vgabios |
arun@5614 | 12 SUBDIRS += acpi |
kaf24@5370 | 13 SUBDIRS += vmxassist |
kaf24@5370 | 14 |
kaf24@5370 | 15 .PHONY: all install clean |
kaf24@5370 | 16 |
kaf24@5372 | 17 all: |
kaf24@5372 | 18 @set -e; if ! `which bcc 1>/dev/null 2>/dev/null`; then \ |
kaf24@5372 | 19 echo "***********************************************************"; \ |
kaf24@5372 | 20 echo "WARNING: Install dev86 package to build firmware!"; \ |
kaf24@5372 | 21 echo " (http://www.cix.co.uk/~mayday)"; \ |
kaf24@5372 | 22 echo "***********************************************************"; \ |
kaf24@5372 | 23 else \ |
kaf24@5372 | 24 for subdir in $(SUBDIRS); do \ |
kaf24@5370 | 25 $(MAKE) -C $$subdir $@; \ |
kaf24@5372 | 26 done; \ |
kaf24@5372 | 27 fi |
kaf24@5370 | 28 |
kaf24@5372 | 29 |
kaf24@5372 | 30 install: all |
kaf24@5372 | 31 [ -d $(INSTALL_DIR) ] || install -d -m0755 $(INSTALL_DIR) |
kaf24@5372 | 32 [ ! -e $(TARGET) ] || install -m0644 $(TARGET) $(INSTALL_DIR) |
kaf24@5370 | 33 |
kaf24@5370 | 34 clean: |
kaf24@5370 | 35 @set -e; for subdir in $(SUBDIRS); do \ |
kaf24@5370 | 36 $(MAKE) -C $$subdir $@; \ |
kaf24@5370 | 37 done |