[syslinux] isohybrid.pl

Geert Stappers stappers at stappers.nl
Tue May 4 01:57:49 PDT 2010


Op 20100504 om 12:10 schreef P J P:
> 
> Please see: http://pjp.dgplug.org/tools/syslinux-3.86-isohybrid.patch.8
> 

For "compatebility tests" is it good
to have the original Perl script availble:

diff --git a/utils/Makefile b/utils/Makefile
index 5b2cb78..2696b92 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -21,6 +21,7 @@ CFLAGS   = $(GCCWARN) -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
 LDFLAGS  = -O2 -s
 
 TARGETS	 = mkdiskimage isohybrid gethostip
+TARGETS	 += isohybrid.pl  # about to be obsoleted
 ASIS     = keytab-lilo lss16toppm md5pass ppmtolss16 sha1pass syslinux2ansi \
 	   pxelinux-options
 
@@ -36,6 +37,12 @@ mkdiskimage: mkdiskimage.in ../mbr/mbr.bin bin2hex.pl
 	$(PERL) bin2hex.pl < ../mbr/mbr.bin | cat mkdiskimage.in - > $@
 	chmod a+x $@
 
+# for the time being ...
+isohybrid.pl: isohybrid.in $(ISOHDPFX) bin2hex.pl
+	cp -f isohybrid.in $@
+	for f in $(ISOHDPFX) ; do $(PERL) bin2hex.pl < $$f >> $@ ; done
+	chmod a+x $@
+
 isohdpfx.c: $(ISOHDPFX) bin2Carray.pl isohdpfx.head isohdpfx.tail
 	cp -f isohdpfx.head $@
 	for f in $(ISOHDPFX); do $(PERL) bin2Carray.pl < $$f >> $@ ; done


Groeten
Geert Stappers




More information about the Syslinux mailing list