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
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
---
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
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 =