lib/vmd: add a map file.

Signed-off-by: Seth Howell <seth.howell@intel.com>
Change-Id: Id248c4023f0f407e070ffd323f1fee8629cfd967
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2310
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
This commit is contained in:
Seth Howell 2020-05-09 22:15:59 -07:00 committed by Tomasz Zawadzki
parent 8c85b30d1d
commit 29aeb31ab4
3 changed files with 17 additions and 0 deletions

View File

@ -41,4 +41,6 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
C_SRCS = vmd.c led.c
LIBNAME = vmd
SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_vmd.map)
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

13
lib/vmd/spdk_vmd.map Normal file
View File

@ -0,0 +1,13 @@
{
global:
# public functions
spdk_vmd_init;
spdk_vmd_fini;
spdk_vmd_pci_device_list;
spdk_vmd_set_led_state;
spdk_vmd_get_led_state;
spdk_vmd_hotplug_monitor;
local: *;
};

View File

@ -124,6 +124,8 @@ function confirm_abi_deps() {
name = SPDK_LOG_VIRTIO_PCI
[suppress_variable]
name = SPDK_LOG_VIRTIO_USER
[suppress_variable]
name = SPDK_LOG_VMD
EOF
for object in "$libdir"/libspdk_*.so; do