Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True) | Richard Purdie | 2012-03-05 | 1 | -1/+1 |
| | | | | | | | | | | | | 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> | ||||
* | Convert to use direct access to the data store (instead of bb.data.*Var*()) | Richard Purdie | 2011-11-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | 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> | ||||
* | metadata_scm.bbclass: Use COREBASE to grok for SCM operations | Khem Raj | 2011-05-11 | 1 | -4/+1 |
| | | | | | | | (From OE-Core rev: 17c8c41b837d66bd3cc02c4c60e62dcfc13b80a8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||||
* | metadata_scm: Ensure that if an SCM isn't present, we dont print a revision ↵ | Richard Purdie | 2010-10-21 | 1 | -3/+6 |
| | | | | | | of 'fatal:' as it looks bad Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> | ||||
* | metadata_scm.bbclass: Make errors quiet if we're not in a git based scm | Joe Sauer | 2010-06-08 | 1 | -2/+2 |
| | | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> | ||||
* | base.bbclass: Split up as per the patch in OE.dev by Chris Larson making ↵ | Richard Purdie | 2010-03-19 | 1 | -0/+77 |
code more readable and modularised Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> |