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: rongqing.li-cwa4wttnnzf54taoqty...@public.gmane.org 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

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

2012-07-30 Thread rongqing.li
From: Roy.Li rongqing...@windriver.com [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 rongqing...@windriver.com ---

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

2012-07-30 Thread Enrico Scholz
rongqing.li-cwa4wttnnzf54taoqty...@public.gmane.org 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

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: rongqing.li-cwa4wttnnzf54taoqty...@public.gmane.org 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 =