aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib
AgeCommit message (Collapse)Author
2012-06-26yocto-bsp: update yocto-bsp xorg.conf templatesTom Zanussi
The non-x86 qemu machines now require an xorg.conf, change the templates accordingly. Fixes [YOCTO #2559] (From meta-yocto rev: d465c09d8df0e6d210ba8cd3c17549a07a8e134d) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-26yocto-bsp: update yocto-bsp machine.conf templateTom Zanussi
Some changes in the ordering assumptions of the qemu include rendered X inoperative, fix those in the qemu machine template. Fixes [YOCTO #2559] (From meta-yocto rev: c3d208267dea6bc0f8be2eb9c63b4125730bb21b) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05kernel.py: replace os.popen with subprocess.PopenRobert Yang
Replace os.popen with subprocess.Popen since the older function would fail (more or less) silently if the executed program cannot be found More info: http://docs.python.org/library/subprocess.html#subprocess-replacements [YOCTO #2454] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2012-05-06yocto-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-05-06yocto-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>