[Etherboot-developers] no floppy drive on build system
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: <Gee...@xs...> - 2003-04-20 11:04:58
|
Hello,
On the computer where I build the etherboot testfloppies,
I don't have a (working) floppy drive.
To avoid waiting on the anonying time-out message,=20
I modified a Makefile:
RCS file: /cvsroot/etherboot/etherboot/etherboot-5.1/src/arch/i386/Makefile=
,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- src/arch/i386/Makefile 9 Apr 2003 09:54:23 -0000 1.20
+++ src/arch/i386/Makefile 20 Apr 2003 10:38:58 -0000
@@ -274,3 +274,14 @@
%.zfd0: %.zimg $(DISKLOADER) $(START16)
cat $(DISKLOADER) $(START16) $< > /dev/fd0
+
+# rules to write the .img/.zimg image as a floppy image
+# and put that image another way on a floppy disk
+# Give the directory name, e.g. bin/via-rhine-6105.fi as the target.
+%.fi: %.img $(DISKLOADER) $(START16)
+ cat $(DISKLOADER) $(START16) $< > $@
+
+%.zfi: %.zimg $(DISKLOADER) $(START16)
+ cat $(DISKLOADER) $(START16) $< > $@
+
+# end of Makefile
Now I just type=20
make bin/my-nic.fi
and can continue directly with my work.
When it is usefull for me, then it is probably usefull for others.
Could some please apply the patch?
Geert Stappers
|