summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* site/arm-common: alignment values for guin32, guin64 and unsigned longTomas Frydrych2012-05-071-0/+3
| | | | | | These are required to build recent versions of glib-2.0 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/powerpc-common: alignment values for guin32, guin64 and unsigned longSaul Wold2012-05-071-0/+5
| | | | | | | | | These are required to build recent versions of glib-2.0 (From OE-Core rev: e9fd8e3d01091aebbc4b3584d9febc695836e4c3) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/mips-common: alignment values for guin32, guin64 and unsigned longSaul Wold2012-05-071-0/+4
| | | | | | | | | These are required to build recent versions of glib-2.0 (From OE-Core rev: 8fa607c1430674bee1f1f80d33f8939d7f0b1100) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Clear the building status if command failedDongxiao Xu2012-05-071-0/+2
| | | | | | | | | | | | We may meet certain command failure during build time, for example, out of memory. In this case, we need to clear the "building" status. This fixes [YOCTO #2371] (Bitbake rev: 283dbbbf5d34adb4c9e3aa87e3925fdebe21ff42) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/tests/fetch: Add simple http fetcher testsRichard Purdie2012-05-071-0/+42
| | | | | | (Bitbake rev: 27b89561781f19fd95308433bec06fa8b7b354e8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/fetch2/wget: Add fallback/default wget commandsRichard Purdie2012-05-071-4/+4
| | | | | | (Bitbake rev: 9586808572d06de4127f6a524e87e9ad75232423) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/fetch2/wget: Remove unneeded function indirection and reindentRichard Purdie2012-05-071-26/+23
| | | | | | (Bitbake rev: 769b92b14a1dfbbf697b8f4bf9a5a828807fd885) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/fetch2/wget: Remove unnecessary use of OVERRIDESRichard Purdie2012-05-071-7/+3
| | | | | | | | This allows some simplifications of the function and is slightly faster. (Bitbake rev: 5999dc9985ad087c036611bfaa59b090a08781a6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/fetch2: When unpacking, only use PATH variable if its setRichard Purdie2012-05-071-1/+3
| | | | | | (Bitbake rev: ffec38675c0d78ee9fcd1d8f5a746d162145554e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/fetch2: Remove WORKDIR reference, should use passed parameterRichard Purdie2012-05-071-1/+1
| | | | | | (Bitbake rev: 9384dfaf644365c731be26572443287ce8f190b2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-bsp: clarify help with reference to meta-intelTom Zanussi2012-05-061-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-05-061-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>
* poky.conf: use correct version string for Ubuntu 12.04Paul Eggleton2012-05-061-1/+1
| | | | | | | | | Since it is an LTS release, the final version string was not "Ubuntu 12.04" but "Ubuntu 12.04 LTS", so use this when doing the tested host distribution check. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initrdscripts: Update install.sh to work with mmc devicesDarren Hart2012-05-062-22/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [YOCTO #2385] The installer only searches for hd[ab] sd[ab]. Some newer BSPs have mmcblk devices that should be used as the install target. These devices also have a partition prefix (mmcblk0p1 instead of mmcblk01). As they are detected asynchronously, it is necessary to add the rootwait kernel parameter to avoid a race condition trying to mount the root device. As BSPs like the FRI2 and the sys940x have mmc devices and will have a 1.2 release, we should push this to 1.2.1. The changes are perfectly contained and easily verified. Test for an mmcblk device and add the p partition prefix if necessary. Add the rootwait kernel parameter when an mmcblk device is detected. Replace the series of explicit umount commands with a single umount using a wildcard. This will find all the partitions and will not try to unmount non-existant devices. Avoid copy and paste errors by replacing /dev/${device}${pX} references with the previously assigned rootfs, bootfs, and swap variables. These changes have been tested on the FRI2 Sato image which installed to /dev/mmcblk0 as well as the N450 Sato image which installed to /dev/sda. Both were successful. (From OE-Core rev: bf403680d72e360c7382f540ea25cfdcbe77b4e5) Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: be sh neutralBernhard Reutner-Fischer2012-05-062-13/+16
| | | | | | | | | Now runs with dash and busybox' ash as well as with bash (From OE-Core rev: 2b93ed90736ed08c25561e24343a5ef2b8f7dbef) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: minor tweaksBernhard Reutner-Fischer2012-05-061-19/+21
| | | | | | | (From OE-Core rev: cda565317eefbac1b7fb268d3d8720ebae8057fa) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: add and use error()Bernhard Reutner-Fischer2012-05-061-46/+25
| | | | | | | (From OE-Core rev: d77186606efdbb03fd92e7ee9e9ee2f9be601ba5) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: simplify process_filename()Bernhard Reutner-Fischer2012-05-061-22/+25
| | | | | | | (From OE-Core rev: 042efbe653b699bd33175117e1363d87e4602e4f) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: use modern, single-char name of test(1)Bernhard Reutner-Fischer2012-05-061-23/+23
| | | | | | | | | | I do not have "[[", just "[". Be gentle to users of legacy-free setups, also by using '=' instead of the double notation. (From OE-Core rev: e96ba42a977f4c07aa196ce379ecd73e4ddc23c5) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: Use OE_TMPDIRBernhard Reutner-Fischer2012-05-061-16/+11
| | | | | | | | | | The error message erroneously talked about TMPDIR. Just use OE_TMPDIR everywhere to make the name of the variable obvious. (From OE-Core rev: 7b633d0a4cf9aa05e6243974bab2b780c246f8ba) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6: disable cloog, change syntax to disable pplAndreas Oberritter2012-05-061-2/+3
| | | | | | | | | | | | | | | | | * Backported from 523df15bcc21e1749771cca757613f3520243b8e as suggested by Khem. * Original commit message: If build system has those libraries installed gcc configure will pick them up. We want consistent builds so we disable them since we do not (yet) support them (From OE-Core rev: 9de1de7c2c4e9f5accb4dd082fe819a711defbfb) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Return correct endianness for mips64Khem Raj2012-05-061-1/+1
| | | | | | | | | Regular expression did not check for mips64 (From OE-Core rev: 945b817d381bdb68202982536daaaaff78ad5761) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* terminal.bbclass, oe-buildenv-internal: pass SCREENDIR environment variableJason Wessel2012-05-062-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some versions of the screen utility provided from the host OS vendor write the socket directory to $HOME/.screen. When using a shared home directory across many servers, one sets the SCREENDIR environment variable to avoid collisions in the shared home directory. This results in problems launching a devshell where it is not entirely obvious what happened because the SCREENDIR environment variable got stripped from the environment prior to setting up the screen in detached mode. Example: % bitbake -c devshell busybox # ...Please connect in another terminal with "screen -r devshell" % screen -r devshell There is no screen to be resumed matching devshell. The temporary work around was to do something like: sh -c "unset SCREENDIR; screen -r devshell" This patch adds SCREENDIR to the white list to ensure screen works properly on systems where a developer needs to use the SCREENDIR with shared home directories. (From OE-Core rev: 5568a8f5a1c65bae021b2e36d735d3153acc6d72) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/machine: Clean up configuration values.Peter Seebach2012-05-067-6/+14
| | | | | | | | | | | This cleans up and/or corrects a few values from machine includes for consistency with future toolchain sanity checks, and also adds the TUNEVALID and TUNECONFLICTS to documentation.conf. (From OE-Core rev: 6ffe53c721a80cf156b44f59b564f2e899c6af50) Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Fixup bitbake-selftestRichard Purdie2012-05-042-0/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Add start of bitbake regression/self testingRichard Purdie2012-05-046-0/+871
| | | | | | | | | | | | | | | This adds some basic unit testing for the codeparser and data store code. Many of the actual test cases were taken from work by Chris Larson's OE-Signatures work but with changes to adapt to the current bitbake APIs we need to test. I also imported CoW tests written by Holger Freyther from the original bitbake-test codebase: http://svn.berlios.de/wsvn/bitbake/trunk/bitbake-tests/tests/ and some tests from the doctests that were removed in commit: http://git.openembedded.org/bitbake/commit?id=3a11c2807972bbbddffde2fa67fc380d159da467 (Bitbake rev: ae4a95780e3e08cf73c854efa8cd93379e00c4e5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: enable TI shared transport plugin when wifi or bluetooth are requestedKoen Kooi2012-05-042-3/+3
| | | | | | | | | | | | | This plugin manages the firmware loading for the TI wl12xx series of bluetooth/wifi/fm chips. The double --enable-tist when both bluetooth and wireless are enabled is ugly, but harmless The background on the plugin: https://bugs.meego.com/show_bug.cgi?id=8418 (From OE-Core rev: 22254a32f05e9212411216bf1a4e48fd86b9c3ef) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: port improvements to simple.script from Debian (udhcpc)Andreas Oberritter2012-05-042-8/+21
| | | | | | | | | | | * Support resolvconf * Avoid bashism $((metric++)) * Use 'domain' instead of 'search' for domain parameter (From OE-Core rev: 3d4ccf98b83fe662f375cd5b029fdd602824c0e8) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: remove unused patches for simple.script (udhcpc)Andreas Oberritter2012-05-043-83/+1
| | | | | | | | | * OE-Core provides its own copy of simple.script. (From OE-Core rev: 3a36efc17c8504b00a7a277a67a7b10caa4d1cdc) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6: explicitly disable pplAndreas Oberritter2012-05-041-1/+2
| | | | | | | | | | * Fixes the following error after a system library upgrade | .../mipsel-oe-linux/4.6.4/cc1: error while loading shared libraries: libppl.so.10: cannot open shared object file: No such file or directory (From OE-Core rev: 2c0fb8265d4876db537850f4b20c898dde3a0f4c) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory: fix multiple commit of images and packages at the same timePaul Eggleton2012-05-041-1/+1
| | | | | | | | | | | | | | | The echo line here was merging multiple lines into one, and the result was that if both image and package changes had to be comitted then only the image changes were being committed and the package changes could potentially be merged into the next package change. Quoting the variable reference fixes this. Fixes [YOCTO #2411] (From OE-Core rev: 2086bb86885951d0a74342e30ff205c24cb93f0d) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/utils: Convert vercmp_string() to use vercmp internallyRichard Purdie2012-05-041-124/+4
| | | | | | | | | | | | | | | Having two different version comparision algorithms in bitbake has never seemed like a sensible idea. Worryingly, they also return different results to each other. The vercmp_string API is relatively unused with no users in OE-Core or BitBake itself for example. This patch converts it to use vercmp internalls, bringing consitency to the comparisions which is easy now we have other recently added functions. Yes, this changes behaviour but in this case I'd prefer we were consistent than having two different comparisions. (Bitbake rev: a569c816e016447d60624c59a750709d59a0f455) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/fetch2: Fix spelling error in network access error messageJeff Polk2012-05-041-1/+1
| | | | | | | (Bitbake rev: b766630ed7e099fffe817928a2811272677a1b26) Signed-off-by: Jeff Polk <jeff.polk@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fetch2/git: Allow file:// URLs without checking for network accessJeff Polk2012-05-041-3/+6
| | | | | | | | | | Don't check for network access before grabbing the the current head, cloning, or updating a clone when the protocol is 'file'. (Bitbake rev: d5847bc5254b9d2f28a6b574f6157d1286add27c) Signed-off-by: Jeff Polk <jeff.polk@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-package-target: add libexec for pluginSaul Wold2012-05-032-2/+2
| | | | | | | | | | | Fixes: ERROR: For recipe gcc, the following files/directories were installed but not shipped in any package: ERROR: /usr/libexec/gcc/i586-poky-linux/4.7.1/plugin/gengtype (From OE-Core rev: 0be64cda0a20ca3aab75ee0cc360236d2dc40c95) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: move kernel-vmlinux up in PACKAGESChristopher Larson2012-05-031-1/+1
| | | | | | | | | | | If KERNEL_IMAGETYPE is vmlinux, the expectation is most likely that there will be no kernel image package, but we still want a vmlinux package for debugging, so move kernel-vmlinux in front of kernel-image in PACKAGES. (From OE-Core rev: b62a44a9bf7b268296aeed64469390aa7efc2e73) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: Fix TAP='TUNSETGROUP: Invalid argument' by falling back to tunctl -uJason Wessel2012-05-032-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | By default the runqemu script tries to set the group permissions on any tap device it creates. The TUNSETGROUP ioctl is not implemented on some popular host enterprise linux distributions. Internally the script will exit as follows: ++ /opt/qemux86/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/tunctl -b -g 100 + TAP='TUNSETGROUP: Invalid argument' + STATUS=1 + '[' 1 -ne 0 ']' + echo 'tunctl failed:' tunctl failed: + echo TUNSETGROUP: Invalid argument This patch implements a fallback to using the userid as the owner of the tap device which is supported by all 2.6 kernels, the default remains to try and use the groupid first. (From OE-Core rev: 3af2bc59776fb738bd795160512a2f3f49ce6d32) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt-4.8.1: fix creating /include directory in build host rootMartin Jansa2012-05-034-2/+22
| | | | | | | (From OE-Core rev: 7d3fd68480d54a8ef0d91a772df3506cd45ef2c2) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: fix compilation issueNitin A Kamble2012-05-033-1/+31
| | | | | | | | | | | | | | | | gcc 4.7 uncovers a type mismatch in the code. And this commit fixes the issue: | /srv/home/nitin/builds/build-gcc47/tmp/sysroots/qemux86/usr/include/glib-2.0/glib/gthread.h:58:7: error: 'union' tag used in naming 'struct _GMutex' [-Werror=permissive] | In file included from ./wtf/Platform.h:1217:0, | from ./config.h:30, | from wtf/gobject/GOwnPtr.cpp:19: | wtf/gobject/GTypedefs.h:55:16: note: 'struct _GMutex' was previously declared here NOTE: package qt4-x11-free-4.8.1-r41.1: task do_compile: Failed (From OE-Core rev: 1923455340fca5e4b68a2c3ac3566a99baa93cd9) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/ix86-common, site/x86_64-linux: alignment values for guin32, guin64 and ↵Martin Jansa2012-05-032-0/+6
| | | | | | | | | | | unsigned long These are required to build recent versions of glib-2.0 (From OE-Core rev: bb996003547f9b93b734ddac11407b4eb42ecfac) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk-engines: fix build with glib-2.32Martin Jansa2012-05-032-1/+25
| | | | | | | (From OE-Core rev: 93a4f4a8e7c298c5a19e757ae797328369da104e) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nfs-utils: don't try to unload nfsd moduleAndreas Oberritter2012-05-032-9/+1
| | | | | | | | | | | * When nfsserver get's stopped, "modprobe -r nfsd" may hang indefinitely. As there's no need to unload the module, just remove the call to modprobe. (From OE-Core rev: aba81b64679ec0b1809946cb480e261af47f7625) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: disable tcpwrap by defaultSaul Wold2012-05-032-1/+2
| | | | | | | | | | | | | This ensures that tcpwrapper usage is always disabled, this was inconsistent because it would test for libwrap and sometimes enable and sometimes not. This ensures consistent build reproducibility. (From OE-Core rev: afa0efc3473fb5ba88d95594e382da2e03145c3b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* builder: Add Please Wait Dialog BoxSaul Wold2012-05-033-2/+35
| | | | | | | | | | Add dialog box while bitbake starts hob to inform user to please wait for the hob screen to become visible. (From OE-Core rev: d4d8dd9e272ee651b98bb336e96be601af366d41) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: Update to 2.12.18Saul Wold2012-05-037-3/+3
| | | | | | | | | Change the SRC_URI to use the GNU_MIRROR (From OE-Core rev: 753b22012f10c393c191d3116b9d38ee4be6d112) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xauth: Update to 1.0.7Saul Wold2012-05-031-2/+2
| | | | | | | (From OE-Core rev: 7f020c1e8429ab510f4c41ac7b7abfdd4db308fb) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bigreqsproto: Update to 1.1.2Saul Wold2012-05-031-2/+2
| | | | | | | (From OE-Core rev: cb96670f21707f8ae7ad58a6cb67cfaa6d7871a3) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xkbcomp: Update to 1.2.4Saul Wold2012-05-031-3/+2
| | | | | | | (From OE-Core rev: 7bab740e59bc25c9887d1e38e8106073b0c8c5af) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mc: Update to 4.8.3Saul Wold2012-05-031-3/+3
| | | | | | | (From OE-Core rev: b947c322efbe6984467717004105e2f8ed7588d8) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Update to 2.21.1Saul Wold2012-05-0312-3/+3
| | | | | | | (From OE-Core rev: 2114d734b9c4ace980ef9fa30dd5b5f76f49b934) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>