aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-19 10:25:07 +0000
committerhpa <hpa>2004-12-19 10:25:07 +0000
commitf4d1f2e18fa3b255acfe1802f50e9beca6a60a3d (patch)
tree0fb86f3eb9e2ad1295fb6b601487563d3e9717e4 /Makefile
parent3450a2c3d1d411db7b735a93bd661657a38782cc (diff)
downloadsyslinux-f4d1f2e18fa3b255acfe1802f50e9beca6a60a3d.tar.gz
syslinux-f4d1f2e18fa3b255acfe1802f50e9beca6a60a3d.tar.xz
syslinux-f4d1f2e18fa3b255acfe1802f50e9beca6a60a3d.zip
A lot more work on extlinux. Should have most of the pieces now;
just missing some initialization code, and, of course, debugging.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6a355393..1e3a1919 100644
--- a/Makefile
+++ b/Makefile
@@ -59,6 +59,7 @@ SOURCES = $(CSRC) *.h $(NASMSRC) *.inc
# mingw suite installed
BTARGET = kwdhash.gen version.gen ldlinux.bss ldlinux.sys ldlinux.bin \
pxelinux.0 mbr.bin isolinux.bin isolinux-debug.bin \
+ extlinux.bin extlinux.bss extlinux.sys \
bootsect_bin.c ldlinux_bin.c
# libsyslinux.a $(LIB_SO)
BOBJECTS = $(BTARGET) dos/syslinux.com win32/syslinux.exe memdisk/memdisk
@@ -132,6 +133,10 @@ isolinux.bin: isolinux.asm kwdhash.gen version.gen checksumiso.pl
-l isolinux.lst -o isolinux.bin isolinux.asm
$(PERL) checksumiso.pl isolinux.bin
+extlinux.bin: extlinux.asm kwdhash.gen version.gen
+ $(NASM) -f bin -DDATE_STR="'$(DATE)'" -DHEXDATE="$(HEXDATE)" \
+ -l extlinux.lst -o extlinux.bin extlinux.asm
+
pxelinux.0: pxelinux.bin
cp pxelinux.bin pxelinux.0
@@ -143,10 +148,16 @@ isolinux-debug.bin: isolinux.asm kwdhash.gen version.gen checksumiso.pl
$(PERL) checksumiso.pl $@
ldlinux.bss: ldlinux.bin
- dd if=ldlinux.bin of=ldlinux.bss bs=512 count=1
+ dd if=$< of=$@ bs=512 count=1
ldlinux.sys: ldlinux.bin
- dd if=ldlinux.bin of=ldlinux.sys bs=512 skip=1
+ dd if=$< of=$@ bs=512 skip=1
+
+extlinux.bss: extlinux.bin
+ dd if=$< of=$@ bs=512 count=1
+
+extlinux.sys: extlinux.bin
+ dd if=$< of=$@ bs=512 skip=1
mbr.bin: mbr.asm
$(NASM) -f bin -l mbr.lst -o mbr.bin mbr.asm