>From 714e20e0bbcc69f8745acea44eea7e50bc4eac53 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 22 May 2012 11:42:15 +0200 Subject: [PATCH] iasl detection Signed-off-by: Gerd Hoffmann --- Makefile | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 2a5adfe..f67b89f 100644 --- a/Makefile +++ b/Makefile @@ -62,7 +62,15 @@ OBJCOPY=objcopy OBJDUMP=objdump STRIP=strip PYTHON=python -IASL:=iasl +IASL:=$(shell which iasl 2>/dev/null) + +ifeq "$(IASL)" "" +iasl-not-found: + @echo "You need 'iasl' to compile seabios." + @echo "Most likely your distro has packages for you," + @echo "try asking the package manager to install it." + @false +endif # Default targets -include $(KCONFIG_CONFIG) -- 1.7.1