diff options
author | Avi Kivity | 2011-12-27 15:02:16 +0100 |
---|---|---|
committer | Anthony Liguori | 2011-12-27 16:28:58 +0100 |
commit | 8d3bc5178fbc06cdd89c064ae8f44e77c503e91e (patch) | |
tree | 5a636844be70c13422856569e90f9e487141a5c5 /hw/pl110.c | |
parent | Merge remote-tracking branch 'aneesh/for-upstream' into staging (diff) | |
download | qemu-8d3bc5178fbc06cdd89c064ae8f44e77c503e91e.tar.gz qemu-8d3bc5178fbc06cdd89c064ae8f44e77c503e91e.tar.xz qemu-8d3bc5178fbc06cdd89c064ae8f44e77c503e91e.zip |
Fix qapi code generation wrt parallel build
Make's multiple output syntax
x.c x.h: x.template
gen < x.template
actually invokes the command once for x.c and once for x.h (with differing $@
in each invocation). During a parallel build, the two commands may be invoked
in parallel; this opens up a race, where the second invocation trashes a file
supposedly produced during the first, and now in use by a dependent command.
The various qapi code generators are susceptible to this; fix by making them
generate just one file per invocation.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pl110.c')
0 files changed, 0 insertions, 0 deletions