aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-01-17 01:14:57 -0500
committerH. Peter Anvin <hpa@zytor.com>2008-01-17 01:30:01 -0500
commit8e0e6580eca67b69007a93d05ffa4f57ea6a0b28 (patch)
tree896d1b4b68c2253bc6ea32b9a814eb672ed67e41 /Makefile
parent913407066687306f9b5f51e0a649989888d1cebb (diff)
downloadsyslinux.git-8e0e6580eca67b69007a93d05ffa4f57ea6a0b28.tar.gz
syslinux.git-8e0e6580eca67b69007a93d05ffa4f57ea6a0b28.tar.xz
syslinux.git-8e0e6580eca67b69007a93d05ffa4f57ea6a0b28.zip
ISOLINUX: fix booting when mastered with non-mkisofs toolssyslinux-3.61-pre2
When we are *not* mastered with mkisofs, we depend on running the checksumiso.pl script, in order to create a default boot info table. Due to the Makefile changes in 3.50 (commit 9e3d217ee3869e4f4ddb1466621c079e14754660) that hasn't happened since 3.50-pre23. Make it work now.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5962e958..9fddb8a9 100644
--- a/Makefile
+++ b/Makefile
@@ -144,7 +144,15 @@ version.h: version version.pl
kwdhash.gen: keywords genhash.pl
$(PERL) genhash.pl < keywords > kwdhash.gen
-# Standard rule for {ldlinux,pxelinux,isolinux,isolinux-debug,extlinux}.bin
+# Standard rule for {isolinux,isolinux-debug}.bin
+iso%.bin: iso%.asm kwdhash.gen version.gen
+ $(NASM) $(NASMOPT) -f bin -DDATE_STR="'$(DATE)'" -DHEXDATE="$(HEXDATE)" \
+ -DMAP=$(@:.bin=.map) -l $(@:.bin=.lsr) -o $@ $<
+ $(PERL) lstadjust.pl $(@:.bin=.lsr) $(@:.bin=.map) $(@:.bin=.lst)
+ $(PERL) checksumiso.pl $@
+ $(PERL) checkov.pl $(@:.bin=.map) $@
+
+# Standard rule for {ldlinux,pxelinux,extlinux}.bin
%.bin: %.asm kwdhash.gen version.gen
$(NASM) $(NASMOPT) -f bin -DDATE_STR="'$(DATE)'" -DHEXDATE="$(HEXDATE)" \
-DMAP=$(@:.bin=.map) -l $(@:.bin=.lsr) -o $@ $<