Mailing List Archive

[xen-unstable] hvmloader: ACPI compiler is not to be buil; t and installed on target system.
# HG changeset patch
# User Keir Fraser <keir.fraser@citrix.com>
# Date 1232464228 0
# Node ID adee46c3fbfa3738db50e9e93487435ef249818d
# Parent 108b45539cda94e3350cf892b713e773025b48d8
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>
---
tools/firmware/hvmloader/acpi/Makefile | 14 +++-----------
1 files changed, 3 insertions(+), 11 deletions(-)

diff -r 108b45539cda -r adee46c3fbfa tools/firmware/hvmloader/acpi/Makefile
--- a/tools/firmware/hvmloader/acpi/Makefile Tue Jan 20 14:30:42 2009 +0000
+++ b/tools/firmware/hvmloader/acpi/Makefile Tue Jan 20 15:10:28 2009 +0000
@@ -22,10 +22,6 @@ H_SRC = $(wildcard *.h)
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)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xensource.com
http://lists.xensource.com/xen-changelog