summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp/engine.py
Commit message (Collapse)AuthorAgeFilesLines
* yocto-bsp: set branches_base for list_property_values()Tom Zanussi2013-01-031-0/+4
| | | | | | | | | | | | | | yocto_bsp_list_property_values() is missing the context it needs to properly filter choicelists, so add it to the context object. Fixes [YOCTO #3233] (From meta-yocto rev: 064b15f76c5b52899f4c3fdef06412c3063062a5) (From meta-yocto rev: 601b6227908f3dd7972ad62c53d1041f4429aeb2) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-bsp: generate default properties even if json specifiedTom Zanussi2012-08-211-2/+2
| | | | | | | | | Users seem to want to specify incomplete property sets when using json input. Allow this by generating default properties before the user-specified properties are applied; the user will then get the defaults for any unspecified values, and avoid cryptic backtraces. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: use rstrip() for assignment linesTom Zanussi2012-08-211-1/+1
| | | | | | | | strip() isn't necessary and causes unintended formatting changes in the output; rstrip() remove the trailing newlines as intended while leaving indenting whitespace intact. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: add standard branch mappingTom Zanussi2012-08-211-0/+21
| | | | | | | Add a mechanism to distinguish common-pc variants of standard branches. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: allow branch display filteringTom Zanussi2012-08-211-0/+7
| | | | | | | Add a "branches_base" property that can be used to allow only matching branches to be returned from all_branches(). Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: add new strip_base() functionTom Zanussi2012-08-211-0/+10
| | | | | | | Add a strip_base() function to remove '/base' from the branch names presented to the user. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: enable property value display of nested propertiesTom Zanussi2012-04-141-2/+54
| | | | | | | | | | | Previous versions of yocto-bsp mapped every input element to a unique variable name, which is what the current property value display code expects. When that was changed to a nested form, the display code wasn't updated to match - this updated does that. Fixes [YOCTO #2222] Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: add templating engineTom Zanussi2012-03-221-0/+1436
The main implementation of the Yocto BSP templating engine, essentially containing the internal implementation of the 'yocto-bsp create' and yocto-bsp list' commands. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>