bdev/crypto: add /include symlink for ISAL
Currently we only include the dir just above ISA-L which allows the isal.h file includes to be found however DPDK can't find isa-l.h at that location because its one level deeper. By adding a symlink in the isa-l subdir we can redirect DPDK to find the isa-l header files. Change-Id: Ieeabd4273bade0241db5581764b2169103f9770f Signed-off-by: paul luse <paul.e.luse@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/445767 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
d2bbef66dc
commit
1fc4165fe9
@ -66,7 +66,7 @@ endif
|
||||
|
||||
ifeq ($(CONFIG_REDUCE),y)
|
||||
DPDK_OPTS += CONFIG_RTE_LIBRTE_PMD_ISAL=y
|
||||
DPDK_CFLAGS += -I$(ISAL_DIR)/..
|
||||
DPDK_CFLAGS += -I$(ISAL_DIR)
|
||||
else
|
||||
DPDK_OPTS += CONFIG_RTE_LIBRTE_PMD_ISAL=n
|
||||
endif
|
||||
|
@ -40,10 +40,14 @@ ifneq ($(Q),)
|
||||
REDIRECT=> /dev/null
|
||||
endif
|
||||
|
||||
all:
|
||||
$(ISAL_DIR)/isa-l:
|
||||
@ln -s $(ISAL_DIR)/include $(ISAL_DIR)/isa-l
|
||||
|
||||
all: $(ISAL_DIR)/isa-l
|
||||
$(Q)$(MAKE) -C $(SPDK_ROOT_DIR)/isa-l -j$(NPROC) all CC=cc $(REDIRECT)
|
||||
|
||||
install: all
|
||||
|
||||
clean:
|
||||
$(Q)$(MAKE) -C $(SPDK_ROOT_DIR)/isa-l clean $(REDIRECT)
|
||||
$(Q)rm -f $(ISAL_DIR)/isa-l
|
||||
|
Loading…
Reference in New Issue
Block a user