Re: [OE-core] [PATCH] perf-3.4: fix hardcoded slang include dir

2012-08-02 Thread Darren Hart
On 07/30/2012 08:24 PM, Rongqing Li wrote: > > > On 2012年07月30日 17:43, Enrico Scholz wrote: >> 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 f

Re: [OE-core] [PATCH] perf-3.4: fix hardcoded slang include dir

2012-07-30 Thread Rongqing Li
On 2012年07月30日 17:43, Enrico Scholz wrote: 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 th

Re: [OE-core] [PATCH] perf-3.4: fix hardcoded slang include dir

2012-07-30 Thread Enrico Scholz
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 '

[OE-core] [PATCH] perf-3.4: fix hardcoded slang include dir

2012-07-30 Thread rongqing.li
From: Roy.Li [YOCTO #2853] Sysroot in CFLAGS can not pass into Makefile, and slang include dir becomes the hardcoded host dir, fix it by using STAGING_INCDIR. And add dependency on slang Signed-off-by: Roy.Li --- meta/recipes-kernel/perf/perf_3.4.bb |6 +- 1 files changed, 5 insertio