ia64/xen-unstable

changeset 19063:adee46c3fbfa

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>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Jan 20 15:10:28 2009 +0000 (2009-01-20)
parents 108b45539cda
children a0dddcbd9e32
files tools/firmware/hvmloader/acpi/Makefile
line diff
     1.1 --- a/tools/firmware/hvmloader/acpi/Makefile	Tue Jan 20 14:30:42 2009 +0000
     1.2 +++ b/tools/firmware/hvmloader/acpi/Makefile	Tue Jan 20 15:10:28 2009 +0000
     1.3 @@ -22,10 +22,6 @@ C_SRC = build.c dsdt.c static_tables.c
     1.4  H_SRC = $(wildcard *.h)
     1.5  OBJS  = $(patsubst %.c,%.o,$(C_SRC))
     1.6  
     1.7 -IASL_VER = acpica-unix-20080729
     1.8 -#IASL_URL = http://acpica.org/download/$(IASL_VER).tar.gz
     1.9 -IASL_URL = $(XEN_EXTFILES_URL)/$(IASL_VER).tar.gz
    1.10 -
    1.11  CFLAGS += -I. -I.. $(CFLAGS_include)
    1.12  
    1.13  vpath iasl $(PATH)
    1.14 @@ -46,15 +42,11 @@ dsdt.c: dsdt.asl
    1.15  
    1.16  iasl:
    1.17  	@echo
    1.18 -	@echo "ACPI ASL compiler(iasl) is needed"
    1.19 -	@echo "Download Intel ACPI CA"
    1.20 -	@echo "If wget failed, please download and compile manually from"
    1.21 +	@echo "ACPI ASL compiler (iasl) is needed"
    1.22 +	@echo "Download and install Intel ACPI CA from"
    1.23  	@echo "http://acpica.org/downloads/"
    1.24  	@echo 
    1.25 -	wget $(IASL_URL)
    1.26 -	tar xzf $(IASL_VER).tar.gz
    1.27 -	make -C $(IASL_VER)/compiler
    1.28 -	$(INSTALL_PROG) $(IASL_VER)/compiler/iasl $(DESTDIR)$(BINDIR)/iasl
    1.29 +	@exit 1
    1.30  
    1.31  acpi.a: $(OBJS)
    1.32  	$(AR) rc $@ $(OBJS)