The attached patch modifies 'clean' targets in the above-mentioned directories in qemu-kvm-0.11.0 to remove other generated files which are not removed now by `make clean'. It also adds bios-clean target to kvm/vgabios directory, similar to kvb/bios. Maybe it should be done in dist-clean instead -- it looks like a better-suite target. Right now distclean does the same as clean. In case it's of any importance: Signed-Off-By: Michael Tokarev <mjt@xxxxxxxxxx> Thanks. /mjt
--- qemu-kvm-0.11.0/kvm/bios/Makefile.in.orig 2009-09-23 11:30:02.000000000 +0400 +++ qemu-kvm-0.11.0/kvm/bios/Makefile.in 2009-10-23 16:49:10.342987657 +0400 @@ -64,6 +64,7 @@ @RMCOMMAND@ *.o *.a *.s _rombios*_.c rombios*.txt rombios*.sym @RMCOMMAND@ usage biossums rombios16.bin @RMCOMMAND@ rombios32.bin rombios32.out + @RMCOMMAND@ acpi-*.aml dist-clean: clean @RMCOMMAND@ Makefile --- qemu-kvm-0.11.0/kvm/vgabios/Makefile.orig 2009-09-23 11:30:02.000000000 +0400 +++ qemu-kvm-0.11.0/kvm/vgabios/Makefile 2009-10-23 16:51:45.505875553 +0400 @@ -22,11 +22,14 @@ cirrus-bios: vgabios-cirrus.bin vgabios-cirrus.debug.bin clean: - /bin/rm -f biossums vbetables-gen vbetables.h *.o *.s *.ld86 \ + rm -f biossums vbetables-gen vbetables.h *.o *.s *.ld86 \ temp.awk.* vgabios*.orig _vgabios_* _vgabios-debug_* core vgabios*.bin vgabios*.txt $(RELEASE).bin *.bak dist-clean: clean +bios-clean: + rm -f VGABIOS-*.bin + release: VGABIOS_VERS=\"-DVGABIOS_VERS=\\\"$(RELVERS)\\\"\" make bios cirrus-bios /bin/rm -f *.o *.s *.ld86 \