]> Git Repo - qemu.git/commit - Makefile
trace: Fix user emulator dependency on trace objects
authorAndreas Färber <[email protected]>
Sun, 12 Sep 2010 15:21:36 +0000 (17:21 +0200)
committerBlue Swirl <[email protected]>
Tue, 21 Sep 2010 18:54:17 +0000 (18:54 +0000)
commit91f169004d9e9febbf9134c8fc068d6e04613b9c
tree22882b8d8d0d9df8338dd9cc05b4f531d7a6803b
parenta287916c712b0c57a97cd35c663c5e7ba061bc7e
trace: Fix user emulator dependency on trace objects

On a clean build, after generating trace.h, make would recurse into *-*-user
without a clue how to build ../trace.o (added to $(obj-y) in Makefile.target)
since its generation rule is in the main Makefile.
The softmmus are seemingly unaffected because the $(TOOLS), which each have
a dependency on $(trace-obj-y), are built first for the build-all target.

Add a dependency on $(trace-obj-y) for %-user, as done for the qemu-* tools.

Let's be paranoid and do the same for %-softmmu while at it, just in case
someone messes with $(TOOLS) or calls the Makefile target directly.

Signed-off-by: Andreas Färber <[email protected]>
Acked-by: Stefan Weil <[email protected]>
Cc: Stefan Hajnoczi <[email protected]>
Cc: Prerna Saxena <[email protected]>
Cc: Blue Swirl <[email protected]>
Cc: Anthony Liguori <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
Makefile
This page took 0.02558 seconds and 4 git commands to generate.