make: remove spdk.map.

As of now, all of the libraries and modules have their own
map file specified. Get rid of the generic top level one and
add a test to make sure that these files have been specified.

Signed-off-by: Seth Howell <seth.howell@intel.com>
Change-Id: I329004e7442c7975731fc973455c93e724982952
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2359
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: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
This commit is contained in:
Seth Howell 2020-05-10 13:31:11 -07:00 committed by Tomasz Zawadzki
parent dbaa2c7906
commit 8668141b41
3 changed files with 3 additions and 13 deletions

View File

@ -41,4 +41,6 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
C_SRCS = mock.c
LIBNAME = ut_mock
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

View File

@ -35,7 +35,7 @@ include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
include $(SPDK_ROOT_DIR)/mk/spdk.lib_deps.mk
ifeq ($(SPDK_MAP_FILE),)
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/shared_lib/spdk.map
$(error SPDK_MAP_FILE is not set for lib $(LIBNAME))
endif
LIB := $(call spdk_lib_list_to_static_libs,$(LIBNAME))

View File

@ -1,12 +0,0 @@
{
global:
spdk_*;
rte_vhost_*;
virt*;
SPDK_LOG*;
_spdk_trace_record;
g_trace_histories;
local: *;
};