nvme/perf: Update the makefile.
We must include nvme.libtest.mk first, because OS variable is defined in spdk.common.mk referened in nvme.libtest.mk. Without this patch, AIO library will not be compiled because OS variable is NULL. Signed-off-by: Ziye Yang <ziye.yang@intel.com> Change-Id: I760310ab80252237d211a855d18d80ed88119a43 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3217 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
5faea08e71
commit
d50cbd30b1
@ -35,13 +35,13 @@ SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../..)
|
||||
|
||||
APP = perf
|
||||
|
||||
include $(SPDK_ROOT_DIR)/mk/nvme.libtest.mk
|
||||
|
||||
ifeq ($(OS),Linux)
|
||||
SYS_LIBS += -laio
|
||||
CFLAGS += -DHAVE_LIBAIO
|
||||
endif
|
||||
|
||||
include $(SPDK_ROOT_DIR)/mk/nvme.libtest.mk
|
||||
|
||||
install: $(APP)
|
||||
$(INSTALL_EXAMPLE)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user