ia64/xen-unstable

view tools/firmware/Makefile @ 19848:5839491bbf20

[IA64] replace MAX_VCPUS with d->max_vcpus where necessary.

don't use MAX_VCPUS, and use vcpu::max_vcpus.
The changeset of 2f9e1348aa98 introduced max_vcpus to allow more vcpus
per guest. This patch is ia64 counter part.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon Jun 29 11:26:05 2009 +0900 (2009-06-29)
parents b55070edb185
children
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