hvmloader: ACPI compiler is not to be buil;t and installed on target system.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 20 Jan 2009 15:10:28 +0000 (15:10 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 20 Jan 2009 15:10:28 +0000 (15:10 +0000)
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>
tools/firmware/hvmloader/acpi/Makefile

index e4dc4cb53f3ad93e3cf008185cd4de4949db98ea..c282d018d80bab86468e7c6a09f667bead9e1c64 100644 (file)
@@ -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)