diff options
-rw-r--r-- | recipes-dpaa2/restool/restool/0001-restool-fix-build-error-with-gcc7.patch | 24 | ||||
-rw-r--r-- | recipes-dpaa2/restool/restool_git.bb | 10 |
2 files changed, 30 insertions, 4 deletions
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 @@ | |||
1 | From 895db76654c796a0edc6b2d329addde108b1755c Mon Sep 17 00:00:00 2001 | ||
2 | From: Chunrong Guo <chunrong.guo@nxp.com> | ||
3 | Date: Wed, 19 Jul 2017 14:31:23 +0800 | ||
4 | Subject: [PATCH] restool: fix build error with gcc7 | ||
5 | |||
6 | --- | ||
7 | Makefile | 1 - | ||
8 | 1 file changed, 1 deletion(-) | ||
9 | |||
10 | diff --git a/Makefile b/Makefile | ||
11 | index 3976b66..df1e791 100644 | ||
12 | --- a/Makefile | ||
13 | +++ b/Makefile | ||
14 | @@ -64,7 +64,6 @@ CFLAGS = ${EXTRA_CFLAGS} \ | ||
15 | -Wmissing-prototypes \ | ||
16 | -Wpointer-arith \ | ||
17 | -Winline \ | ||
18 | - -Werror \ | ||
19 | -Wundef \ | ||
20 | -Icommon/ | ||
21 | |||
22 | -- | ||
23 | 2.7.4 | ||
24 | |||
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 @@ | |||
1 | SUMMARY = "DPAA2 Resource Manager Tool" | 1 | SUMMARY = "DPAA2 Resource Manager Tool" |
2 | LICENSE = "BSD" | 2 | LICENSE = "BSD" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=e613b54e73c0e4a2a8918c61924bd623" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=ec8d84e9cd4de287e290275d09db27f0" |
4 | 4 | ||
5 | RDEPENDS_${PN} += "bash" | 5 | RDEPENDS_${PN} += "bash" |
6 | 6 | ||
7 | SRC_URI = "git://git.freescale.com/ppc/sdk/restool.git;nobranch=1" | 7 | SRC_URI = "git://github.com/qoriq-open-source/restool.git;nobranch=1 \ |
8 | SRCREV = "eba25cdfdccef45f7ba02dd2f829b9b55198fbb1" | 8 | file://0001-restool-fix-build-error-with-gcc7.patch" |
9 | |||
10 | SRCREV = "f01f2ea4ab2d5b2432c4497cc772d2fd8cca3eb3" | ||
9 | 11 | ||
10 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
11 | 13 | ||
@@ -15,6 +17,6 @@ do_install () { | |||
15 | oe_runmake install DESTDIR=${D} | 17 | oe_runmake install DESTDIR=${D} |
16 | } | 18 | } |
17 | 19 | ||
18 | COMPATIBLE_MACHINE = "(ls2080ardb|ls2088ardb)" | 20 | COMPATIBLE_MACHINE = "(ls2080ardb|ls2088ardb|ls1088ardb)" |
19 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 21 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
20 | 22 | ||