From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id C229E1B0FF; Wed, 13 Feb 2019 00:05:18 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7099022164; Tue, 12 Feb 2019 18:05:18 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 12 Feb 2019 18:05:18 -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; s=mesmtp; bh=YXxcofGpsc 0h+V8bn2RdQ1rHVUYzYNvLXhC7zQM34Q8=; b=GiSDfQnq7Rag8MdSudJwMu2EpS s/HBErOSV4pZaoQFoQaz+RX7N8qUy1e/lBIj8wp21F3zf01dPHV1xuMB+j8i54Ls PI9SkW5nPsoPAApSF4KRp032SC2C051EwQto+nBhgZ3Gwdl56eMDpExudzpYW9ht 0rYDuKCHa1PuE4yKA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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= fm2; bh=YXxcofGpsc0h+V8bn2RdQ1rHVUYzYNvLXhC7zQM34Q8=; b=v6k+8q44 qMYl2Bp1zlCRNZArlGef2Ju0igpNcNwXSSWoFZNh3kpSTt46ZIDk/OhMhAyxPv0r bsYGLNpB2fPjStnFZmX54XY9BbtTJXB1+gV9gFwFtKnpGkTGq9k5t5PfUo5i3jKC UcmxsSSsWEugaDT3CkfuLpYGD+udDITybdfHzp8QubYRE1FI5EiVFAx/5woERI13 FYZ9P9GPtuHBJRJEWGWyKSXTx87Ypfly0d+esW1F+x0wFAXqlolKNaZFPz+7Qqm/ E2t1ZZqscM8Xppe/YHq3IwFKsNQRlcPiiepmbi1G8BjF7kccIIzXv3SFTeTYo1CA aFbSiJVXvBNnRA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledruddtvddgtdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecumhhishhsihhnghcuvffquchfihgvlhguucdlfedtmdenucfjughrpefhvffuff fkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhho nhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkphepjeejrddufeegrd dvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhj rghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 4F997E4412; Tue, 12 Feb 2019 18:05:17 -0500 (EST) From: Thomas Monjalon To: Cc: dev@dpdk.org, konstantin.ananyev@intel.com, stable@dpdk.org Date: Wed, 13 Feb 2019 00:05:05 +0100 Message-Id: <20190212230507.11793-3-thomas@monjalon.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190212230507.11793-1-thomas@monjalon.net> References: <20190212230507.11793-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 2/4] devtools: add libelf dependency to build test 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: Tue, 12 Feb 2019 23:05:19 -0000 The option CONFIG_RTE_LIBRTE_BPF_ELF was never enabled with test-build.sh. It is fixed with the environment variable DPDK_DEP_ELF. Fixes: 5dba93ae5f2d ("bpf: add ability to load eBPF program from ELF object file") Cc: konstantin.ananyev@intel.com Cc: stable@dpdk.org Signed-off-by: Thomas Monjalon --- devtools/test-build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/devtools/test-build.sh b/devtools/test-build.sh index 42f4ad003..ace52a776 100755 --- a/devtools/test-build.sh +++ b/devtools/test-build.sh @@ -9,6 +9,7 @@ default_path=$PATH # - DPDK_BUILD_TEST_CONFIGS (defconfig1+option1+option2 defconfig2) # - DPDK_DEP_ARCHIVE # - DPDK_DEP_CFLAGS +# - DPDK_DEP_ELF (y/[n]) # - DPDK_DEP_ISAL (y/[n]) # - DPDK_DEP_JSON (y/[n]) # - DPDK_DEP_LDFLAGS @@ -96,6 +97,7 @@ reset_env () unset CROSS unset DPDK_DEP_ARCHIVE unset DPDK_DEP_CFLAGS + unset DPDK_DEP_ELF unset DPDK_DEP_ISAL unset DPDK_DEP_JSON unset DPDK_DEP_LDFLAGS @@ -186,6 +188,8 @@ config () # sed -ri 's,(MVPP2_PMD=)n,\1y,' $1/.config test -z "$LIBMUSDK_PATH" || \ sed -ri 's,(MVNETA_PMD=)n,\1y,' $1/.config + test "$DPDK_DEP_ELF" != y || \ + sed -ri 's,(BPF_ELF=)n,\1y,' $1/.config test -z "$DPDK_DEP_JSON" || \ sed -ri 's,(TELEMETRY=)n,\1y,' $1/.config build_config_hook $1 $2 $3 -- 2.20.1