2016-07-20 18:16:23 +00:00
|
|
|
BLOCKDEV_MODULES += $(SPDK_ROOT_DIR)/lib/bdev/malloc/libspdk_bdev_malloc.a
|
|
|
|
|
|
|
|
BLOCKDEV_MODULES += $(SPDK_ROOT_DIR)/lib/bdev/nvme/libspdk_bdev_nvme.a \
|
|
|
|
$(SPDK_ROOT_DIR)/lib/nvme/libspdk_nvme.a
|
|
|
|
|
2016-08-03 17:36:14 +00:00
|
|
|
ifeq ($(OS),Linux)
|
|
|
|
BLOCKDEV_MODULES += $(SPDK_ROOT_DIR)/lib/bdev/aio/libspdk_bdev_aio.a
|
|
|
|
BLOCKDEV_MODULES_DEPS += -laio
|
|
|
|
endif
|
|
|
|
|
2016-07-20 18:16:23 +00:00
|
|
|
COPY_MODULES += $(SPDK_ROOT_DIR)/lib/copy/ioat/libspdk_copy_ioat.a \
|
|
|
|
$(SPDK_ROOT_DIR)/lib/ioat/libspdk_ioat.a
|
|
|
|
|
|
|
|
BLOCKDEV_MODULES_LINKER_ARGS = -Wl,--whole-archive \
|
|
|
|
$(BLOCKDEV_MODULES) \
|
|
|
|
-Wl,--no-whole-archive \
|
|
|
|
$(BLOCKDEV_MODULES_DEPS)
|
|
|
|
|
|
|
|
COPY_MODULES_LINKER_ARGS = -Wl,--whole-archive \
|
|
|
|
$(COPY_MODULES) \
|
|
|
|
-Wl,--no-whole-archive \
|
|
|
|
$(COPY_MODULES_DEPS)
|