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

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Mon Jul 30 09:43:14 UTC 2012


<rongqing.li-CWA4WttNNZF54TAoqtyWWQ at 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 this way (another workaround might be adding
'WERROR=0' to EXTRA_OEMAKE), it must be done in kernel.bbclass.


Enrico




More information about the Openembedded-core mailing list