Signed-off-by: Piotr Jaroszyński <[email protected]>
---
src/arch/i386/Makefile | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/arch/i386/Makefile b/src/arch/i386/Makefile
index 840cc76..89d3626 100644
--- a/src/arch/i386/Makefile
+++ b/src/arch/i386/Makefile
@@ -106,12 +106,14 @@ include arch/i386/Makefile.$(PLATFORM)
# Some suffixes (e.g. %.fd0) are generated directly from other
# finished files (e.g. %.dsk), rather than having their own prefix.
+ifeq ($(findstring dsk, $(MEDIA)), dsk)
# rule to write disk images to /dev/fd0
NON_AUTO_MEDIA += fd0
%fd0 : %dsk
$(QM)$(ECHO) " [DD] $@"
$(Q)dd if=$< bs=512 conv=sync of=/dev/fd0
$(Q)sync
+endif
# Add NON_AUTO_MEDIA to the media list, so that they show up in the
# output of "make"
--
1.7.1
_______________________________________________
gPXE-devel mailing list
[email protected]
http://etherboot.org/mailman/listinfo/gpxe-devel