[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/9] Makefile: Avoid explicit list of directories in
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 1/9] Makefile: Avoid explicit list of directories in clean target |
Date: |
Wed, 15 Aug 2012 16:08:56 +0100 |
From: Peter Maydell <address@hidden>
Avoid having an explicit list of directories in the 'clean'
target by using 'find' to remove all .o and .d files instead.
Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
Makefile | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index d736ea5..2964d5c 100644
--- a/Makefile
+++ b/Makefile
@@ -214,13 +214,10 @@ clean:
# avoid old build problems by removing potentially incorrect old files
rm -f config.mak op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h
gen-op-arm.h
rm -f qemu-options.def
- rm -f *.o *.d *.a *.lo $(TOOLS) $(HELPERS-y) qemu-ga TAGS cscope.*
*.pod *~ */*~
+ find . -name '*.[od]' -exec rm -f {} +
+ rm -f *.a *.lo $(TOOLS) $(HELPERS-y) qemu-ga TAGS cscope.* *.pod *~ */*~
rm -Rf .libs
- rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d block/*.o block/*.d
net/*.o net/*.d fsdev/*.o fsdev/*.d ui/*.o ui/*.d qapi/*.o qapi/*.d qga/*.o
qga/*.d
- rm -f qom/*.o qom/*.d libuser/qom/*.o libuser/qom/*.d
- rm -f hw/usb/*.o hw/usb/*.d hw/*.o hw/*.d
rm -f qemu-img-cmds.h
- rm -f trace/*.o trace/*.d
rm -f trace-dtrace.dtrace trace-dtrace.dtrace-timestamp
@# May not be present in GENERATED_HEADERS
rm -f trace-dtrace.h trace-dtrace.h-timestamp
--
1.7.10.4
- [Qemu-devel] [PULL 0/9 for-1.2] Trivial patches for 11 to 15 August 2012, Stefan Hajnoczi, 2012/08/15
- [Qemu-devel] [PATCH 1/9] Makefile: Avoid explicit list of directories in clean target,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 4/9] trace: Fix "Qemu" -> "QEMU", Stefan Hajnoczi, 2012/08/15
- [Qemu-devel] [PATCH 2/9] ehci: fix assertion typo, Stefan Hajnoczi, 2012/08/15
- [Qemu-devel] [PATCH 3/9] cputlb.c: Fix out of date comment, Stefan Hajnoczi, 2012/08/15
- [Qemu-devel] [PATCH 5/9] docs: Fix spelling (propery -> property), Stefan Hajnoczi, 2012/08/15
- [Qemu-devel] [PATCH 6/9] Spelling fix in comment (peripherans -> peripherals), Stefan Hajnoczi, 2012/08/15
- [Qemu-devel] [PATCH 7/9] framebuffer: Fix spelling in comment (leight -> height), Stefan Hajnoczi, 2012/08/15
- [Qemu-devel] [PATCH 8/9] iov_send_recv(): Handle zero bytes case even if OS does not, Stefan Hajnoczi, 2012/08/15
- [Qemu-devel] [PATCH 9/9] ivshmem, qdev-monitor: fix order of qerror parameters, Stefan Hajnoczi, 2012/08/15
- Re: [Qemu-devel] [PULL 0/9 for-1.2] Trivial patches for 11 to 15 August 2012, Anthony Liguori, 2012/08/15