Fix dependency issue introduced by commit 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8
PATCH v2 1/1 Fix dependency issue introduced by commit 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8
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. Explicitly declaring the dependency for the helper in the Makefile.
---
v2: Explicitly declaring the dependency for the helper instead of relying on
ordering side-effects.
Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile +1 -1
@@ -36,7 +36,7 @@ $(call set-vpath, $(SRC_PATH):$(SRC_PATH)/hw) LIBS+=-lz $(LIBS_TOOLS) -HELPERS-$(CONFIG_LINUX) = qemu-bridge-helper$(EXESUF) +HELPERS-$(CONFIG_LINUX) : config-host.h qemu-bridge-helper$(EXESUF) ifdef BUILD_DOCS DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8 QMP/qmp-commands.txt
Signature · 1 line
1.7.3.4
Makefile $(call set-vpath, $(SRC_PATH):$(SRC_PATH)/hw) · line 39
Quoted 3 lines · 陳韋任
Makefile +1
-1-HELPERS-$(CONFIG_LINUX) = qemu-bridge-helper$(EXESUF) +HELPERS-$(CONFIG_LINUX) : config-host.h qemu-bridge-helper$(EXESUF)
This is not declaring the dependency, it is declaring a target.
The rule should be like
qemu-bridge-helper.o: config-host.h
Paolo
Am 22.02.2012 08:27, schrieb Paolo Bonzini:
Quoted 10 lines · 陳韋任
Makefile $(call set-vpath, $(SRC_PATH):$(SRC_PATH)/hw) · line 39
Quoted 3 lines
Makefile +1
-1-HELPERS-$(CONFIG_LINUX) = qemu-bridge-helper$(EXESUF) +HELPERS-$(CONFIG_LINUX) : config-host.h qemu-bridge-helper$(EXESUF)This is not declaring the dependency, it is declaring a target.
The rule should be like
qemu-bridge-helper.o:
config-host.h
...which Peter has already done:
http://patchwork.ozlabs.org/patch/142306/
Please coordinate with him.
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Hi Stefan,
Peter already fix this issue [1]. Please ignore my patch, thanks!
Regards,
chenwj
[1] http://patchwork.ozlabs.org/patch/142306/
Signature · 5 lines
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
Quoted 5 lines
...which Peter has already done:
http://patchwork.ozlabs.org/patch/142306/
Please coordinate with him.
O.K., I already told Stefan to ignore my patch. :)
Thanks!
Regards,
chenwj
Signature · 5 lines
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