qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH trivial] make: fix clean rule by removing build file in qom/
@ 2012-04-02 15:10 Anthony PERARD
  2012-04-03  8:56 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
  0 siblings, 1 reply; 4+ messages in thread
From: Anthony PERARD @ 2012-04-02 15:10 UTC (permalink / raw)
  To: qemu-trivial; +Cc: Anthony PERARD, QEMU-devel

Make clean does not clean the 'qom' directory, leaving *.o and *.d files. This
patch fixes this.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>

---
 Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 35c7a2a..a78f53d 100644
--- a/Makefile
+++ b/Makefile
@@ -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
-- 
tg: (a3b6181..) fix/make-clean (depends on: master)

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [Qemu-trivial] [PATCH trivial] make: fix clean rule by removing build file in qom/
  2012-04-02 15:10 [Qemu-devel] [PATCH trivial] make: fix clean rule by removing build file in qom/ Anthony PERARD
@ 2012-04-03  8:56 ` Stefan Hajnoczi
  2012-04-03 10:06   ` Anthony PERARD
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Hajnoczi @ 2012-04-03  8:56 UTC (permalink / raw)
  To: Anthony PERARD; +Cc: qemu-trivial, QEMU-devel

On Mon, Apr 02, 2012 at 04:10:39PM +0100, Anthony PERARD wrote:
> Make clean does not clean the 'qom' directory, leaving *.o and *.d files. This
> patch fixes this.
> 
> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
> 
> ---
>  Makefile |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches

> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [Qemu-trivial] [PATCH trivial] make: fix clean rule by removing build file in qom/
  2012-04-03  8:56 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
@ 2012-04-03 10:06   ` Anthony PERARD
  2012-04-03 10:10     ` Stefan Hajnoczi
  0 siblings, 1 reply; 4+ messages in thread
From: Anthony PERARD @ 2012-04-03 10:06 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: qemu-trivial, QEMU-devel

On Tue, Apr 3, 2012 at 09:56, Stefan Hajnoczi <stefanha@gmail.com> wrote:
>
>> 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.

-- 
Anthony PERARD

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [Qemu-trivial] [PATCH trivial] make: fix clean rule by removing build file in qom/
  2012-04-03 10:06   ` Anthony PERARD
@ 2012-04-03 10:10     ` Stefan Hajnoczi
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2012-04-03 10:10 UTC (permalink / raw)
  To: Anthony PERARD; +Cc: qemu-trivial, QEMU-devel

On Tue, Apr 03, 2012 at 11:06:45AM +0100, Anthony PERARD wrote:
> On Tue, Apr 3, 2012 at 09:56, Stefan Hajnoczi <stefanha@gmail.com> wrote:
> >
> >> 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.

Thanks for sharing!

Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-03 10:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-02 15:10 [Qemu-devel] [PATCH trivial] make: fix clean rule by removing build file in qom/ Anthony PERARD
2012-04-03  8:56 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
2012-04-03 10:06   ` Anthony PERARD
2012-04-03 10:10     ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).