dpdk/crypto: fix build after NO_COMPAT_IMB_API_053

The version of make found in Rocky 8.7 (make-4.2.1-11.el8.x86_64) fails
in the dpdkbuild directory with:

  $ make clean
  Makefile:64: *** invalid syntax in conditional.  Stop.

This removes the # symbol, allowing builds to work again.

Signed-off-by: Mike Gerdts <mgerdts@nvidia.com>
Change-Id: I0b9ac05d6670615c2a3642c7a833ac64774b9fef
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16440
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
Mike Gerdts 2023-01-24 06:58:41 -06:00 committed by Tomasz Zawadzki
parent be299bf533
commit a5a75f343f

View File

@ -61,7 +61,7 @@ DPDK_DRIVERS += crypto/ipsec_mb
DPDK_CFLAGS += -I$(IPSEC_MB_DIR)
# Workaround for DPDK 22.07 and DPDK 22.11.1,
# will be able to remove starting with DPDK 23.03.
ifeq ($(shell grep "#define NO_COMPAT_IMB_API_053" $(SPDK_ROOT_DIR)/dpdk/drivers/crypto/qat/qat_sym_session.c), )
ifeq ($(shell grep "define NO_COMPAT_IMB_API_053" $(SPDK_ROOT_DIR)/dpdk/drivers/crypto/qat/qat_sym_session.c), )
DPDK_CFLAGS += -DNO_COMPAT_IMB_API_053
endif
DPDK_LDFLAGS += -L$(IPSEC_MB_DIR)