]> code.ossystems Code Review - openembedded-core.git/commit
classes/externalsrc: enable global inherit and simplify usage
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 17 Jun 2013 13:46:03 +0000 (14:46 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Jun 2013 16:02:46 +0000 (17:02 +0100)
commitb1da10579a28f9a5260a0678f6f15ce4b5a2706c
treef99ec222bcd0ceb70adad59d0a59b1bb51f92b8e
parentcf59801be372bda962a94e6a406e97d20744ae45
classes/externalsrc: enable global inherit and simplify usage

This class can now be inherited globally using INHERIT += rather than
needing to inherit it in the recipe itself. Additionally, instead of
setting S (and optionally B), set EXTERNALSRC (and optionally
EXTERNALSRC_BUILD) to point to the external source and build locations
respectively.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/externalsrc.bbclass