[meta-freescale] [[PATCH v3 15/34] odp:update recipes

Chunrong Guo B40290 at freescale.com
Mon Oct 16 21:09:25 PDT 2017


From: Chunrong Guo <chunrong.guo at nxp.com>

*update to bef6398
odp include the following changes
bef6398 - TM: Invalid flow crash fix
8e7a136 - Removed device based jiffies
df492ef - Fixing legal issues
3e9c5da - Scripts: binaries path and odp_tm test cases updated
c91dac8 - Werror flag enabled for ODP library
ced3aaf - Updated MC flib to version 10.3.2
a68cd87 - odp_pktio_stats API updated
03e0e05 - LD_LIBRARY_PATH removed from loopback_script
7a64406 - CUNIT: Cunit installation enabled
048c6a6 - script: ODP library path fixed

*flib include the following changes
bbab28b - fix PDCP warnings for User Plane descriptor
fcad69f - fix PDCP SNOW f8 + AES CMAC decapsulation

*fix wrong md5sum of license file
license file has changes

*remove ODP_PLATFORM for ls1043ardb and ls1046ardb
ODP_PLATFORM only support "linux-dpaa2"

*remove "enable-build-type" and "with-sdk-install-path" config options
odp configure do not support "with-sdk-install-path" and "enable-build-type"

*fix building error with GCC7
set CFLAGS

Signed-off-by: Chunrong Guo <chunrong.guo at nxp.com>
---
 recipes-extended/odp/odp.inc    | 7 ++++---
 recipes-extended/odp/odp_git.bb | 6 ++----
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/recipes-extended/odp/odp.inc b/recipes-extended/odp/odp.inc
index 421deff..5d8d789 100644
--- a/recipes-extended/odp/odp.inc
+++ b/recipes-extended/odp/odp.inc
@@ -4,7 +4,7 @@ DESCRIPTION = "OpenDataPlane (ODP) provides a data plane application programming
 HOMEPAGE = "http://www.opendataplane.org"
 SECTION = "console/network"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=472053b942339f200d9e1d2dcb947e9d"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ca6103dc75397fb6bec596187d6b7829"
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/odp:"
 
@@ -16,9 +16,10 @@ git://github.com/qoriq-open-source/flib.git;nobranch=1;name=rta;destsuffix=git/p
 
 SRC_URI += "file://0001-Fix-this-build-error.patch"
 
-SRCREV = "fdb26cb5c751afadf2299da2a1376e6ca0e61cc7"
+SRCREV = "bef6398a09db4a6b909aa0c6accc7c15621ce5ef"
+
 SRCREV_qbman = "097595befc2bb60b733027e94ad2ed16a0e9cae0"
-SRCREV_rta = "2c9b9dc22699f7c00f24a2134c42901932a6a0b9"
+SRCREV_rta = "bbab28b03ae21c52ce913f8b052acf53bd24ff5d"
 
 S = "${WORKDIR}/git"
 
diff --git a/recipes-extended/odp/odp_git.bb b/recipes-extended/odp/odp_git.bb
index b7c7deb..b9d4558 100644
--- a/recipes-extended/odp/odp_git.bb
+++ b/recipes-extended/odp/odp_git.bb
@@ -12,8 +12,6 @@ ODP_SOC ?= ""
 ODP_SOC_ls1043ardb = "LS1043"
 ODP_SOC_ls1046ardb = "LS1046"
 ODP_PLATFORM ?= "linux-dpaa2"
-ODP_PLATFORM_ls1043ardb = "linux-dpaa1"
-ODP_PLATFORM_ls1046ardb = "linux-dpaa1"
 ODP_BUILD_TYPE ?= "ls2088"
 ODP_BUILD_TYPE_ls1043ardb = "ls1043"
 ODP_BUILD_TYPE_ls1046ardb = "ls1046"
@@ -21,8 +19,6 @@ ODP_BUILD_TYPE_ls2080ardb = "ls2080"
 ODP_BUILD_TYPE_ls1088ardb = "ls1088"
 
 EXTRA_OECONF = "--with-platform=${ODP_PLATFORM} \
-                --with-sdk-install-path=${STAGING_DIR_TARGET} \
-                --enable-build-type=${ODP_BUILD_TYPE} \
                 --enable-test-vald \
                 --enable-test-perf \
                 --enable-test-cpp \
@@ -32,6 +28,8 @@ EXTRA_OEMAKE = "CROSS_COMPILE="${TARGET_PREFIX}" \
                 SYSROOT="${STAGING_DIR_TARGET}" \
 "
 
+CFLAGS += "-Wno-format-truncation -Wno-maybe-uninitialized -Wno-implicit-fallthrough"
+
 PACKAGECONFIG[perf] = "--enable-test-perf,,,"
 
 do_configure_prepend () {
-- 
1.9.0



More information about the meta-freescale mailing list