accel: allow libisal and libisal_crypto
If CONFIG_ISAL and CONFIG_ISAL_CRYPTO are both defined, the build was only including the LOCAL_SYS_LIBS for libisal_crypto. This fixes that bug using the same technique used in other Makeifles. Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: I4c0869d60742cd6bdb0812d67db3abbfa7e69122 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17345 Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
a7cd3a2d57
commit
26037aa3b0
@ -14,12 +14,14 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
|
||||
LIBNAME = accel
|
||||
C_SRCS = accel.c accel_rpc.c accel_sw.c
|
||||
|
||||
LOCAL_SYS_LIBS =
|
||||
|
||||
ifeq ($(CONFIG_ISAL), y)
|
||||
LOCAL_SYS_LIBS = -L$(ISAL_DIR)/.libs -lisal
|
||||
LOCAL_SYS_LIBS += -L$(ISAL_DIR)/.libs -lisal
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ISAL_CRYPTO), y)
|
||||
LOCAL_SYS_LIBS = -L$(ISAL_CRYPTO_DIR)/.libs -lisal_crypto
|
||||
LOCAL_SYS_LIBS += -L$(ISAL_CRYPTO_DIR)/.libs -lisal_crypto
|
||||
endif
|
||||
|
||||
SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_accel.map)
|
||||
|
Loading…
Reference in New Issue
Block a user