Don't build lib/cunit if tests are disabled
This makes it possible to build SPDK on a machine which doesn't have CUnit installed. Change-Id: Icb4c01092d1432fcff4bdbbfa01489d1ddfcdd8b Signed-off-by: Mike Playle <mplayle@solarflare.com> Reviewed-on: https://review.gerrithub.io/417663 Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
parent
97154b1f82
commit
61469cf470
@ -34,9 +34,10 @@
|
||||
SPDK_ROOT_DIR := $(abspath $(CURDIR)/..)
|
||||
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
||||
|
||||
DIRS-y += bdev blob blobfs conf copy cunit event json jsonrpc \
|
||||
DIRS-y += bdev blob blobfs conf copy event json jsonrpc \
|
||||
log lvol net rpc sock thread trace util nvme nvmf scsi ioat \
|
||||
ut_mock iscsi
|
||||
DIRS-$(CONFIG_TESTS) += cunit
|
||||
ifeq ($(OS),Linux)
|
||||
DIRS-y += nbd
|
||||
DIRS-$(CONFIG_VHOST) += vhost
|
||||
|
Loading…
Reference in New Issue
Block a user