From 169a24aea4f287739797a8b15565b9b5e59e53be Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Thu, 7 Aug 2014 10:34:41 +0800 Subject: 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 Signed-off-by: Michael Tokarev --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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)' -- cgit v1.2.1