kernel: save $kerndir/tools and $kerndir/lib from pruning
authorBruce Ashfield <bruce.ashfield@windriver.com>
Tue, 17 Jul 2012 12:37:54 +0000 (12:37 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:21:41 +0000 (08:21 -0800)
commit5ba3c70989d4c01e0a307cc0dd4f493e44065987
tree3ffc73dac2a578c644c9a169bd9722a6a96cf93f
parented72ed8dea89e8de6609a8a9951cacb6f10331cd
kernel: save $kerndir/tools and $kerndir/lib from pruning

The kernel source tree in the sysroot has all unecessary source
code removed. The existing use case is to support module building
out of the sysroot, but as more toolsa are moved into the kernel
tree itself there are new use cases for the kernel sysroot source.

To avoid putting dependencies on the kernel, and to be able to
individually build and package these tools out of the source tree,
we can save $kerndir/tools and $kernddir/lib from being removed.
This enables tools like perf to be built our of the kernel source
in the sysroot, without significantly increasing the amount of
source in the sysroot.

(From meta-openembedded rev: 72c4d30de581a4049bbd2ebbe2eee1217ce1dffb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/classes/kernel.bbclass