diff options
| author | Fahad Usman <fahad_usman@mentor.com> | 2012-12-12 12:08:37 +0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-17 17:24:53 +0000 |
| commit | eef3b8d869bf36e96c43309ca437d9832bd90a2d (patch) | |
| tree | b7ac93ba23e22bd9982bc7c1c2ef3a29ec4956f4 | |
| parent | 40bb94f63eafaf4a58e745cd10ce77e28ce3abd2 (diff) | |
| download | poky-eef3b8d869bf36e96c43309ca437d9832bd90a2d.tar.gz | |
perf: kill -Werror
this fails to build using a recent sourcery toolchain due to
unused-but-set-variable
(From OE-Core rev: dce7918a818bf86fcc11f561af3eacaf281403d4)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
the patch was imported from meta-mentor layer on yoctoproject git server
http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit ids
82e96b3baa1c64d03412871fce56d496a338f167 and
ae325d011bd50501fe677c8b37295ae83030c526
Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-kernel/perf/perf_3.4.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf_3.4.bb b/meta/recipes-kernel/perf/perf_3.4.bb index b09436231f..4e6d03d005 100644 --- a/meta/recipes-kernel/perf/perf_3.4.bb +++ b/meta/recipes-kernel/perf/perf_3.4.bb | |||
| @@ -9,7 +9,7 @@ as well." | |||
| 9 | LICENSE = "GPLv2" | 9 | LICENSE = "GPLv2" |
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" |
| 11 | 11 | ||
| 12 | PR = "r5" | 12 | PR = "r6" |
| 13 | 13 | ||
| 14 | require perf.inc | 14 | require perf.inc |
| 15 | 15 | ||
| @@ -79,6 +79,10 @@ do_install() { | |||
| 79 | fi | 79 | fi |
| 80 | } | 80 | } |
| 81 | 81 | ||
| 82 | do_configure_prepend () { | ||
| 83 | sed -i 's,-Werror ,,' ${S}/tools/perf/Makefile | ||
| 84 | } | ||
| 85 | |||
| 82 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 86 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 83 | 87 | ||
| 84 | FILES_${PN} += "${libexecdir}/perf-core" | 88 | FILES_${PN} += "${libexecdir}/perf-core" |
