summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFahad Usman <fahad_usman@mentor.com>2012-12-12 12:08:37 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-17 17:24:53 +0000
commiteef3b8d869bf36e96c43309ca437d9832bd90a2d (patch)
treeb7ac93ba23e22bd9982bc7c1c2ef3a29ec4956f4
parent40bb94f63eafaf4a58e745cd10ce77e28ce3abd2 (diff)
downloadpoky-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.bb6
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."
9LICENSE = "GPLv2" 9LICENSE = "GPLv2"
10LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" 10LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
11 11
12PR = "r5" 12PR = "r6"
13 13
14require perf.inc 14require perf.inc
15 15
@@ -79,6 +79,10 @@ do_install() {
79 fi 79 fi
80} 80}
81 81
82do_configure_prepend () {
83 sed -i 's,-Werror ,,' ${S}/tools/perf/Makefile
84}
85
82PACKAGE_ARCH = "${MACHINE_ARCH}" 86PACKAGE_ARCH = "${MACHINE_ARCH}"
83 87
84FILES_${PN} += "${libexecdir}/perf-core" 88FILES_${PN} += "${libexecdir}/perf-core"