mirror of
https://git.proxmox.com/git/qemu
synced 2025-10-26 03:35:28 +00:00
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>
|
||
|---|---|---|
| .. | ||
| kvm | ||
| analyse-9p-simpletrace.py | ||
| checkpatch.pl | ||
| create_config | ||
| feature_to_c.sh | ||
| get_maintainer.pl | ||
| hxtool | ||
| make_device_config.sh | ||
| ordereddict.py | ||
| qapi-commands.py | ||
| qapi-types.py | ||
| qapi-visit.py | ||
| qapi.py | ||
| qemu-binfmt-conf.sh | ||
| refresh-pxe-roms.sh | ||
| signrom.sh | ||
| simpletrace.py | ||
| texi2pod.pl | ||
| tracetool | ||
| update-linux-headers.sh | ||