qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 25/27] build-sys: fix libvhost-user.a build


From: Philippe Mathieu-Daudé
Subject: Re: [Qemu-devel] [PATCH 25/27] build-sys: fix libvhost-user.a build
Date: Tue, 12 Sep 2017 13:43:53 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 08/23/2017 01:20 PM, Marc-André Lureau wrote:
And actually link to it from vhost-user-bridge.

Signed-off-by: Marc-André Lureau <address@hidden>

Reviewed-by: Philippe Mathieu-Daudé <address@hidden>

---
  Makefile               | 3 ++-
  tests/Makefile.include | 2 +-
  2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 81447b1f08..654b47b9d9 100644
--- a/Makefile
+++ b/Makefile
@@ -345,7 +345,7 @@ dtc/%:
        mkdir -p $@
$(SUBDIR_RULES): libqemuutil.a libqemustub.a $(common-obj-y) $(chardev-obj-y) \
-       $(qom-obj-y) $(crypto-aes-obj-$(CONFIG_USER_ONLY))
+       $(qom-obj-y) $(crypto-aes-obj-$(CONFIG_USER_ONLY)) libvhost-user.a
ROMSUBDIR_RULES=$(patsubst %,romsubdir-%, $(ROMS))
  # Only keep -O and -g cflags
@@ -366,6 +366,7 @@ Makefile: $(version-obj-y)
libqemustub.a: $(stub-obj-y)
  libqemuutil.a: $(util-obj-y) $(trace-obj-y)
+libvhost-user.a: $(libvhost-user-obj-y)
###################################################################### diff --git a/tests/Makefile.include b/tests/Makefile.include
index 37c1bed683..1ca88ef9d2 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -786,7 +786,7 @@ tests/test-filter-redirector$(EXESUF): 
tests/test-filter-redirector.o $(qtest-ob
  tests/test-x86-cpuid-compat$(EXESUF): tests/test-x86-cpuid-compat.o 
$(qtest-obj-y)
  tests/ivshmem-test$(EXESUF): tests/ivshmem-test.o 
contrib/ivshmem-server/ivshmem-server.o $(libqos-pc-obj-y) $(libqos-spapr-obj-y)
  tests/megasas-test$(EXESUF): tests/megasas-test.o $(libqos-spapr-obj-y) 
$(libqos-pc-obj-y)
-tests/vhost-user-bridge$(EXESUF): tests/vhost-user-bridge.o 
contrib/libvhost-user/libvhost-user.o $(test-util-obj-y)
+tests/vhost-user-bridge$(EXESUF): tests/vhost-user-bridge.o $(test-util-obj-y) 
libvhost-user.a
  tests/test-uuid$(EXESUF): tests/test-uuid.o $(test-util-obj-y)
  tests/test-arm-mptimer$(EXESUF): tests/test-arm-mptimer.o
  tests/test-qapi-util$(EXESUF): tests/test-qapi-util.o $(test-util-obj-y)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]