From 5e414150057f379e7b8a988c8f5832a0168fb162 Mon Sep 17 00:00:00 2001 From: Chunrong Guo Date: Fri, 28 Jul 2017 15:44:21 +0800 Subject: [PATCH] restool: update to f01f2ea4ab *include the following changes f01f2ea - add NXP Copyright where necessary 2a413ea - dpsw: change dpsw.X to dpsw.0 in help text eeee9e8 - dpni: remove unused variable 837e541 - dpdmux: add support for L3 custom forwarding method 42f39ea - dpseci: add congestion group option for dpseci create 1516311 - dpni: execute dpni create even if MC10.2 55bdffd - add MC version compatiblilty check to wrapper scripts fc29c3d - dprc: export connect configuration parameters to users 3fd971d - avoid INTEGER overflow in params of get_option_value function Signed-off-by: Chunrong Guo Signed-off-by: Otavio Salvador --- ...01-restool-fix-build-error-with-gcc7.patch | 24 +++++++++++++++++++ recipes-dpaa2/restool/restool_git.bb | 10 ++++---- 2 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 recipes-dpaa2/restool/restool/0001-restool-fix-build-error-with-gcc7.patch diff --git a/recipes-dpaa2/restool/restool/0001-restool-fix-build-error-with-gcc7.patch b/recipes-dpaa2/restool/restool/0001-restool-fix-build-error-with-gcc7.patch new file mode 100644 index 00000000..82ade02b --- /dev/null +++ b/recipes-dpaa2/restool/restool/0001-restool-fix-build-error-with-gcc7.patch @@ -0,0 +1,24 @@ +From 895db76654c796a0edc6b2d329addde108b1755c Mon Sep 17 00:00:00 2001 +From: Chunrong Guo +Date: Wed, 19 Jul 2017 14:31:23 +0800 +Subject: [PATCH] restool: fix build error with gcc7 + +--- + Makefile | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 3976b66..df1e791 100644 +--- a/Makefile ++++ b/Makefile +@@ -64,7 +64,6 @@ CFLAGS = ${EXTRA_CFLAGS} \ + -Wmissing-prototypes \ + -Wpointer-arith \ + -Winline \ +- -Werror \ + -Wundef \ + -Icommon/ + +-- +2.7.4 + diff --git a/recipes-dpaa2/restool/restool_git.bb b/recipes-dpaa2/restool/restool_git.bb index ab46fb33..aa6b8e40 100644 --- a/recipes-dpaa2/restool/restool_git.bb +++ b/recipes-dpaa2/restool/restool_git.bb @@ -1,11 +1,13 @@ SUMMARY = "DPAA2 Resource Manager Tool" LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://COPYING;md5=e613b54e73c0e4a2a8918c61924bd623" +LIC_FILES_CHKSUM = "file://COPYING;md5=ec8d84e9cd4de287e290275d09db27f0" RDEPENDS_${PN} += "bash" -SRC_URI = "git://git.freescale.com/ppc/sdk/restool.git;nobranch=1" -SRCREV = "eba25cdfdccef45f7ba02dd2f829b9b55198fbb1" +SRC_URI = "git://github.com/qoriq-open-source/restool.git;nobranch=1 \ + file://0001-restool-fix-build-error-with-gcc7.patch" + +SRCREV = "f01f2ea4ab2d5b2432c4497cc772d2fd8cca3eb3" S = "${WORKDIR}/git" @@ -15,6 +17,6 @@ do_install () { oe_runmake install DESTDIR=${D} } -COMPATIBLE_MACHINE = "(ls2080ardb|ls2088ardb)" +COMPATIBLE_MACHINE = "(ls2080ardb|ls2088ardb|ls1088ardb)" PACKAGE_ARCH = "${MACHINE_ARCH}" -- 2.40.1