|
@@ -84,18 +84,27 @@ endif
|
84
|
84
|
#
|
85
|
85
|
CFLAGS_lkrnprefix += -DVERSION="\"$(VERSION)\""
|
86
|
86
|
|
87
|
|
-# Locations of utilities
|
88
|
|
-#
|
|
87
|
+# Locations of isolinux files
|
|
88
|
+#
|
|
89
|
+SYSLINUX_DIR_LIST := \
|
|
90
|
+ /usr/lib/syslinux \
|
|
91
|
+ /usr/lib/syslinux/bios \
|
|
92
|
+ /usr/lib/syslinux/modules/bios \
|
|
93
|
+ /usr/share/syslinux \
|
|
94
|
+ /usr/share/syslinux/bios \
|
|
95
|
+ /usr/share/syslinux/modules/bios \
|
|
96
|
+ /usr/local/share/syslinux \
|
|
97
|
+ /usr/local/share/syslinux/bios \
|
|
98
|
+ /usr/local/share/syslinux/modules/bios \
|
|
99
|
+ /usr/lib/ISOLINUX
|
89
|
100
|
ISOLINUX_BIN_LIST := \
|
90
|
101
|
$(ISOLINUX_BIN) \
|
91
|
|
- /usr/lib/syslinux/isolinux.bin \
|
92
|
|
- /usr/lib/syslinux/bios/isolinux.bin \
|
93
|
|
- /usr/share/syslinux/isolinux.bin \
|
94
|
|
- /usr/share/syslinux/bios/isolinux.bin \
|
95
|
|
- /usr/local/share/syslinux/isolinux.bin \
|
96
|
|
- /usr/local/share/syslinux/bios/isolinux.bin \
|
97
|
|
- /usr/lib/ISOLINUX/isolinux.bin
|
|
102
|
+ $(patsubst %,%/isolinux.bin,$(SYSLINUX_DIR_LIST))
|
|
103
|
+LDLINUX_C32_LIST := \
|
|
104
|
+ $(LDLINUX_C32) \
|
|
105
|
+ $(patsubst %,%/ldlinux.c32,$(SYSLINUX_DIR_LIST))
|
98
|
106
|
ISOLINUX_BIN = $(firstword $(wildcard $(ISOLINUX_BIN_LIST)))
|
|
107
|
+LDLINUX_C32 = $(firstword $(wildcard $(LDLINUX_C32_LIST)))
|
99
|
108
|
|
100
|
109
|
# i386-specific directories containing source files
|
101
|
110
|
#
|