From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8E2C5A0563; Thu, 27 Feb 2020 23:34:38 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 717F32C02; Thu, 27 Feb 2020 23:34:37 +0100 (CET) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 2D244B62; Thu, 27 Feb 2020 23:34:36 +0100 (CET) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 3F5FE21E92; Thu, 27 Feb 2020 17:34:35 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Thu, 27 Feb 2020 17:34:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=mesmtp; bh=9DEQDXuDbcVgXxAoDso2h+l 7lc7lr3GdHD2D8GIs0ds=; b=AbdglImy9SLR1QqZzxff4lkRv3+c4Tr/AmN3XsA 55zaHdulO6X35738x1lyshdVqD3Q/wic2HGvwH2oxOljzLzAKoS38npo9CnOyxS3 doLtt+xS8Epgn3x3A1oiEArhCFJk7FpXtA1VpI//nP1OLzb3Kstpg5EnEn7sHYkr OX14= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=9DEQDXuDbcVgXxAoD so2h+l7lc7lr3GdHD2D8GIs0ds=; b=TB3RviIDic+CWiKzzuds6uZ85odigPCo4 APjLExu1DAbNPdUEEAbZInNYgdiCUerdEE+NR2e0TIfCNGjsGhf/90EjBpCn/ihy +DomHHCeE8rQVF3kawVzsVWN3WZuwxlr0RsRUvolkEWhly8NnlkyRC0PKtnFoaue Bdoa6LBka5f1zDogC/eTKi2yL7LQddF+ewRB9E6P8V1rd2lnsS0N2Qiae27S27Js 1aPy6ZtngUYbiRV5NHpd2Q1/7N6ugHbh076gj8Qi/bTIx8qzTy3CNup6cF3Sq4+t Zf4LeT0y8cgRye5r1jEN5T3cSZ13wVMuDzqGMHt4OZEcJg/WxVuww== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrleeigdduiedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgrshcu ofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukfhppe elfedriedrudegledruddugeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.monjalon.net (114.149.6.93.rev.sfr.net [93.6.149.114]) by mail.messagingengine.com (Postfix) with ESMTPA id 588533061393; Thu, 27 Feb 2020 17:34:33 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: roy.fan.zhang@intel.com, pablo.de.lara.guarch@intel.com, bruce.richardson@intel.com, stable@dpdk.org, Declan Doherty , Luca Boccassi , Akhil Goyal Date: Thu, 27 Feb 2020 23:33:26 +0100 Message-Id: <20200227223326.507857-1-thomas@monjalon.net> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] drivers/crypto: fix build with make X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" In the check for the version of intel-ipsec-mb library, there is a backslash in front of the #include. It is not clear why this backslash is for. It is not clear why there was no error so far. In an up-to-date ArchLinux, these errors were seen: syntax error near unexpected token `|' `grep -e "IMB_VERSION_STR" \#include | cut -d'"' -f2' syntax error near unexpected token `|' `grep -e "IMB_VERSION_NUM" \#include | cut -d' ' -f3' The makefiles are fixed by removing the backslash. Fixes: 3067c8ce77ac ("crypto/aesni_mb: fix build with custom dependency path") Fixes: 457b8e372975 ("crypto/aesni_gcm: check dependency version with make") Fixes: bf6eb2c22fd1 ("crypto/kasumi: use IPsec library") Fixes: 7c87e2d7b359 ("crypto/snow3g: use IPsec library") Fixes: 61f7c988e39e ("crypto/zuc: use IPsec library") Cc: stable@dpdk.org Signed-off-by: Thomas Monjalon --- drivers/crypto/aesni_gcm/Makefile | 2 +- drivers/crypto/aesni_mb/Makefile | 2 +- drivers/crypto/kasumi/Makefile | 2 +- drivers/crypto/snow3g/Makefile | 2 +- drivers/crypto/zuc/Makefile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/crypto/aesni_gcm/Makefile b/drivers/crypto/aesni_gcm/Makefile index d8190a2ff4..e80a416261 100644 --- a/drivers/crypto/aesni_gcm/Makefile +++ b/drivers/crypto/aesni_gcm/Makefile @@ -20,7 +20,7 @@ LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_cryptodev LDLIBS += -lrte_bus_vdev -IMB_HDR = $(shell echo '\#include ' | \ +IMB_HDR = $(shell echo '#include ' | \ $(CC) -E $(EXTRA_CFLAGS) - | grep 'intel-ipsec-mb.h' | \ head -n1 | cut -d'"' -f2) diff --git a/drivers/crypto/aesni_mb/Makefile b/drivers/crypto/aesni_mb/Makefile index f1530e74c4..d81e5671df 100644 --- a/drivers/crypto/aesni_mb/Makefile +++ b/drivers/crypto/aesni_mb/Makefile @@ -20,7 +20,7 @@ LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_cryptodev LDLIBS += -lrte_bus_vdev -IMB_HDR = $(shell echo '\#include ' | \ +IMB_HDR = $(shell echo '#include ' | \ $(CC) -E $(EXTRA_CFLAGS) - | grep 'intel-ipsec-mb.h' | \ head -n1 | cut -d'"' -f2) diff --git a/drivers/crypto/kasumi/Makefile b/drivers/crypto/kasumi/Makefile index c94d6bdcf9..5b71481784 100644 --- a/drivers/crypto/kasumi/Makefile +++ b/drivers/crypto/kasumi/Makefile @@ -20,7 +20,7 @@ LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_cryptodev LDLIBS += -lrte_bus_vdev -IMB_HDR = $(shell echo '\#include ' | \ +IMB_HDR = $(shell echo '#include ' | \ $(CC) -E $(EXTRA_CFLAGS) - | grep 'intel-ipsec-mb.h' | \ head -n1 | cut -d'"' -f2) diff --git a/drivers/crypto/snow3g/Makefile b/drivers/crypto/snow3g/Makefile index 438119c3d5..b3807e4314 100644 --- a/drivers/crypto/snow3g/Makefile +++ b/drivers/crypto/snow3g/Makefile @@ -20,7 +20,7 @@ LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_cryptodev LDLIBS += -lrte_bus_vdev -IMB_HDR = $(shell echo '\#include ' | \ +IMB_HDR = $(shell echo '#include ' | \ $(CC) -E $(EXTRA_CFLAGS) - | grep 'intel-ipsec-mb.h' | \ head -n1 | cut -d'"' -f2) diff --git a/drivers/crypto/zuc/Makefile b/drivers/crypto/zuc/Makefile index b50883b2a7..ae0e1a2c2a 100644 --- a/drivers/crypto/zuc/Makefile +++ b/drivers/crypto/zuc/Makefile @@ -20,7 +20,7 @@ LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_cryptodev LDLIBS += -lrte_bus_vdev -IMB_HDR = $(shell echo '\#include ' | \ +IMB_HDR = $(shell echo '#include ' | \ $(CC) -E $(EXTRA_CFLAGS) - | grep 'intel-ipsec-mb.h' | \ head -n1 | cut -d'"' -f2) -- 2.25.1