summaryrefslogtreecommitdiffstats
path: root/src/arch
diff options
context:
space:
mode:
authorMarty Connor2009-03-29 07:25:15 +0200
committerMichael Brown2009-08-02 12:04:13 +0200
commit96f4f96540b75d760e073bd02cd6273f0e50a4f6 (patch)
treed58a3648ac932cd390b55b5179b39c52d652fbee /src/arch
parent[rtl818x] Add driver for Realtek 8180/8185 wireless cards (diff)
downloadipxe-96f4f96540b75d760e073bd02cd6273f0e50a4f6.tar.gz
ipxe-96f4f96540b75d760e073bd02cd6273f0e50a4f6.tar.xz
ipxe-96f4f96540b75d760e073bd02cd6273f0e50a4f6.zip
[build] Add syslinux floppy image type .sdsk
We add a syslinux floppy disk type using parts of the genliso script. This floppy image cat be dd'ed to a physical floppy or used in instances where a virtual floppy with an mountable DOS filesystem is useful. We also modify the genliso script to only generate .liso images rather than creating images depending on how it is called. Signed-off-by: Michael Brown <mcb30@etherboot.org>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/i386/Makefile.pcbios6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/i386/Makefile.pcbios b/src/arch/i386/Makefile.pcbios
index b1854181..d4044567 100644
--- a/src/arch/i386/Makefile.pcbios
+++ b/src/arch/i386/Makefile.pcbios
@@ -45,6 +45,12 @@ NON_AUTO_MEDIA += liso
$(QM)$(ECHO) " [GENLISO] $@"
$(Q)bash util/genliso $@ $<
+# rule to make a syslinux floppy image (mountable, bootable)
+NON_AUTO_MEDIA += sdsk
+%sdsk: %lkrn util/gensdsk
+ $(QM)$(ECHO) " [GENSDSK] $@"
+ $(Q)bash util/gensdsk $@ $<
+
# Special target for building Master Boot Record binary
$(BIN)/mbr.bin : $(BIN)/mbr.o
$(QM)$(ECHO) " [OBJCOPY] $@"