diff mbox

[v2,1/9] build: add QAPI files to the tools

Message ID 1349103144-6827-2-git-send-email-pbonzini@redhat.com
State New
Headers show

Commit Message

Paolo Bonzini Oct. 1, 2012, 2:52 p.m. UTC
We need them because qemu-sockets will soon be using SocketAddress.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 Makefile.objs | 3 ++-
 1 file modificato, 2 inserzioni(+). 1 rimozione(-)

Comments

Luiz Capitulino Oct. 2, 2012, 12:31 p.m. UTC | #1
On Mon,  1 Oct 2012 16:52:16 +0200
Paolo Bonzini <pbonzini@redhat.com> wrote:

> We need them because qemu-sockets will soon be using SocketAddress.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Acked-by: Luiz Capitulino <lcapitulino@redhat.com>

> ---
>  Makefile.objs | 3 ++-
>  1 file modificato, 2 inserzioni(+). 1 rimozione(-)
> 
> diff --git a/Makefile.objs b/Makefile.objs
> index 4412757..03da150 100644
> --- a/Makefile.objs
> +++ b/Makefile.objs
> @@ -47,6 +47,7 @@ block-obj-y += $(coroutine-obj-y) $(qobject-obj-y) $(version-obj-y)
>  block-obj-$(CONFIG_POSIX) += posix-aio-compat.o
>  block-obj-$(CONFIG_LINUX_AIO) += linux-aio.o
>  block-obj-y += block/
> +block-obj-y += $(qapi-obj-y) qapi-types.o qapi-visit.o
>  
>  ifeq ($(CONFIG_VIRTIO)$(CONFIG_VIRTFS)$(CONFIG_PCI),yyy)
>  # Lots of the fsdev/9pcode is pulled in by vl.c via qemu_fsdev_add.
> @@ -241,9 +242,9 @@ QEMU_CFLAGS+=$(GLIB_CFLAGS)
>  nested-vars += \
>  	hw-obj-y \
>  	qga-obj-y \
> -	block-obj-y \
>  	qom-obj-y \
>  	qapi-obj-y \
> +	block-obj-y \
>  	user-obj-y \
>  	common-obj-y \
>  	extra-obj-y
diff mbox

Patch

diff --git a/Makefile.objs b/Makefile.objs
index 4412757..03da150 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -47,6 +47,7 @@  block-obj-y += $(coroutine-obj-y) $(qobject-obj-y) $(version-obj-y)
 block-obj-$(CONFIG_POSIX) += posix-aio-compat.o
 block-obj-$(CONFIG_LINUX_AIO) += linux-aio.o
 block-obj-y += block/
+block-obj-y += $(qapi-obj-y) qapi-types.o qapi-visit.o
 
 ifeq ($(CONFIG_VIRTIO)$(CONFIG_VIRTFS)$(CONFIG_PCI),yyy)
 # Lots of the fsdev/9pcode is pulled in by vl.c via qemu_fsdev_add.
@@ -241,9 +242,9 @@  QEMU_CFLAGS+=$(GLIB_CFLAGS)
 nested-vars += \
 	hw-obj-y \
 	qga-obj-y \
-	block-obj-y \
 	qom-obj-y \
 	qapi-obj-y \
+	block-obj-y \
 	user-obj-y \
 	common-obj-y \
 	extra-obj-y