configure: Don't build ipsec-mb on aarch
This library can't be compiled on aarch, so disable it Signed-off-by: Aleksey Marchuk <alexeymar@nvidia.com> Change-Id: I3a8ab2f8d95c122b45f6211a1ce4916389728476 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14288 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
e9438453d4
commit
19518dfb47
2
configure
vendored
2
configure
vendored
@ -743,7 +743,7 @@ if [ -z "${CONFIG[ENV]}" ]; then
|
||||
else
|
||||
CONFIG[DPDK_DIR]="${rootdir}/dpdk/build"
|
||||
# Default ipsec libs
|
||||
if [[ "${CONFIG[CRYPTO]}" = "y" ]]; then
|
||||
if [[ "${CONFIG[CRYPTO]}" = "y" ]] && [[ $arch = x86_64* ]]; then
|
||||
CONFIG[IPSEC_MB]=y
|
||||
CONFIG[IPSEC_MB_DIR]="${rootdir}/intel-ipsec-mb/lib"
|
||||
fi
|
||||
|
@ -43,15 +43,18 @@ DPDK_DRIVERS += common/mlx5 bus/auxiliary
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_CRYPTO),y)
|
||||
DPDK_DRIVERS += crypto crypto/ipsec_mb
|
||||
DPDK_DRIVERS += crypto
|
||||
# aesni_mb is name of the PMD in DPDK 21.08 and earlier
|
||||
DPDK_DRIVERS += crypto/aesni_mb
|
||||
ifeq ($(CONFIG_CRYPTO_MLX5),y)
|
||||
DPDK_DRIVERS += crypto/mlx5
|
||||
endif
|
||||
ifeq ($(CONFIG_IPSEC_MB),y)
|
||||
DPDK_DRIVERS += crypto/ipsec_mb
|
||||
DPDK_CFLAGS += -I$(IPSEC_MB_DIR)
|
||||
DPDK_LDFLAGS += -L$(IPSEC_MB_DIR)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_REDUCE),y)
|
||||
DPDK_DRIVERS += compress compress/isal
|
||||
|
Loading…
Reference in New Issue
Block a user