Fix dependency issue introduced by commit 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8
PATCH 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. Building recurse-all target first fixes the problem.
--- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile +1 -1
@@ -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
Signature · 1 line
1.7.3.4
Quoted 4 lines · 陳韋任
Commit
7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8adds basic version of bridge helper, but introduces dependency issue at the same time. While building target xxx-linux-user,qemu-bridge-helper.cneedsconfig-host.hwhich 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
Quoted 9 lines · Stefan Hajnoczi
Quoted 4 lines · 陳韋任
Commit
7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8adds basic version of bridge helper, but introduces dependency issue at the same time. While building target xxx-linux-user,qemu-bridge-helper.cneedsconfig-host.hwhich 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
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