make: fix clean rule by removing build file in qom/
PATCH 1/1 make: fix clean rule by removing build file in qom/
Make clean does not clean the 'qom' directory, leaving *.o and *.d files. This patch fixes this.
--- Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Makefile +1 -0
@@ -217,6 +217,7 @@ clean: rm -f *.o *.d *.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 rm -f qemu-img-cmds.h rm -f trace/*.o trace/*.d rm -f trace.c trace.h trace.c-timestamp trace.h-timestamp
Signature · 1 line
tg: (a3b6181..) fix/make-clean (depends on: master)
Stefan Hajnoczi
AppliedQuoted 8 lines · Anthony PERARD
Make clean does not clean the 'qom' directory, leaving *.o and *.d files. This patch fixes this.
Signed-off-by Anthony PERARD <[email protected]>--- Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Quoted 1 line
tg: (a3b6181..) fix/make-clean (depends on: master)
What's this? I'm curious. First I thought it was a signature joke that I didn't get but I guess it's for some kind of commit tracking system?
Stefan
Quoted 5 lines · Stefan Hajnoczi
Quoted 2 lines
tg: (a3b6181..) fix/make-clean (depends on: master)
What's this? I'm curious. First I thought it was a signature joke that I didn't get but I guess it's for some kind of commit tracking system?
No, it is not. To prepare a patch (or patch set), I use a tool called topgit.
http://repo.or.cz/w/topgit.git
It creates one git branch per patch, and you can add as many dependence branch as you want. When you want to "rebase" a patch, topgit will merge with the depends.
Signature · 1 line
Anthony PERARD
Quoted 7 lines · Anthony PERARD
Quoted 5 lines · Stefan Hajnoczi
Quoted 2 lines
tg: (a3b6181..) fix/make-clean (depends on: master)
What's this? I'm curious. First I thought it was a signature joke that I didn't get but I guess it's for some kind of commit tracking system?
Quoted 7 lines
No, it is not. To prepare a patch (or patch set), I use a tool called topgit.
http://repo.or.cz/w/topgit.git
It creates one git branch per patch, and you can add as many dependence branch as you want. When you want to "rebase" a patch, topgit will merge with the depends.
Thanks for sharing!
Stefan