From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id EB4C92A6A for ; Thu, 17 Jan 2019 23:26:44 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 79429292A0; Thu, 17 Jan 2019 17:26:44 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 17 Jan 2019 17:26:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=HnXFHGAJ0h2AlYIDbGcZcUhuo4ruB0YAraj3zU4coe4=; b=R81iOC8EmiaS JGsX8uRJn6sc88l0ommB7ndHlsjQh8c8fa6gJbNiWWevt1sbku18q8drSN+4+8ly rLs2dwdwE5/sSHunKz7MkixKlC9sswjlCWRThdg1zqwf9hdQvZB+SbbTk5NtHVdy /waQTNy/ZQH77p8+qSxI8VCvSa4z2FI= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=HnXFHGAJ0h2AlYIDbGcZcUhuo4ruB0YAraj3zU4co e4=; b=ioNjERTcAskigzMfs22tv8PDEjh7QArkvuws3Ze2PGRr/GmAwUbVjaNwJ q0bTeofWCpMsP2LHjnOzQOGaL+wtH/VbyfxqhtTFZT+9hm5MqpDy+lWF8das9T4g HFfVlmg6GAB8KlC6Kuy3il6noFICpKznGvau5ewaAKofwVX+2DtRSfq/A251FvIe kwD+rocrZ2hxKxlYj2S0PpuihYKNfO9sAOY9bCHZ0kp9yyovkf7/sKL/BZE0opEx Ky8FPXpkinQbVpBe77M1zmofsIStAeHycCO/WR6a6Jq69AMKYqPa15FNSzUsQIxc DGw/mlr67bim+z8kPlKFoS8lMjnYA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrgeekgdduheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkjg hfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcu oehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkphepjeejrddufeegrddvtd efrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id BC002E44A6; Thu, 17 Jan 2019 17:26:42 -0500 (EST) From: Thomas Monjalon To: Fan Zhang Cc: dev@dpdk.org, akhil.goyal@nxp.com, pablo.de.lara.guarch@intel.com Date: Thu, 17 Jan 2019 23:26:41 +0100 Message-ID: <1988021.QFEkKv4KUp@xps> In-Reply-To: <20190116132114.65674-1-roy.fan.zhang@intel.com> References: <20190116132114.65674-1-roy.fan.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] crypto/aesni_mb: fix compile 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: , X-List-Received-Date: Thu, 17 Jan 2019 22:26:45 -0000 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 > --- > -IMB_HDR = /usr/include/intel-ipsec-mb.h > +IMB_HDR = $(shell echo "\#include " | \ 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".