summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* codeparser: use ==, not 'is' to compare stringsChris Larson2011-03-311-2/+2
| | | | | | | (Bitbake rev: 8f5cf3a9975d8e6878e403be0e6edc22cc44f396) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb.siggen: import osChris Larson2011-03-311-0/+1
| | | | | | | (Bitbake rev: cd274f653c677daa69b2e15ffed803b7b1d25a43) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* utils: fix typo in lockfileChris Larson2011-03-311-1/+1
| | | | | | | (Bitbake rev: 53a10b6793c5bdb45854483abe5da791058dfd84) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lockfile: ask for forgiveness, not permissionChris Larson2011-03-311-7/+6
| | | | | | | | | | | | | | | | | | | | Create the lockfile directory if it doesn't exist, rather than erroring out if it doesn't exist (was also racy). Also improve the wording of the error message shown when the lockfile's directory is not writable. Note for the future, this function should be improved, particularly with regard to its exception handling. It should be catching the *exact* exception(s) it will encounter when the file is locked, and continuing in that case only. If it did that, there'd be no need for the proactive directory writability check, as bb.utils.lockfile() would raise an appropriate IOError for that case. (Bitbake rev: 238151441c74db53d6e4d4753f4f96c32f6f13b6) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* goggle: exit quietly on ^CChris Larson2011-03-311-0/+2
| | | | | | | (Bitbake rev: bdd10e9b357417774f30cc52e89e3fa83bbbbfc0) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clutter-box2d: add version 0.10.0 for use with clutter 1.6Joshua Lock2011-03-294-3/+51
| | | | | | | | | | Don't specificy dependant clutter version in inc file, this enables the inc file to be re-used accross Clutter versions. (From OE-Core rev: 8d26abb57e901f58b5c8782c110c52a437accb51) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clutter-gtk: remove duplicate gtk+ DEPENDS entryJoshua Lock2011-03-291-1/+1
| | | | | | | | | the inc file already specifies the gtk+ dependancy (From OE-Core rev: 9768214eef2d6d8ad37a535877cae1eb0f044c2b) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clutter-gst: add 1.3.6 for use with clutter 1.6Joshua Lock2011-03-292-1/+17
| | | | | | | | | | The inc file should be usable across clutter versions, plus this is already set in the clutter-box2d-1.4_git.bb recipe (From OE-Core rev: 8fcd08b7ec1dbf1087e8f2c79830cec8238398bf) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clutter: add 1.6.8Joshua Lock2011-03-291-0/+25
| | | | | | | (From OE-Core rev: 9d324412eb7b7c0ee4ceadb6491e4c6296dde07e) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation/yocto-project-qs/yocto-project-qs.xml: removed (YP) acronymScott Rifenbark2011-03-291-1/+1
| | | | | | | | | I removed this YP acroynm since we never use it. (From OE-Core rev: b37cab45b4f0dbba0dedbbbe240e91db30df4b8c) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/runqueue: fix clash when setscene & real tasks done in same buildPaul Eggleton2011-03-291-0/+19
| | | | | | | | | | | | | | | | | If a build causes a real task to be run when the setscene task has already run then it was possible for dependent packages to be rebuilding at the same time as a rebuild of the packages they depended on, resulting in failures when files were missing. This change looks in the setscene covered list and removes anything where a dependency of the real task is going to be run (e.g. do_install is going to be run even though the setscene equivalent of do_populate_sysroot has already been run). As an additional safeguard we also delete the stamp file for the setscene task under these circumstances. Fixes [YOCTO #792] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* package_rpm: Ensure we take the sstate shared lockfile in the place we write ↵Richard Purdie2011-03-291-6/+3
| | | | | | | | | | | | | | | | files The point we need to take the lock is when the rpm files are written into the deploy rpm directory. Since sstate makes the actual installation of the files, that is the point we need to take the lock. This also stops the deploy/rpm directory being accessed for a lock before it exists. [YOCTO #797] [YOCTO #925] (From OE-Core rev: 833a1e970f087dfcb32967cee3e24540f041cde0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: Add support for taking shared lockfilesRichard Purdie2011-03-291-0/+7
| | | | | | (From OE-Core rev: c411a10e06f479ff364c07766f7c77907b7b4a16) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: Remove uneeded do_populate_sysroot requirement for imagesRichard Purdie2011-03-291-3/+0
| | | | | | (From OE-Core rev: 68d19cc52869d7732fac0d185be811bc38334970) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: Add dependencies on native versions of update-alternatives ↵Richard Purdie2011-03-291-0/+1
| | | | | | | | and updated-rc.d explicitly (From OE-Core rev: c7ab6c5697b5ab18848576ffd0b5cc8e5f89de01) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base/kernel/image.bbclass: Clean up do_deploy ordering to ensure it just ↵Richard Purdie2011-03-294-3/+4
| | | | | | | | happens before a build completes (From OE-Core rev: a3b80688465ba5ba7e6d514f9a40ee224a9d3a28) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Disable -feliminate-dwarf2-dups flag until it works with ↵Richard Purdie2011-03-291-1/+2
| | | | | | | | prelink and other issues are resolved (From OE-Core rev: 43dd780ace029c231f70424a510c934f436e513c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/meta: fix SRCREVBruce Ashfield2011-03-291-1/+1
| | | | | | | | | | | | | | The SRCREV that was pushed to meta isn't even a commit Id on the meta branch. As a result, the recovery code for bad SRCREV can't trigger and fix things up due to conflicting files between the branches. Updating to the right SRCEV fixes the problem. (From OE-Core rev: 594d43d91c7a604325a6100a48f76682c9218ff4) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "bitbake/gcc: Enable a shared common source tree"Richard Purdie2011-03-294-24/+4
| | | | | This reverts commit 12b163dbd81cafafec1ebe3c4039c65af60ee261 as it was an unintended change for master
* poky.conf: Add missing POKY_EXTRA_RDEPENDS qemu changes for mipc/ppcRichard Purdie2011-03-281-0/+2
| | | | | | [YOCTO #394] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix file rename from version upgradeRichard Purdie2011-03-281-0/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/gcc: Enable a shared common source treeRichard Purdie2011-03-284-4/+24
| | | | | | | | | | | | | | | | | | | | | This patch is a quick proof of concept to show how source code could be shared between recipes which use ${B} to have a separate build directory compared to source directory ${S}. Issues: a) gcc uses sed and creates config files against ${S} which means the directory should not be shared. Need to change the way that works. b) Could be extended to cover eglibc except there is a patch applied against nativesdk versions which again makes the source incompatible. c) Need to clean up the layout in work-shared and make a directory level deeper to ensure patch separation. d) clean task does not remove stamps Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation/adt-manual/adt-prepare.xml: Added instruction for building ADT ↵Scott Rifenbark2011-03-251-3/+11
| | | | | | | | | | | | | | | | tarball I added a note in the "Installing the ADT" section (2.1) saying that if you need to build the ADT tarball you can use 'bitbake adt-installer'. I also changed the location of the toolchain from '...yocto-0.9' to '...yocto-1.0'. Finally, I changed the host sub-directory in the toolchain directory from 'i586' to i686'. (From OE-Core rev: 18124c5065fc570e672d068e915e0f476d20379c) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: Bump to post 1.0 versionRichard Purdie2011-03-251-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation/yocto-project-qs/yocto-project-qs.xml: [BUGID# 931] - Removed ↵Scott Rifenbark2011-03-251-11/+0
| | | | | | | | | | | | | Fedora 14 bitbake native note [BUGID# 931] - I have removed the Note indicating that the user must run 'bitbake make-native' if running Fedora 14. This is no longer a requirement for YP Release 1.0 (From OE-Core rev: 33a529f94c494531dbbfca5050898eb4c42f64df) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation/yocto-project-qs/yocto-project-qs.xml: Bug reference added ↵Scott Rifenbark2011-03-251-2/+4
| | | | | | | | | | | | | | | | | | | | courtesy Colin Walters In the Quick Start there is a note indicating that you should run 'bitbake make-native' followed by 'bitbake poky-image-sato' if you are running Fedora 14 or another distribution that ships with GNU. Colin Walters submitted a patch that offerred an URL for further explanation on a Make Bug. The URL is http://www.mail-archive.com/bug-make@gnu.org/msg06220.html. Rather than submit Colin's patch verbatim I updated the note to include the reference with a little different wording. This extra information submitted by Colin will be very helpful. (From OE-Core rev: d32ccd0ce620942447c7b49c6117c2ea7eff46ff) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* README.hardware: add Freescale MPC8315E-RDB; other minor tweaksPaul Eggleton2011-03-251-1/+69
| | | | | | | | | | | | * Add Freescale MPC8315E-RDB instructions (based on Wind River README passed on by Bruce Ashfield) * Add short info paragraph for RouterStation Pro (to match BeagleBoard) * Add example for connecting to RouterStation Pro serial console with picocom (From OE-Core rev: 58d443a2ff300ff290486b2153f8a90a8ca2a89b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Upgrade 0.13.0 -> 0.14.0Khem Raj2011-03-2523-927/+544
| | | | | | | | | | | | | * ppc-hack patch is dropped. * Other patches which were direct backports or has been merged upstream in 0.14.0 are also dropped (From OE-Core rev: 97fbdfdbfb15de325fd148bcecc9187d0f778db5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: add BBCLASSEXTEND = nativeKoen Kooi2011-03-251-0/+2
| | | | | | | | | This is needed for the native recipes in meta-efl (From OE-Core rev: 073f162529e5b84f12d348ae49edccc377ec5f7e) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update to 2.6.37.5Bruce Ashfield2011-03-251-12/+12
| | | | | | | | | | | | | | | | The 2.6.37.5 -stable update is available, so it now becomes the new base for linux-yocto. All qemu targets have been built and booted. Changelog is available via: git log --pretty=oneline --abbrev-commit v2.6.37.3..v2.6.37.5 (From OE-Core rev: bbbc60f24969f9ec596ab344fbb557d5e21c2abf) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types.bbclass: Drop IMAGE_EXTRA_OPTION in favour of the more standard ↵Richard Purdie2011-03-252-7/+9
| | | | | | | | EXTRA_IMAGECMD (From OE-Core rev: 3c534247e08700eb18b27886d80e874006ee0cb8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf/image.bbclass: Move image type information into image_types.bbclassRichard Purdie2011-03-253-62/+82
| | | | | | | | | | | | | | | Image generation code in .conf files is hard to read as it needs to be single line. By moving this to a separate class, multiline functions can be used instead improving readability. It also declutters bitbake.conf. There is no real functional change with this patch but it highlights the need for improvements in places such as the IMAGE_EXTRA_OPTION ext* specific variable which makes no sense. (From OE-Core rev: a5c403f0fc71f38c0669691da7f637303ea09a27) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-files: Remove sysctl.conf file. This is now provided by the procpc recipe.Richard Purdie2011-03-242-31/+0
| | | | | | | | | | The base-files version is horribly outdated too. [YOCTO #924] (From OE-Core rev: f61df1f1e4a191ed3dd3d71aa78a479c615b14d1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: Move ROOTFS_SIZE into runimagecmd() functionRichard Purdie2011-03-241-1/+1
| | | | | | | | | | | | Image type specific size overrides for IMAGE_ROOTFS were being ignored. Moving the size calculation to after the overide expansion point addresses this problem. [YOCTO #928] (From OE-Core rev: 2f676dadebebc461c1e01e0b6da3cb2258829048) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: Improve readability of the image generation codeRichard Purdie2011-03-241-7/+13
| | | | | | | | | The quoting in get_imagecmds() is hard to read. We can simplify the constuction a little to make this easier to parse and reduce complexity slightly. (From OE-Core rev: da5d038f955bf47155a0f217dba2f96e263bcad8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: use only unique set of SSTATETASKMartin Jansa2011-03-241-2/+2
| | | | | | | | | | | | | | | | | | | * otherwise strange error like this: ERROR: Logfile of failure stored in: /OE/shr-core/tmp/work/armv7a-oe-linux-gnueabi/libtool-cross-2.4-r1/temp/log.do_package_write_ipk.25551 Log data follows: | ERROR: Package already staged (/OE/shr-core/tmp/sstate-control/manifest-nokia900-libtool-cross.deploy-ipk)?! | ERROR: Function 'sstate_task_postfunc' failed NOTE: package libtool-cross-2.4-r1: task do_package_write_ipk: Failed ERROR: Task 11 (/OE/shr-core/openembedded-core/meta/recipes-devtools/libtool/libtool-cross_2.4.bb, do_package_write_ipk) failed with exit code '1' is shown in this case with package_ipk twice in INHERIT * Thanks to Richard for fix (From OE-Core rev: f2fe5e840b8aa0558b5462ef2c7517b2f14ec2ea) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: blacklist 'kernel-misc' from kernel-modulesKoen Kooi2011-03-241-1/+1
| | | | | | | | | | | | When 'kernel-misc' is empty do_rootfs will fail when including 'kernel-modules' The proper fix would be to have a whitelist for the 'kernel-modules' meta-pkg (From OE-Core rev: bb72bd56101698b7fe166dd02fdca07d06a6eb8b) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Tested-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-runtime_4.5.1.bb: Fix ICE in gcc-runtime with -feliminate-dwarf2-dupsKhem Raj2011-03-241-1/+6
| | | | | | | | | | GCC 4.5 ends up in an ICE when compiling libstdc++ pre compiled header so we eliminate -feliminate-dwarf2-dups for gcc-runtime (From OE-Core rev: e0eeb10144db74c0671acd684059e8a6f82a572f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* machine/include/tune-atom.inc: Remove FULL_OPTIMIZATION_pn-gtk+Khem Raj2011-03-241-4/+0
| | | | | | | | | | * Since bitbake.conf has got rid of -fomit-frame-pointer this is no longer required (From OE-Core rev: ba89ba8e02185c7adb92240f119a57e7b21adfa7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Prune global OPTIMIZATION flagsKhem Raj2011-03-241-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | -fexpensive-optimizations is enabled by default at -O2 -fomit-frame-pointer is enabled at -O2 selectively by gcc depending upon architecture if debug info is not hurt -frename-registers - This might have some performance advantage on top of O2 on architectures which have more registers and registers are left after scheduling but it affects debuggability quite a bit so as a i tradeoff we do not use it. -feliminate-dwarf2-dups - We use this option to reduce the size of debug information by removing duplicates this is only valid for dwarf2+ and we use dwarf2 by default -pipe uses buffers instead of temporary files internally it can speed up compilation it has has issues with other assemblers but not with GNU assembler and we use gas. Separate out debug information related flags into a separate variable DEBUG_FLAGS so distros can use/notuse them as they like (From OE-Core rev: 9cb7113790d716a4c5cf7d511535ba87fdecd1ac) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: Switch to disabling gmp supportTom Rini2011-03-241-2/+4
| | | | | | | | | | Coreutils can optionally build with libgmp support and for our uses it's fine to just not build it rather than add the dependency. (From OE-Core rev: e58ca6504ccfd4fd7efbf288eaadae6720c84c79) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* checksums.ini: DeleteTom Rini2011-03-231-15076/+0
| | | | | | | (From OE-Core rev: 02de9ba8bf211292d0cc10fee5bc0c15636d8d7a) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Various: Switch to SOURCEFORGE_MIRRORTom Rini2011-03-232-2/+2
| | | | | | | (From OE-Core rev: c774ecb92062f543857a6843ab8e03c490cf50a4) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Various: Update KERNELORG_MIRROR for consistencyTom Rini2011-03-2322-22/+22
| | | | | | | | | | | In mirrors.bbclass we point into /pub but we don't in bitbake.conf. All uses of KERNELORG_MIRROR look into /pub anyhow, so lets make use of that. (From OE-Core rev: 67a0c8f48b5ef2ae5fc712c9204e4e99818c8134) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Various: Switch to KERNELORG_MIRRORTom Rini2011-03-2312-12/+12
| | | | | | | (From OE-Core rev: a0eeed089a5c185ef721b11828d4a27f0c03791c) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Various: Switch to using GNU_MIRRORTom Rini2011-03-2312-22/+22
| | | | | | | (From OE-Core rev: bd9e899d1b07813c78f2dc2e5c46a67937839065) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Various: Switch to GNOME_MIRRORTom Rini2011-03-239-9/+9
| | | | | | | (From OE-Core rev: 0499bacc30274f2300fb956362bda8a53fdc625e) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* net-tools: Switch to using DEBIAN_MIRRORTom Rini2011-03-231-2/+2
| | | | | | | (From OE-Core rev: ce7483796bb92a99149b9eff7e08ebc8c2805808) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alphaKhem Raj2011-03-232-4/+10
| | | | | | | | | | | | | | | | | | | Ubuntu has moved eglibc to /usr/lib/${arch}-linux-gnu and /lib/${arch}-linux-gnu so we need that to be added to glibpth in Configure. Currently we set LD=ld in environment for recipes inheriting native class. This overrides the LD settings in the Makefiles of perl and it tries to link by calling ld which does not work since its using -l<x> on commandline and ubuntu linker seems not to look into the new location for these libraries. Its better to use gcc for linking here anyway [With tweak from Tom Rini to use CCLD, not LD] (From OE-Core rev: 8ba700a4c593fd52bd01b6272b4c8285a71964f7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/poky-qemu-internal: Add rw to KERNCMDLINE for non nfs boots as wellKhem Raj2011-03-231-5/+5
| | | | | | | | | | Without using rw the ext3 images boot the kernel but do not spawn the console at the end (From OE-Core rev: 44359c953a6205a5028483e22b81e9d1691bfd44) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>