summaryrefslogtreecommitdiffstats
path: root/meta/classes/src_distribute.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie2012-03-051-6/+6
| | | | | | | | | | | | Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* getVar/setVar cleanupsRichard Purdie2011-11-271-3/+3
| | | | | | | | | Complete the bb.data.getVar/setVar replacements with accesses directly to the data store object. (From OE-Core rev: 2864ff6a4b3c3f9b3bbb6d2597243cc5d3715939) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-101-8/+8
| | | | | | | | | | | | | | | | | This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` (From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* src_distribute.bbclass, src_distribute_local.bbclass: mostly rewrittenOtavio Salvador2011-10-201-17/+37
| | | | | | | | | | | | | | | | | | | The code used to reference unavailable variables and mistakenly define the tasks so fully demonstrating this have not been in use for a while. During the code rewrite, it was extended to copy also the patches into the source distribution directory but using the PF as prefix to avoid name colision among other recipes. As 'distsrcall' task was not properly defined and noone noticed it, until now, it got renamed to 'distribute_sources_all' as it is a better and more meanful name for the task. (From OE-Core rev: 6b6e0667871fb5f43b68440954c3ad629dfc92e7) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* src_distribute: Set EXPORT_FUNCTIONS correctlyRichard Purdie2010-11-011-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* src_distribute: fix when licenses are separated with |, renamed vars to more ↵Marcin Juszkiewicz2007-06-071-3/+3
| | | | | | readable ones git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1885 311d38ba-8fff-0310-9ca6-ca027cbcb966
* src_distribute.bbclass: add distsrcall task which calls ↵Marcin Juszkiewicz2007-06-051-0/+6
| | | | | | do_distribute_sources recursively git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1863 311d38ba-8fff-0310-9ca6-ca027cbcb966
* src_distribute classes: store sources in tmp/deploy/sources/LICENSE dirsMarcin Juszkiewicz2007-06-051-31/+12
| | | | | | | | - recipe with few licenses has source stored in few directories - recipes without LICENSE have source stored in "unknown" directory git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1862 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Rename /openembedded/ -> /meta/Richard Purdie2006-07-211-0/+40
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966