[dpdk-dev] [PATCH] crypto/aesni_mb: fix compile
Thomas Monjalon
thomas at monjalon.net
Thu Jan 17 23:26:41 CET 2019
16/01/2019 14:21, Fan Zhang:
> This patch fixes the inflexible compile issue AESNI-MB PMD.
> Originally the compile of the PMD will fail if IPSec_MB is
> not installed in default location.
>
> Fixes: c68d7aa354f6 ("crypto/aesni_mb: use architecture independent macros")
>
> Signed-off-by: Fan Zhang <roy.fan.zhang at intel.com>
> ---
> -IMB_HDR = /usr/include/intel-ipsec-mb.h
> +IMB_HDR = $(shell echo "\#include <intel-ipsec-mb.h>" | \
What is the backslash? Looks like a typo.
> + $(CC) -E $(EXTRA_CFLAGS) - | grep 'intel-ipsec-mb.h' | \
> + head -1 | cut -d'"' -f2)
I think the most standard invocation of head is "head -n1".
You can also use "sed 1q".
More information about the dev
mailing list