Commit 17ae1f40 authored by Shuhei Matsumoto's avatar Shuhei Matsumoto Committed by Tomasz Zawadzki
Browse files

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: default avatarShuhei 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: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: default avatarAleksey Marchuk <alexeymar@mellanox.com>
parent e0830eaa
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
{
	global:

	# Functions used by other SPDK libraries
	spdk_iscsi_init;
	spdk_iscsi_fini;
	spdk_iscsi_config_text;
	spdk_iscsi_config_json;

	local: *;
};
+0 −1
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@
	rte_vhost_*;
	virt*;
	SPDK_LOG*;
	g_spdk_iscsi_opts;
	_spdk_trace_record;
	g_trace_histories;

+2 −0
Original line number Diff line number Diff line
@@ -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