extlinux.mk (857B)
1 BIN = extlinux 2 OBJ = bootsect_bin.o ldlinux_bin.o ldlinuxc32_bin.o \ 3 ../libinstaller/syslxcom.o \ 4 ../libinstaller/syslxopt.o \ 5 ../libinstaller/syslxmod.o \ 6 ../libinstaller/setadv.o \ 7 ../libinstaller/advio.o \ 8 ../extlinux/main.o \ 9 ../extlinux/mountinfo.o 10 11 INSTALL_BIN = extlinux 12 INSTALL_OTHER1 = ../../extlinux.conf 13 INSTALL_OTHER1_DIR = /boot 14 LOCAL_CFLAGS = -I../libinstaller -I../extlinux -I../bios -D_FILE_OFFSET_BITS=64 15 DEPS = e2fsprogs 16 17 <$mkbuild/mk.common 18 19 CPPFLAGS = 20 21 bin2c:Q: 22 echo "CC $target" 23 $HOSTCC -static -o $target ../../bin2c.c 24 25 bootsect_bin.c:Q: bin2c 26 ./bin2c ../bios/core/ldlinux.bss $target syslinux_bootsect 27 ldlinux_bin.c:Q: bin2c 28 ./bin2c ../bios/core/ldlinux.sys $target syslinux_ldlinux 512 29 ldlinuxc32_bin.c:Q: bin2c 30 ./bin2c ../bios/com32/elflink/ldlinux/ldlinux.c32 $target syslinux_ldlinuxc32 31 32 extlinux: $OBJ 33