浏览代码

[build] Look for isolinux.bin in more places

Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com>
Signed-off-by: Marty Connor <mdc@etherboot.org>
tags/v1.20.1
Piotr Jaroszyński 14 年前
父节点
当前提交
9feb7b38a5
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5
    1
      src/arch/i386/Makefile

+ 5
- 1
src/arch/i386/Makefile 查看文件

@@ -69,7 +69,11 @@ CFLAGS			+= -Ui386
69 69
 
70 70
 # Locations of utilities
71 71
 #
72
-ISOLINUX_BIN	= /usr/lib/syslinux/isolinux.bin
72
+ISOLINUX_BIN_LIST	:= \
73
+	$(ISOLINUX_BIN) \
74
+	/usr/lib/syslinux/isolinux.bin \
75
+	/usr/share/syslinux/isolinux.bin
76
+ISOLINUX_BIN	= $(firstword $(wildcard $(ISOLINUX_BIN_LIST)))
73 77
 
74 78
 # i386-specific directories containing source files
75 79
 #

正在加载...
取消
保存