* [Qemu-devel] [PATCH] Fix dependency issue introduced by commit 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8
@ 2012-02-21 10:12 陳韋任
2012-02-21 12:27 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
0 siblings, 1 reply; 3+ messages in thread
From: 陳韋任 @ 2012-02-21 10:12 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial
Commit 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8 adds basic version of bridge
helper, but introduces dependency issue at the same time. While building target
xxx-linux-user, qemu-bridge-helper.c needs config-host.h which is not generated
at the moment. Building recurse-all target first fixes the problem.
Signed-off-by: Chen Wei-Ren <chenwj@iis.sinica.edu.tw>
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index e66e885..618b306 100644
--- a/Makefile
+++ b/Makefile
@@ -79,7 +79,7 @@ defconfig:
-include config-all-devices.mak
-build-all: $(DOCS) $(TOOLS) $(HELPERS-y) recurse-all
+build-all: $(DOCS) $(TOOLS) recurse-all $(HELPERS-y)
config-host.h: config-host.h-timestamp
config-host.h-timestamp: config-host.mak
--
1.7.3.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [Qemu-trivial] [PATCH] Fix dependency issue introduced by commit 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8
2012-02-21 10:12 [Qemu-devel] [PATCH] Fix dependency issue introduced by commit 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8 陳韋任
@ 2012-02-21 12:27 ` Stefan Hajnoczi
2012-02-22 2:08 ` 陳韋任
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hajnoczi @ 2012-02-21 12:27 UTC (permalink / raw)
To: 陳韋任; +Cc: qemu-trivial, qemu-devel
On Tue, Feb 21, 2012 at 10:12 AM, 陳韋任 <chenwj@iis.sinica.edu.tw> wrote:
> Commit 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8 adds basic version of bridge
> helper, but introduces dependency issue at the same time. While building target
> xxx-linux-user, qemu-bridge-helper.c needs config-host.h which is not generated
> at the moment. Building recurse-all target first fixes the problem.
The build system should not rely on ordering side-effects. Instead,
please explicitly declare the dependency for the helper or see if the
dependency can be eliminated if it is inappropriate.
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [Qemu-trivial] [PATCH] Fix dependency issue introduced by commit 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8
2012-02-21 12:27 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
@ 2012-02-22 2:08 ` 陳韋任
0 siblings, 0 replies; 3+ messages in thread
From: 陳韋任 @ 2012-02-22 2:08 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: qemu-trivial, qemu-devel, 陳韋任
On Tue, Feb 21, 2012 at 12:27:26PM +0000, Stefan Hajnoczi wrote:
> On Tue, Feb 21, 2012 at 10:12 AM, 陳韋任 <chenwj@iis.sinica.edu.tw> wrote:
> > Commit 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8 adds basic version of bridge
> > helper, but introduces dependency issue at the same time. While building target
> > xxx-linux-user, qemu-bridge-helper.c needs config-host.h which is not generated
> > at the moment. Building recurse-all target first fixes the problem.
>
> The build system should not rely on ordering side-effects. Instead,
> please explicitly declare the dependency for the helper or see if the
> dependency can be eliminated if it is inappropriate.
O.K., since the dependency cannot be eliminated, I'll explicitly declare the
dependency for the helper.
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-22 2:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-21 10:12 [Qemu-devel] [PATCH] Fix dependency issue introduced by commit 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8 陳韋任
2012-02-21 12:27 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
2012-02-22 2:08 ` 陳韋任
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).