aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib
AgeCommit message (Collapse)Author
2013-01-03yocto-bsp: set branches_base for list_property_values()Tom Zanussi
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>
2012-08-21yocto-bsp: use base branches for qemu 'newbranch' caseTom Zanussi
The branch updating for the [YOCTO #2587] fix inadvertently changed some of the qemu branch names incorrectly, fix it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-21yocto-bsp: generate default properties even if json specifiedTom Zanussi
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>
2012-08-21yocto-bsp: use emgd 1.10 for i386 templateTom Zanussi
Make i386 template use emgd 1.10 for denzil, along with associated changes. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-21yocto-bsp: add i586 option for i386Tom Zanussi
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-21yocto-bsp: add some standard policyTom Zanussi
Add some useful default options to to the i386 and x86_64 templates. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-21yocto-bsp: remove 'branch' statements in .scc if reusing branchTom Zanussi
If reusing a branch (need_new_branch == 'n') we don't need to branch in the .scc, so make it conditional on need_new_branch. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-21yocto-bsp: use rstrip() for assignment linesTom Zanussi
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>
2012-08-21yocto-bsp: use standard branch mapping in bsp templatesTom Zanussi
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-21yocto-bsp: add standard branch mappingTom Zanussi
Add a mechanism to distinguish common-pc variants of standard branches. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-21yocto-bsp: use branches_baseTom Zanussi
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-21yocto-bsp: allow branch display filteringTom Zanussi
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>
2012-08-21yocto-bsp: update default branch namesTom Zanussi
Make sure the default branch names match branch names found in the kernel branch listing. Fixes [YOCTO #2587]. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-21yocto-bsp: strip '/base' from kernel branches in templatesTom Zanussi
For new branches, users can specify /base branches, but we don't want the '/base' in the resultant branch name, so remove it. Fixes [YOCTO #2693]. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-21yocto-bsp: add new strip_base() functionTom Zanussi
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>
2012-06-05yocto-bsp: clarify help with reference to meta-intelTom Zanussi
The current yocto-bsp help assumes knowledge that the meta-intel layer needs to be cloned before it's put into the BBLAYERS. Avoid the guesswork and state the details explicitly in the help. Also, the shorter 'usage' string doesn't mention it at all; it would help to at minimum mention it and refer the user to the detailed help. Fixes [YOCTO #2330]. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05yocto-kernel: use BUILDDIR to find bblayers.confTom Zanussi
The current code assumes that builddir == srcdir/build, which it obviously isn't sometimes. Use BUILDDIR to get the actual builddir being used. Fixes [YOCTO #2219]. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17yocto-bsp: remove kernel26 machine feature from templatesTom Zanussi
kernel26 is now obsolete so remove it from the templates that use it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-04-14yocto-bsp: fix x86_64 tuning for qemu archTom Zanussi
While testing the fix for [YOCTO #2222] I noticed that the tuning for the qemu x86_64 target was using the wrong tuning file - it should be x86_64 instead of i586. Change the template to match. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-04-14yocto-bsp: fix multi-provider error in qemu arch templateTom Zanussi
While testing the fix for [YOCTO #2222] I noticed a new build error that wasn't there in previous testing: ERROR: Multiple .bb files are due to be built which each provide virtual/libgl The build still completed and produced a good image, but an error message was displayed, which this patch removes. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-04-14yocto-bsp: fix qemuarch test for xserver-xf86-config.bbappendTom Zanussi
While testing the fix for [YOCTO #2222] I noticed that the qemuarch test was wrong - there is no 'x86' qemuarch, just 'i386'. Change the test to match. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-04-14yocto-bsp: enable property value display of nested propertiesTom Zanussi
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>
2012-04-06scripts: Clarify "help" info for yocto-bsp and yocto-kernelRobert P. J. Day
Tweak the help info for both "yocto-bsp" and "yocto-kernel" to emphasize that those are the *complete* lists of commands, not just the most commonly used ones. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2012-03-22yocto-bsp: add some useful constantsTom Zanussi
Some constants used by the templating engine. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-03-22yocto-bsp-tools: add help/usageTom Zanussi
This is essentially 'the documentation' for the Yocto BSP tools, along with a few related functions. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-03-22yocto-bsp: add kernel interfaceTom Zanussi
Yocto BSP kernel-related functions, for interacting with the kernel tools and implementing the machinery behind the 'yocto-kernel' command. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-03-22yocto-bsp: add templating engineTom Zanussi
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>
2012-03-22yocto-bsp-tools: add bsp libraryTom Zanussi
Create a home for the yocto bsp tools. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-03-22yocto-bsp: add BSP template filesTom Zanussi
BSP template files for all supported Yocto architectures, plus qemu versions of the same. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>