]> git.proxmox.com Git - qemu.git/commitdiff
build: include qapi-generated/ files in qga/Makefile.objs
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 11 Jul 2012 14:40:20 +0000 (16:40 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 28 Jul 2012 09:15:29 +0000 (09:15 +0000)
No reason to leave them out, and it will ensure that the dependencies
are picked up.  Later we can perhaps move the files to another
directory to avoid ../ usage.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Makefile
qga/Makefile.objs

index ab82ef3dcb054496c869d4180b5a3e4c0d414b0b..a20050346aeac243fb3cc0d2de7e4d7ad05460e4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -206,7 +206,7 @@ QGALIB_GEN=$(addprefix qapi-generated/, qga-qapi-types.h qga-qapi-visit.h qga-qm
 $(QGALIB_OBJ): $(QGALIB_GEN)
 $(qga-obj-y) qemu-ga.o: $(QGALIB_GEN)
 
-qemu-ga$(EXESUF): qemu-ga.o $(qga-obj-y) $(tools-obj-y) $(qapi-obj-y) $(qobject-obj-y) $(version-obj-y) $(QGALIB_OBJ)
+qemu-ga$(EXESUF): qemu-ga.o $(qga-obj-y) $(tools-obj-y) $(qapi-obj-y) $(qobject-obj-y) $(version-obj-y)
 
 QEMULIBS=libhw32 libhw64 libuser libdis libdis-user
 
index 6a4d84343687d4e05ef50dee6ca0dc9bba2dd950..b54b9b12f0f33067cbb6b0f64f49fdee3769b605 100644 (file)
@@ -1,3 +1,5 @@
 qga-obj-y = commands.o guest-agent-command-state.o
 qga-obj-$(CONFIG_POSIX) += commands-posix.o channel-posix.o
 qga-obj-$(CONFIG_WIN32) += commands-win32.o channel-win32.o service-win32.o
+qga-obj-y += ../qapi-generated/qga-qapi-types.o ../qapi-generated/qga-qapi-visit.o
+qga-obj-y += ../qapi-generated/qga-qmp-marshal.o