From 9feb7b38a5d38fd1dcf431b8ff2139d5d7afd90f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Jaroszy=C5=84ski?=
Date: Mon, 29 Mar 2010 02:12:06 +0200
Subject: [PATCH] [build] Look for isolinux.bin in more places
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Piotr JaroszyĆski
Signed-off-by: Marty Connor
---
src/arch/i386/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/arch/i386/Makefile b/src/arch/i386/Makefile
index dd8da802..4f686949 100644
--- a/src/arch/i386/Makefile
+++ b/src/arch/i386/Makefile
@@ -69,7 +69,11 @@ CFLAGS += -Ui386
# Locations of utilities
#
-ISOLINUX_BIN = /usr/lib/syslinux/isolinux.bin
+ISOLINUX_BIN_LIST := \
+ $(ISOLINUX_BIN) \
+ /usr/lib/syslinux/isolinux.bin \
+ /usr/share/syslinux/isolinux.bin
+ISOLINUX_BIN = $(firstword $(wildcard $(ISOLINUX_BIN_LIST)))
# i386-specific directories containing source files
#