qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] trace: fix Makefile dependencies
@ 2015-10-30  9:53 Stefan Hajnoczi
  2015-10-30  9:53 ` [Qemu-devel] [PATCH v2 1/2] trace: fix make foo-timestamp rules Stefan Hajnoczi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Stefan Hajnoczi @ 2015-10-30  9:53 UTC (permalink / raw)
  To: qemu-devel; +Cc: Lluís Vilanova, Stefan Hajnoczi, Markus Armbruster

v2:
 * Use find(1) to catch all tracetool *.py files [Lluís]

   Note: I used find -name instead of find -path for better POSIX compliance

Issues with trace/Makefile.objs:

1. Generated code is not recreated when patches modify scripts/tracetool/*.py.
   Typically such patches also modify trace/*.[ch] and the result is build
   failures when new C code compiles against stale generated code.

2. The timestamp mechanism used to avoid unnecessary rebuilding is broken, it
   currently requires two make invocations for a full build.

Stefan Hajnoczi (2):
  trace: fix make foo-timestamp rules
  trace: add make dependencies on tracetool source

 trace/Makefile.objs | 48 ++++++++++++++++++++++++++++--------------------
 1 file changed, 28 insertions(+), 20 deletions(-)

-- 
2.4.3

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

end of thread, other threads:[~2015-11-02 13:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-30  9:53 [Qemu-devel] [PATCH v2 0/2] trace: fix Makefile dependencies Stefan Hajnoczi
2015-10-30  9:53 ` [Qemu-devel] [PATCH v2 1/2] trace: fix make foo-timestamp rules Stefan Hajnoczi
2015-10-30  9:53 ` [Qemu-devel] [PATCH v2 2/2] trace: add make dependencies on tracetool source Stefan Hajnoczi
2015-10-30 19:31 ` [Qemu-devel] [PATCH v2 0/2] trace: fix Makefile dependencies Lluís Vilanova
2015-11-02 13:24 ` 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).