oprofile: remove AX_KERNEL_VERSION from acinclude.m4
authorTom Zanussi <tom.zanussi@linux.intel.com>
Sun, 27 Jan 2013 14:45:14 +0000 (08:45 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Feb 2013 15:54:29 +0000 (15:54 +0000)
commit3f71fa03e7386bcc09d83bd7f679835cf290bf85
tree8d045c4db5e1919619fa48973c89eaebb11e9444
parent221271d4c8c91771820f20389cfc113651655050
oprofile: remove AX_KERNEL_VERSION from acinclude.m4

The version of this macro in acinclude.m4 is preventing the correct
version in the package's kernelversion.m4 from being used.

Since the version in acinclude.m4 includes the obsolete config.h, any
test that uses it with newer (> 2.6.19) kernels fails.  In the case of
oprofile it means that perf_events support is never detected and thus
'legacy oprofile' is always built.

Fixing this allows the new perf_events 'operf' support to be built.

Fixes [YOCTO #3447]

(From OE-Core rev: 3f7f17894c097ebaa81055c8449c543b734df541)

(From OE-Core rev: 6fac31c7930e228efe5fed978964885e37a4da80)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/oprofile/oprofile/acinclude.m4