]> code.ossystems Code Review - openembedded-core.git/commit
perf: fix v5.4+ builds
authorBruce Ashfield <bruce.ashfield@gmail.com>
Mon, 21 Oct 2019 20:16:15 +0000 (16:16 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Nov 2019 13:31:27 +0000 (13:31 +0000)
commit6a000d734c2fe57b4a601fe7e7373096345b02b4
tree5ccf2e827b2f6d9449484c0a0832d1cc45a43956
parentcad18801b7a26e8435734caaca78ec5f6d3a041f
perf: fix v5.4+ builds

When building perf for 5.4+, we have some new files that need to
be copied (and synchronized) due to structural changes in the
kernel source tree.

Some of the issues these fixes are warnings, but none the less,
they are worth fixing.

 - We copy arch/${ARCH}/Makefile, since it is source by some perf
   Makefiles

 - We copy scripts/, since the perf utilities are looking for files
   in that directory stucture.

 - We have *three* copies of ctypes.h in the tools/* hierarchy
   during the build. If the tools/perf/util/include/linux/ variant
   is used, it will trigger build errors since it is not complete.
   We copy the kernel's main include/linux/ctype.h to ensure they
   are in sync.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-kernel/perf/perf.bb