aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-01-20 15:10:28 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-01-20 15:10:28 +0000
commitf7c23cc9a9f742844ec9a98544b55f6d2d9c0dfa (patch)
treea6f6bc007ef5dfe38caa8cc40f61ebde003b0559 /tools
parent3867e97e119d5eaf9ed529af3fb0c63a77bb73a9 (diff)
downloadxen-f7c23cc9a9f742844ec9a98544b55f6d2d9c0dfa.tar.gz
xen-f7c23cc9a9f742844ec9a98544b55f6d2d9c0dfa.tar.bz2
xen-f7c23cc9a9f742844ec9a98544b55f6d2d9c0dfa.zip
hvmloader: ACPI compiler is not to be buil;t and installed on target system.
Since it is a build prerequisite (in some cases) simply fail the build if it is not found when it turns out to be required. Just as we would for any other tool-chain prereq. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/firmware/hvmloader/acpi/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/tools/firmware/hvmloader/acpi/Makefile b/tools/firmware/hvmloader/acpi/Makefile
index e4dc4cb53f..c282d018d8 100644
--- a/tools/firmware/hvmloader/acpi/Makefile
+++ b/tools/firmware/hvmloader/acpi/Makefile
@@ -22,10 +22,6 @@ C_SRC = build.c dsdt.c static_tables.c
H_SRC = $(wildcard *.h)
OBJS = $(patsubst %.c,%.o,$(C_SRC))
-IASL_VER = acpica-unix-20080729
-#IASL_URL = http://acpica.org/download/$(IASL_VER).tar.gz
-IASL_URL = $(XEN_EXTFILES_URL)/$(IASL_VER).tar.gz
-
CFLAGS += -I. -I.. $(CFLAGS_include)
vpath iasl $(PATH)
@@ -46,15 +42,11 @@ dsdt.c: dsdt.asl
iasl:
@echo
- @echo "ACPI ASL compiler(iasl) is needed"
- @echo "Download Intel ACPI CA"
- @echo "If wget failed, please download and compile manually from"
+ @echo "ACPI ASL compiler (iasl) is needed"
+ @echo "Download and install Intel ACPI CA from"
@echo "http://acpica.org/downloads/"
@echo
- wget $(IASL_URL)
- tar xzf $(IASL_VER).tar.gz
- make -C $(IASL_VER)/compiler
- $(INSTALL_PROG) $(IASL_VER)/compiler/iasl $(DESTDIR)$(BINDIR)/iasl
+ @exit 1
acpi.a: $(OBJS)
$(AR) rc $@ $(OBJS)