2022-01-19 10:12:50 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright (c) Samsung Electronics Co., Ltd.
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
|
|
|
|
SPDK_ROOT_DIR := $(abspath $(CURDIR)/..)
|
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
|
|
|
|
|
|
|
.PHONY: all clean install uninstall
|
|
|
|
|
|
|
|
all:
|
|
|
|
(cd $(SPDK_ROOT_DIR)/xnvme && \
|
2022-12-09 12:01:44 +00:00
|
|
|
export PKG_CONFIG_PATH=$$PKG_CONFIG_PATH:/usr/lib/pkgconfig:/usr/lib64/pkgconfig && \
|
2022-09-24 13:35:48 +00:00
|
|
|
meson setup builddir \
|
|
|
|
-Dwith-spdk=false \
|
|
|
|
-Dwith-fio=false \
|
|
|
|
-Dwith-libvfn=false \
|
|
|
|
-Dshared_library=false && \
|
2022-01-19 10:12:50 +00:00
|
|
|
meson compile -C builddir && \
|
|
|
|
cd -)
|
|
|
|
|
|
|
|
install: all
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
@:
|
|
|
|
|
|
|
|
clean:
|
|
|
|
(cd $(SPDK_ROOT_DIR)/xnvme && rm -fr builddir || true && cd -)
|