summaryrefslogtreecommitdiff
path: root/com32/hdt/Makefile
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-10-29 22:14:58 +0100
committerErwan Velu <erwan.velu@free.fr>2009-10-29 22:14:58 +0100
commitd4849a0057a73ac8041e7935dc5ed1598111dcc9 (patch)
treeb562cff83760a60340d07f496a48a5e3459bb662 /com32/hdt/Makefile
parent597475b65fd75a8a0b98b3668661f0f1a6e2754e (diff)
downloadsyslinux-d4849a0057a73ac8041e7935dc5ed1598111dcc9.tar.gz
hdt: Adding hdt.img.gz target
Impact: It's now possible to have a gzipped floppy image 'make hdt.img.gz' now generates a gzipped floppy image
Diffstat (limited to 'com32/hdt/Makefile')
-rw-r--r--com32/hdt/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/com32/hdt/Makefile b/com32/hdt/Makefile
index 65047485..1321b4ec 100644
--- a/com32/hdt/Makefile
+++ b/com32/hdt/Makefile
@@ -52,6 +52,10 @@ hdt.img: hdt.c32 $(FLOPPY_DIR)/hdt.cfg $(FLOPPY_DIR)/mtools.conf $(topdir)/mtool
@ [ -f $(PCI_IDS_FILE) ] && MTOOLSRC=$(PWD)/$(FLOPPY_DIR)/mtools.conf $(MCOPY) $(PCI_IDS_FILE) a: || printf "\nThe $(FLOPPY_DIR)/pci.ids file is missing and can be downloaded from http://pciids.sourceforge.net and put in\nthe ./com32/hdt/$(FLOPPY_DIR) directory of the extracted Syslinux source.\n\n"
MTOOLSRC=$(PWD)/$(FLOPPY_DIR)/mtools.conf $(MCOPY) $(FLOPPY_DIR)/hdt.cfg a:syslinux.cfg
+hdt.img.gz: hdt.img
+ rm -rf hdt.img.gz
+ $(GZIPPROG) -c hdt.img >hdt.img.gz
+
hdt.iso: hdt.c32 $(topdir)/core/isolinux.bin $(FLOPPY_DIR)/hdt.cfg
rm -rf $(ISO_DIR)
rm -f hdt.iso