qemu/qga
Dunrong Huang 54c2e50205 build: Fix linking failure for qemu-ga
This patch will fix the following linking failed:

  LINK  qemu-ga
gcc: error: qga/../qapi-generated/qga-qapi-types.o: No such file or directory
gcc: error: qga/../qapi-generated/qga-qapi-visit.o: No such file or directory
gcc: error: qga/../qapi-generated/qga-qmp-marshal.o: No such file or directory
make: *** [qemu-ga] Error 1

Commit cdc976b040 changes the
dependencies of qemu-ga to depend "../qapi-generated/qga-qapi-types.o",
which will be expanded to "qga/../qapi-generated/qga-qapi-types.o" when
building qemu-ga.

In top-level Makefile, we defined a target "qapi-generated/qga-qapi-types.o"
which was not equal to "qga/../qapi-generated/qga-qapi-types" in the
Makefile world. So "No such file" error happened when qemu-ga was linking.

The easy approach to fix is to change the target name to
"qga/../qapi-generated/qga-qapi-types.o", but it is weird.

So, in order to solve it more graciously, I move those temporary
files(qga-qapi-*.{c,h}) qemu-ga depends on to qemu-ga/qapi-generated,
this makes dependencies more clearer.

Signed-off-by: Dunrong Huang <riegamaths@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2012-07-29 08:41:53 +00:00
..
channel-posix.c qemu-ga: Implement alternative to O_ASYNC 2012-05-01 10:49:23 +00:00
channel-win32.c
channel.h
commands-posix.c qemu-ga: add guest-fstrim command 2012-06-21 17:59:27 -05:00
commands-win32.c qemu-ga: add guest-fstrim command 2012-06-21 17:59:27 -05:00
commands.c qemu-ga: align versioning with QEMU_VERSION 2012-05-15 09:17:06 -05:00
guest-agent-command-state.c
guest-agent-core.h qemu-ga: align versioning with QEMU_VERSION 2012-05-15 09:17:06 -05:00
Makefile.objs build: Fix linking failure for qemu-ga 2012-07-29 08:41:53 +00:00
service-win32.c
service-win32.h