lib/makefile: move vhost_user.c into lib/virtio directory
'make clean' can't remove compiled file in virtio_user directory. So I move vhost_user.c into lib/virtio directory and fix it. Change-Id: Ic7d41709d3a5d6cf2333c4deee285800b414a3fb Signed-off-by: WANGHAILIANG <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2750 Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Community-CI: Mellanox Build Bot Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
c01fe4c530
commit
90be351f87
@ -38,8 +38,7 @@ SO_VER := 2
|
||||
SO_MINOR := 0
|
||||
|
||||
CFLAGS += $(ENV_CFLAGS)
|
||||
C_SRCS = virtio.c virtio_user.c virtio_pci.c
|
||||
C_SRCS += virtio_user/vhost_user.c
|
||||
C_SRCS = virtio.c virtio_user.c virtio_pci.c vhost_user.c
|
||||
LIBNAME = virtio
|
||||
|
||||
SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_virtio.map)
|
||||
|
@ -33,7 +33,7 @@
|
||||
|
||||
#include "spdk/stdinc.h"
|
||||
|
||||
#include "vhost.h"
|
||||
#include "vhost_user.h"
|
||||
|
||||
#include "spdk/string.h"
|
||||
#include "spdk_internal/vhost_user.h"
|
@ -35,7 +35,7 @@
|
||||
|
||||
#include <sys/eventfd.h>
|
||||
|
||||
#include "virtio_user/vhost.h"
|
||||
#include "vhost_user.h"
|
||||
#include "spdk/string.h"
|
||||
#include "spdk/config.h"
|
||||
|
||||
|
@ -25,7 +25,7 @@ lib/rte_vhost/socket
|
||||
lib/rte_vhost/vhost
|
||||
lib/rte_vhost/vhost_user
|
||||
lib/vhost/vhost_nvme
|
||||
lib/virtio/virtio_user/vhost_user
|
||||
lib/virtio/vhost_user
|
||||
|
||||
# Cuse related files, enable when ready.
|
||||
lib/nvme/nvme_cuse
|
||||
|
Loading…
Reference in New Issue
Block a user