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:
parent
dbaa2c7906
commit
8668141b41
@ -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
|
||||
|
@ -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))
|
||||
|
@ -1,12 +0,0 @@
|
||||
{
|
||||
global:
|
||||
|
||||
spdk_*;
|
||||
rte_vhost_*;
|
||||
virt*;
|
||||
SPDK_LOG*;
|
||||
_spdk_trace_record;
|
||||
g_trace_histories;
|
||||
|
||||
local: *;
|
||||
};
|
Loading…
Reference in New Issue
Block a user