summaryrefslogtreecommitdiffstats
path: root/scripts/lib
Commit message (Collapse)AuthorAgeFilesLines
* yocto-bsp: use base branches for qemu 'newbranch' caseTom Zanussi2012-08-214-8/+8
| | | | | | | 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>
* 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 emgd 1.10 for i386 templateTom Zanussi2012-08-213-4/+9
| | | | | | | Make i386 template use emgd 1.10 for denzil, along with associated changes. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: add i586 option for i386Tom Zanussi2012-08-211-2/+5
| | | | Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: add some standard policyTom Zanussi2012-08-214-0/+28
| | | | | | Add some useful default options to to the i386 and x86_64 templates. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: remove 'branch' statements in .scc if reusing branchTom Zanussi2012-08-217-8/+7
| | | | | | | 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>
* 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: use standard branch mapping in bsp templatesTom Zanussi2012-08-213-4/+4
| | | | 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: use branches_baseTom Zanussi2012-08-2124-80/+80
| | | | Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: allow branch display filteringTom Zanussi2012-08-212-0/+25
| | | | | | | 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: update default branch namesTom Zanussi2012-08-2124-46/+46
| | | | | | | | | 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>
* yocto-bsp: strip '/base' from kernel branches in templatesTom Zanussi2012-08-2124-48/+48
| | | | | | | | | 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>
* 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: clarify help with reference to meta-intelTom Zanussi2012-06-051-4/+44
| | | | | | | | | | | | | | 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>
* yocto-kernel: use BUILDDIR to find bblayers.confTom Zanussi2012-06-051-1/+6
| | | | | | | | | | | 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>
* yocto-bsp: remove kernel26 machine feature from templatesTom Zanussi2012-04-173-4/+3
| | | | | | kernel26 is now obsolete so remove it from the templates that use it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: fix x86_64 tuning for qemu archTom Zanussi2012-04-141-1/+1
| | | | | | | | 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>
* yocto-bsp: fix multi-provider error in qemu arch templateTom Zanussi2012-04-141-0/+1
| | | | | | | | | | | | 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>
* yocto-bsp: fix qemuarch test for xserver-xf86-config.bbappendTom Zanussi2012-04-141-0/+0
| | | | | | | | 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>
* yocto-bsp: enable property value display of nested propertiesTom Zanussi2012-04-142-3/+55
| | | | | | | | | | | 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>
* scripts: Clarify "help" info for yocto-bsp and yocto-kernelRobert P. J. Day2012-04-061-2/+2
| | | | | | | | 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>
* yocto-bsp: add some useful constantsTom Zanussi2012-03-221-0/+47
| | | | | | Some constants used by the templating engine. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp-tools: add help/usageTom Zanussi2012-03-221-0/+570
| | | | | | | 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>
* yocto-bsp: add kernel interfaceTom Zanussi2012-03-221-0/+723
| | | | | | | | 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>
* 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>
* yocto-bsp-tools: add bsp libraryTom Zanussi2012-03-221-0/+22
| | | | | | Create a home for the yocto bsp tools. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: add BSP template filesTom Zanussi2012-03-2296-0/+2665
BSP template files for all supported Yocto architectures, plus qemu versions of the same. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>