Signed-off-by: Piotr Jaroszyński <[email protected]>
---
 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

_______________________________________________
gPXE-devel mailing list
[email protected]
http://etherboot.org/mailman/listinfo/gpxe-devel

Reply via email to