sstate: Add extra intercept functions
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Aug 2014 14:48:09 +0000 (15:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Aug 2014 14:12:42 +0000 (15:12 +0100)
commit896059e95f2215e8bb8440bcdf766f3871a1e988
treecfce15e5c6008870c23aa072c8154ae96dd1a70d
parent565d3570fd18cf4e93a05ff54b1638d84014c6e7
sstate: Add extra intercept functions

In some cases we do either need to add extra sstate manipulation
functions, or change the existing modification functions. This patch
parametrises them to SSTATECREATEFUNCS and SSTATEPOSTUNPACKFUNCS and
abstracts the "hardcoded path" functions into separate functions using
these new variables.

We may use this new functionality to improve binary relocating using
patchelf for example, this at least lets us have the hooks to be able to
experiment.

(From OE-Core rev: 9d659c6f20fa4a141b491c62a3ef0dfb1f896d9c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass