mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
directory pending tighter integration of table generation into hvmloader. This patch also includes the TPM TIS SSDT generator from Stefan Berger at IBM. Signed-off-by: Keir Fraser <keir@xensource.com>
39 lines
961 B
Makefile
39 lines
961 B
Makefile
XEN_ROOT = ../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
# hvmloader is a 32-bit protected mode binary.
|
|
# It belongs in /usr/lib, not /usr/lib64.
|
|
TARGET := hvmloader/hvmloader
|
|
INST_DIR := $(DESTDIR)/usr/lib/xen/boot
|
|
|
|
SUBDIRS :=
|
|
SUBDIRS += rombios
|
|
SUBDIRS += vgabios
|
|
SUBDIRS += vmxassist
|
|
SUBDIRS += hvmloader
|
|
|
|
.PHONY: all
|
|
all:
|
|
@set -e; if ! `which bcc 1>/dev/null 2>/dev/null`; then \
|
|
echo "***********************************************************"; \
|
|
echo "WARNING: Install dev86 package to build firmware!"; \
|
|
echo " (http://www.cix.co.uk/~mayday)"; \
|
|
echo "***********************************************************"; \
|
|
else \
|
|
for subdir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$subdir $@; \
|
|
done; \
|
|
fi
|
|
|
|
|
|
.PHONY: install
|
|
install: all
|
|
[ -d $(INST_DIR) ] || $(INSTALL_DIR) $(INST_DIR)
|
|
[ ! -e $(TARGET) ] || $(INSTALL_DATA) $(TARGET) $(INST_DIR)
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
@set -e; for subdir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$subdir $@; \
|
|
done
|