lib/iscsi: add a map file
g_spdk_iscsi_opts is encapsulated and not directly accessed by outside of iSCSI library. So do not add it to the map file of iSCSI library and remove it from the map file of the shared build Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ib9202891813208329ec6b3b0e076e4f608a38ef9 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1895 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
parent
e0830eaab6
commit
17ae1f40c5
@ -46,4 +46,6 @@ C_SRCS = conn.c \
|
||||
LIBNAME = iscsi
|
||||
LOCAL_SYS_LIBS = -lcrypto
|
||||
|
||||
SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_iscsi.map)
|
||||
|
||||
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk
|
||||
|
11
lib/iscsi/spdk_iscsi.map
Normal file
11
lib/iscsi/spdk_iscsi.map
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
global:
|
||||
|
||||
# Functions used by other SPDK libraries
|
||||
spdk_iscsi_init;
|
||||
spdk_iscsi_fini;
|
||||
spdk_iscsi_config_text;
|
||||
spdk_iscsi_config_json;
|
||||
|
||||
local: *;
|
||||
};
|
@ -5,7 +5,6 @@
|
||||
rte_vhost_*;
|
||||
virt*;
|
||||
SPDK_LOG*;
|
||||
g_spdk_iscsi_opts;
|
||||
_spdk_trace_record;
|
||||
g_trace_histories;
|
||||
|
||||
|
@ -39,6 +39,8 @@ function confirm_abi_deps() {
|
||||
name = SPDK_LOG_FTL_CORE
|
||||
[suppress_variable]
|
||||
name = SPDK_LOG_FTL_INIT
|
||||
[suppress_variable]
|
||||
name = SPDK_LOG_ISCSI
|
||||
|
||||
EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user