vhost: link with Linux-only libraries by default
vhost supports only Linux, so there's no need to check OS inside vhost Makefiles. Change-Id: Ia7129200ee4cb8db898552a8a990f6fab84f8711 Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/392671 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
236f84dae7
commit
1c54773979
@ -45,11 +45,7 @@ C_SRCS := vhost.c
|
|||||||
SPDK_LIB_LIST = event_bdev event_copy event_net event_scsi event_vhost
|
SPDK_LIB_LIST = event_bdev event_copy event_net event_scsi event_vhost
|
||||||
SPDK_LIB_LIST += jsonrpc json rpc bdev_rpc bdev scsi net copy trace conf
|
SPDK_LIB_LIST += jsonrpc json rpc bdev_rpc bdev scsi net copy trace conf
|
||||||
SPDK_LIB_LIST += util log log_rpc event app_rpc
|
SPDK_LIB_LIST += util log log_rpc event app_rpc
|
||||||
SPDK_LIB_LIST += vhost rte_vhost
|
SPDK_LIB_LIST += vhost rte_vhost event_nbd nbd
|
||||||
|
|
||||||
ifeq ($(OS),Linux)
|
|
||||||
SPDK_LIB_LIST += event_nbd nbd
|
|
||||||
endif
|
|
||||||
|
|
||||||
LIBS += $(BLOCKDEV_MODULES_LINKER_ARGS) \
|
LIBS += $(BLOCKDEV_MODULES_LINKER_ARGS) \
|
||||||
$(COPY_MODULES_LINKER_ARGS)
|
$(COPY_MODULES_LINKER_ARGS)
|
||||||
|
Loading…
Reference in New Issue
Block a user