]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
perf: fix build (and feature tests) for 4.1-rcX
authorBruce Ashfield <bruce.ashfield@windriver.com>
Fri, 1 May 2015 01:34:19 +0000 (21:34 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 3 May 2015 10:43:50 +0000 (11:43 +0100)
commit358be3e8896c9c61522df60c62809aaf7601a185
treea4d8f7e92543b672d4e7149d6870c4f07663c7af
parent383fb0527685cf06aa4b4a25c12f87fb7b44771f
perf: fix build (and feature tests) for 4.1-rcX

The way that perf detects features has changed/moved via commit e6c76d620
[perf build: Move feature checks code under tools/build].

This code movement resulted in the definition of CC being dropped, and
in turn the passing of --sysroot not part of the build.

This results in feature tests failing with errors such as:

  In file included from test-pthread-attr-setaffinity-np.c:1:0:
  sysroots/x86_64-linux/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/4.9.2/include/stdint.h:9:26:
  fatal error: stdint.h: No such file or directory
  # include_next <stdint.h>
                          ^
  compilation terminated.

While the fix is going upstream, we can modify the perf recipe to add
the definition of CC into the Makefile, and we'll continue to work on
patched and unpatched kernels.

Upstream-status: Pending

(From OE-Core rev: 46f842039422aa35f62b03f11b648c02980ea1b1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/perf/perf.bb