Skip to contentSkip to conversation

clean targets for kvm/{bios,vgabios}/

PATCH New Michael Tokarev 1 participant 1 message Oct 23, 2009 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clean targets for kvm/{bios,vgabios}/

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:

Thanks.

/mjt

kvm/bios/Makefile.in renamed from kvm/bios/Makefile.in.orig +1 -0
@@ -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
kvm/vgabios/Makefile renamed from kvm/vgabios/Makefile.orig +4 -1
@@ -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 \