<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 12, 2012 at 2:08 AM, Fahad Usman <span dir="ltr">&lt;<a href="mailto:fahad_usman@mentor.com" target="_blank">fahad_usman@mentor.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">this fails to build using a recent sourcery toolchain due to<br>
unused-but-set-variable<br>
<br>
Signed-off-by: Christopher Larson &lt;<a href="mailto:chris_larson@mentor.com">chris_larson@mentor.com</a>&gt;<br>
<br>
the patch was imported from meta-mentor layer on yoctoproject git server<br>
<a href="http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor" target="_blank">http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor</a> as of commit ids<br>
82e96b3baa1c64d03412871fce56d496a338f167 and<br>
ae325d011bd50501fe677c8b37295ae83030c526<br>
<br>
Signed-off-by: Fahad Usman &lt;<a href="mailto:fahad_usman@mentor.com">fahad_usman@mentor.com</a>&gt;<br>
---<br>
 meta/recipes-kernel/perf/<a href="http://perf_3.4.bb" target="_blank">perf_3.4.bb</a> |    6 +++++-<br>
 1 file changed, 5 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/meta/recipes-kernel/perf/<a href="http://perf_3.4.bb" target="_blank">perf_3.4.bb</a> b/meta/recipes-kernel/perf/<a href="http://perf_3.4.bb" target="_blank">perf_3.4.bb</a><br>
index b094362..4e6d03d 100644<br>
--- a/meta/recipes-kernel/perf/<a href="http://perf_3.4.bb" target="_blank">perf_3.4.bb</a><br>
+++ b/meta/recipes-kernel/perf/<a href="http://perf_3.4.bb" target="_blank">perf_3.4.bb</a><br>
@@ -9,7 +9,7 @@ as well.&quot;<br>
 LICENSE = &quot;GPLv2&quot;<br>
 LIC_FILES_CHKSUM = &quot;file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7&quot;<br>
<br>
-PR = &quot;r5&quot;<br>
+PR = &quot;r6&quot;<br>
<br>
 require perf.inc<br>
<br>
@@ -79,6 +79,10 @@ do_install() {<br>
        fi<br>
 }<br>
<br>
+do_configure_prepend () {<br>
+    sed -i &#39;s,-Werror ,,&#39; ${S}/tools/perf/Makefile<br>
+}<br></blockquote><div><br></div><div>Is this still an outstanding issue in the latest kernel with perf ?</div><div>I don&#39;t mean the removal of the -Werror, but the unused variable ?</div><div>I&#39;m just trying to make sure that a patch is going upstream to the source, so</div>
<div>we can eventually drop something like this from the perf build.</div><div><br></div><div>Cheers,</div><div><br></div><div>Bruce</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

+<br>
 PACKAGE_ARCH = &quot;${MACHINE_ARCH}&quot;<br>
<br>
 FILES_${PN} += &quot;${libexecdir}/perf-core&quot;<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.7.9.5<br>
<br>
<br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core" target="_blank">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>&quot;Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end&quot;<br>
</div>