public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [trivial patch] clean targets for kvm/{bios,vgabios}/
@ 2009-10-23 12:58 Michael Tokarev
  0 siblings, 0 replies; only message in thread
From: Michael Tokarev @ 2009-10-23 12:58 UTC (permalink / raw)
  To: KVM list

[-- Attachment #1: Type: text/plain, Size: 481 bytes --]

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@tls.msk.ru>

Thanks.

/mjt

[-- Attachment #2: kvm-bios-vgabios-clean.diff --]
[-- Type: text/x-patch, Size: 1063 bytes --]

--- 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 \

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-23 12:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-23 12:58 [trivial patch] clean targets for kvm/{bios,vgabios}/ Michael Tokarev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox