summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFam Zheng2014-08-07 04:34:41 +0200
committerMichael Tokarev2014-08-08 22:09:17 +0200
commit169a24aea4f287739797a8b15565b9b5e59e53be (patch)
treecda4c0cc323eb22c8f58cfd9d7c199a02ec2182a /Makefile
parentpo: Add Chinese translation (diff)
downloadqemu-169a24aea4f287739797a8b15565b9b5e59e53be.tar.gz
qemu-169a24aea4f287739797a8b15565b9b5e59e53be.tar.xz
qemu-169a24aea4f287739797a8b15565b9b5e59e53be.zip
build-sys: Move qapi-{types, visit, event}.o into util-obj-y
These three objects are repeated in multiple times in Makefiles. Let's just add them to libqemuutil.a, and don't list explicitly elsewhere. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d6b9dc1ebe..c5751b879a 100644
--- a/Makefile
+++ b/Makefile
@@ -202,7 +202,7 @@ Makefile: $(version-obj-y) $(version-lobj-y)
# Build libraries
libqemustub.a: $(stub-obj-y)
-libqemuutil.a: $(util-obj-y) qapi-types.o qapi-visit.o qapi-event.o
+libqemuutil.a: $(util-obj-y)
block-modules = $(foreach o,$(block-obj-m),"$(basename $(subst /,-,$o))",) NULL
util/module.o-cflags = -D'CONFIG_BLOCK_MODULES=$(block-modules)'