[gPXE-devel] [PATCH 1/2] [build] Look for isolinux.bin in more places

Piotr Jaroszyński p.jaroszynski at gmail.com
Fri Apr 2 14:45:08 EDT 2010


Signed-off-by: Piotr Jaroszyński <p.jaroszynski at gmail.com>
---
 src/arch/i386/Makefile |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/arch/i386/Makefile b/src/arch/i386/Makefile
index dd8da80..4f68694 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
 #
-- 
1.7.0.3



More information about the gPXE-devel mailing list