]> code.ossystems Code Review - openembedded-core.git/commit
recipes-kernel: make perf a standalone package
authorLiang Li <liang.li@windriver.com>
Wed, 20 Jun 2012 14:31:40 +0000 (10:31 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Jun 2012 11:46:13 +0000 (12:46 +0100)
commitab883d0c1a05bd99e97e5d71bc7bed05cb1ae8c8
tree06020f57f8b06a10933588c71b36addd5fbe26c9
parente6cadd9074b18798f2df7c3f89dc35a98c29b6e5
recipes-kernel: make perf a standalone package

perf has been coupled to the kernel packages via kernel.bbclass.
While maintaining the build of perf out of the kernel source tree
is desired the package coupling has proved to be awkward in
several situations such as:

  - when a kernel recipe doesn't want to build/provide perf
  - when licensing of dependencies would prohibit perf and hence
    the kernel from being built.

To solve some of these problems, this recipe is the extraction of
the linux-tools.inc provided perf compilation into a standalone
perf recipe that builds out of the kernel source, but is otherwise
independent.

No new functionality is provided above what the linux-tools.inc
variant provided, but the separate recipe provides baseline for
adding new functionality.

Signed-off-by: Liang Li <liang.li@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass
meta/recipes-kernel/perf/perf_3.4.bb [new file with mode: 0644]