On 07/30/2012 08:24 PM, Rongqing Li wrote: > > > On 2012年07月30日 17:43, Enrico Scholz wrote: >> <[email protected]> writes: >> >>> +++ b/meta/recipes-kernel/perf/perf_3.4.bb >>> ... >>> + sed -i "s:-I/usr/include/slang:-I${STAGING_INCDIR}:" >>> ${S}/tools/perf/Makefile >> >> You are patching an already staged file here: >> >> | S = "${STAGING_KERNEL_DIR}" >> >> When want to fix it in this way (another workaround might be adding >> 'WERROR=0' to EXTRA_OEMAKE), it must be done in kernel.bbclass.
That will indeed suppress the warning, but it doesn't resolve the host contamination. A proper fix would be a patch against the kernel sources . Every kernel will need this. We can help you merge into the linux-yocto kernel. >> > Thanks, I will modify it. > > -Roy > >> Enrico >> >> _______________________________________________ >> Openembedded-core mailing list >> [email protected] >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core >> >> > -- Darren Hart Intel Open Source Technology Center Yocto Project - Technical Lead - Linux Kernel _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
