[OE-core] [PATCH 4/4] perf: fix for rebuilding

Bruce Ashfield bruce.ashfield at gmail.com
Tue Jan 20 16:01:37 UTC 2015


On Mon, Jan 19, 2015 at 2:11 AM, Robert Yang <liezhi.yang at windriver.com> wrote:
> Fix for rebuilding error:
> make[3]: *** No rule to make target `/path/to/sysroots/qemuarm64/usr/src/kernel/tools/lib/traceevent//trace-seq.c',

The kernel source is no longer in this location .. so at a minimum the header
needs to be updated to log the work-shared directory .. and better, make sure
that this is still happening with the latest master changes.

Bruce

> needed by `.trace-seq.d'.  Stop.
> make[2]: *** [sub-make] Error 2
>
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> ---
>  meta/recipes-kernel/perf/perf.bb |    3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
> index bd57c6c..ab7075e 100644
> --- a/meta/recipes-kernel/perf/perf.bb
> +++ b/meta/recipes-kernel/perf/perf.bb
> @@ -115,6 +115,9 @@ do_install() {
>  }
>
>  do_configure_prepend () {
> +    # Fix for rebuilding
> +    rm -rf ${B}/.*.d
> +
>      #kernels before 3.1 do not support WERROR env variable
>      sed -i 's,-Werror ,,' ${S}/tools/perf/Makefile
>      if [ -e "${S}/tools/perf/config/Makefile" ]; then
> --
> 1.7.9.5
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



More information about the Openembedded-core mailing list