dpdk/20.11: update to v20.11.5

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Naveen Saini 2022-05-06 17:55:41 +08:00 committed by Anuj Mittal
parent 6d1f4657c8
commit ad5fdb707f
3 changed files with 2 additions and 38 deletions

View File

@ -8,7 +8,7 @@ SRC_URI += " \
"
STABLE = "-stable"
BRANCH = "20.11"
SRCREV = "b1e71cf43153cca07db6cbb69fdca030ccf52234"
SRCREV = "abf68ccc8b1f923f0eb0b6bf2a8b944378e1ebeb"
S = "${WORKDIR}/git"
inherit module

View File

@ -1,35 +0,0 @@
From 308409d72671b7978b20d40748ad985a235b6c86 Mon Sep 17 00:00:00 2001
From: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com>
Date: Thu, 24 Jun 2021 11:30:09 +0800
Subject: [PATCH] ifpga/meson: Fix finding librt using find_library()
Finding with "librt" keyword would give the output
with full path of librt such as /usr/lib/librt.so
instead of -lrt.
Assume find_library() will prepend "lib", thus remove
"lib" from "librt" keyword. The output will shows as
-lrt.
Upstream-Status: Submitted [https://mails.dpdk.org/archives/stable/2021-June/031840.html]
Signed-off-by: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com>
---
drivers/raw/ifpga/base/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/raw/ifpga/base/meson.build b/drivers/raw/ifpga/base/meson.build
index da2d6e33c..949f7f127 100644
--- a/drivers/raw/ifpga/base/meson.build
+++ b/drivers/raw/ifpga/base/meson.build
@@ -25,7 +25,7 @@ sources = [
rtdep = dependency('librt', required: false)
if not rtdep.found()
- rtdep = cc.find_library('librt', required: false)
+ rtdep = cc.find_library('rt', required: false)
endif
if not rtdep.found()
build = false
--
2.32.0

View File

@ -2,12 +2,11 @@ include dpdk.inc
SRC_URI += " \
file://0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch \
file://0001-ifpga-meson-Fix-finding-librt-using-find_library.patch \
"
STABLE = "-stable"
BRANCH = "20.11"
SRCREV = "b1e71cf43153cca07db6cbb69fdca030ccf52234"
SRCREV = "abf68ccc8b1f923f0eb0b6bf2a8b944378e1ebeb"
S = "${WORKDIR}/git"
# kernel module is provide by dpdk-module recipe, so disable here