]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[makefile] Reduce verbosity of various NON_AUTO_MEDIA rules
authorMichael Brown <mcb30@etherboot.org>
Fri, 10 Oct 2008 02:57:31 +0000 (03:57 +0100)
committerMichael Brown <mcb30@etherboot.org>
Fri, 10 Oct 2008 02:57:31 +0000 (03:57 +0100)
src/arch/i386/Makefile
src/arch/i386/Makefile.pcbios
src/util/geniso

index 972526136e6f04abb4430cb7fd3a5dda25480431..1959fbfd84dbe2583987895ccada99fa9be746f6 100644 (file)
@@ -88,14 +88,16 @@ include arch/i386/Makefile.$(PLATFORM)
 # rule to write disk images to /dev/fd0
 NON_AUTO_MEDIA += fd0
 %fd0 : %dsk
-       dd if=$< bs=512 conv=sync of=/dev/fd0
-       sync
+       $(QM)$(ECHO) "  [DD] $@"
+       $(Q)dd if=$< bs=512 conv=sync of=/dev/fd0
+       $(Q)sync
 
 # rule to create padded disk images
 NON_AUTO_MEDIA += pdsk
 %pdsk : %dsk
-       cp $< $@
-       $(PERL) ./util/dskpad.pl $@
+       $(QM)$(ECHO) "  [DSKPAD] $@"
+       $(Q)cp $< $@
+       $(Q)$(PERL) ./util/dskpad.pl $@
 
 # Add NON_AUTO_MEDIA to the media list, so that they show up in the
 # output of "make"
index 4afc496ce6e9b5e600a70fb70522afcc861b8580..a93861abde38a76284449404c5695d2eee94d6f0 100644 (file)
@@ -29,21 +29,26 @@ MEDIA               += exe
 # rule to make a non-emulation ISO boot image
 NON_AUTO_MEDIA += iso
 %iso:  %lkrn util/geniso
-       ISOLINUX_BIN=$(ISOLINUX_BIN) bash util/geniso $@ $<
+       $(QM)$(ECHO) "  [GENISO] $@"
+       $(Q)ISOLINUX_BIN=$(ISOLINUX_BIN) bash util/geniso $@ $<
 
 # rule to make a floppy emulation ISO boot image
 NON_AUTO_MEDIA += liso
 %liso: %lkrn util/genliso
-       bash util/genliso $@ $<
+       $(QM)$(ECHO) "  [GENLISO] $@"
+       $(Q)bash util/genliso $@ $<
 
 # Special target for building Master Boot Record binary
 $(BIN)/mbr.bin : $(BIN)/mbr.o
-       $(OBJCOPY) -O binary $< $@
+       $(QM)$(ECHO) "  [OBJCOPY] $@"
+       $(Q)$(OBJCOPY) -O binary $< $@
 
 # rule to make a USB disk image
 $(BIN)/usbdisk.bin : $(BIN)/usbdisk.o
-       $(OBJCOPY) -O binary $< $@
+       $(QM)$(ECHO) "  [OBJCOPY] $@"
+       $(Q)$(OBJCOPY) -O binary $< $@
 
 NON_AUTO_MEDIA += usb
 %usb: $(BIN)/usbdisk.bin %hd
-       cat $^ > $@
+       $(QM)$(ECHO) "  [FINISH] $@"
+       $(Q)cat $^ > $@
index 7642ed368b535df22445672320fe77cf08dbf85e..d7ddbd2b656151deaf0a24ed845e2ce3853aac7a 100755 (executable)
@@ -52,5 +52,5 @@ do
        echo "" KERNEL $g
        cp -p $f $dir/$g
 done >> $cfg
-mkisofs -l -o $out -c boot.cat -b isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table $dir
+mkisofs -q -l -o $out -c boot.cat -b isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table $dir
 rm -fr $dir