summaryrefslogtreecommitdiff
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* qemu.inc: Add sh4,sh4eb,mips64,mips64el targetsKhem Raj2011-03-312-3/+27
| | | | | | | | | | | | | | In order to leavarage more emulations in oe-core these targets needs to be built as well Introduce new variable QEMU_TARGETS which can be set by user to decide what all machine support should be build into qemu-native This one works adding same to qemu.inc does not parse presumably a bitbake problem. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Workaround for Global C++ Constructor problem on ARMMark Hatle2011-03-312-10/+105
| | | | | | | | | | | | | [YOCTO #938] Workaround for a problem with the order of the global C++ constructors on ARM. The workaround is simply to avoid defining the ID numbers outside of the usage of the ID's. This also has the effect of fixing a problem on MIPS, where "_mips" is a defined symbol and unavailable on the system for a variable name. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* Fix integration of zypper and sat-solverMark Hatle2011-03-319-359/+706
| | | | | | | Adjust the integration of zypper and sat-solver to ensure that all of the defined architectures for a given machine are defined identically to Poky. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* Fix sat-solver & RPM5 integration issueMark Hatle2011-03-312-1/+22
| | | | | | | | | From Michael Schroeder, fix the configuration of how RPM5 handles obsoletes within the sat-solver. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* linux-yocto: update base to 2.6.37.6Bruce Ashfield2011-03-311-13/+13
| | | | | | | The kernel.org stable 2.6.37.6 was released, so we make it the base of our SRCREVs. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto/qemux86-64: enable profiling and latencyBruce Ashfield2011-03-311-4/+0
| | | | | | | | | | The configuration chunks for profiling and latency top have been enabled in tree now, so we can drop optional feature additions in the recipe itself. build tests show identical configurations. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* qemu-config: Enable for qemumips/qemuppcRichard Purdie2011-03-311-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gthumb: Add missing DEPENDS on gst-plugins-base as otherwise gstreamer isn't ↵Richard Purdie2011-03-311-1/+1
| | | | | | enabled 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. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* clutter-gtk: remove duplicate gtk+ DEPENDS entryJoshua Lock2011-03-291-1/+1
| | | | | | the inc file already specifies the gtk+ dependancy Signed-off-by: Joshua Lock <josh@linux.intel.com>
* 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 Signed-off-by: Joshua Lock <josh@linux.intel.com>
* clutter: add 1.6.8Joshua Lock2011-03-291-0/+25
| | | | Signed-off-by: Joshua Lock <josh@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] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: Add support for taking shared lockfilesRichard Purdie2011-03-291-0/+7
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: Remove uneeded do_populate_sysroot requirement for imagesRichard Purdie2011-03-291-3/+0
| | | | 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 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 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 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/meta: fix SRCREVBruce Ashfield2011-03-281-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. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* qemu: Upgrade 0.13.0 -> 0.14.0Khem Raj2011-03-2524-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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gnutls: add BBCLASSEXTEND = nativeKoen Kooi2011-03-251-0/+2
| | | | | | | This is needed for the native recipes in meta-efl 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 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* image_types.bbclass: Drop IMAGE_EXTRA_OPTION in favour of the more standard ↵Richard Purdie2011-03-242-7/+9
| | | | | | EXTRA_IMAGECMD Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf/image.bbclass: Move image type information into image_types.bbclassRichard Purdie2011-03-243-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. 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] 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] 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. 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 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-231-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 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-231-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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* machine/include/tune-atom.inc: Remove FULL_OPTIMIZATION_pn-gtk+Khem Raj2011-03-231-4/+0
| | | | | | | * Since bitbake.conf has got rid of -fomit-frame-pointer this is no longer required Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bitbake.conf: Prune global OPTIMIZATION flagsKhem Raj2011-03-231-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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* coreutils: Switch to disabling gmp supportTom Rini2011-03-231-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. Signed-off-by: Tom Rini <tom_rini@mentor.com>
* checksums.ini: DeleteTom Rini2011-03-231-15076/+0
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* Various: Switch to SOURCEFORGE_MIRRORTom Rini2011-03-232-2/+2
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* Various: Update KERNELORG_MIRROR for consistencyTom Rini2011-03-2321-21/+21
| | | | | | | | 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. Signed-off-by: Tom Rini <tom_rini@mentor.com>
* Various: Switch to KERNELORG_MIRRORTom Rini2011-03-2312-12/+12
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* Various: Switch to using GNU_MIRRORTom Rini2011-03-2312-22/+22
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* Various: Switch to GNOME_MIRRORTom Rini2011-03-239-9/+9
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* net-tools: Switch to using DEBIAN_MIRRORTom Rini2011-03-231-2/+2
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* 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] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lib/oe/patch.py: Cosmetic change to avoid bitbake warningKhem Raj2011-03-211-1/+1
| | | | | | bb.mkdirhier should be bb.utils.mkdirhier Signed-off-by: Khem Raj <raj.khem@gmail.com>
* oe.utils: add inherits (sync from OE)Chris Larson2011-03-211-0/+4
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* oe.path: sync up with current OEChris Larson2011-03-211-7/+14
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* oe.patch: add missing importsChris Larson2011-03-211-0/+2
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* oe.utils: add bb, bb.data importsChris Larson2011-03-211-0/+2
| | | | | | | While the metadata can and should rely on bb always being available, this needn't necessarily be the case for imported python modules. Signed-off-by: Chris Larson <chris_larson@mentor.com>
* native: empty PACKAGES_DYNAMIC the way we do PACKAGESChris Larson2011-03-211-0/+2
| | | | | | | | | Without this, as a specific example, one has both gtk+-native and gtk+ runtime providing gdk-pixbuf-loader-*, and you can get bitbake preference conflicts as a result if you have preferences specified for both gtk+ and gtk+-native for other things. Signed-off-by: Chris Larson <chris_larson@mentor.com>
* bitbake.conf: replace unused/broken E_CVS/E_URI with E_MIRROR/E_SVN used in OEMartin Jansa2011-03-211-2/+2
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf/tune files: Adjust PACKAGE_EXTEA_ARCHSRichard Purdie2011-03-2115-15/+16
| | | | | | | | | | | | | | | | | | | There is a problem with the current PACKAGE_EXTRA_ARCHS implementation since its impossible to control which extra architectures sort higher than TARGET_ARCH and which sort lower. In the x86 case for example, TARGET_ARCH might be "i586", i486 should be lower than this and i686 should be higher. There are also complications where its easy to inject duplicate entries into the variable. I tried various versions of this patch and concluded that it was simplest just to force the tune files to include TARGET_ARCH in the list in the right place if they're planning to customise it themselves. Other approaches with appends and prepends just complicated the code for no good reason. The TARGET_ARCH definitions should also move to the tune files but I'll leave this for a separate patch. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel/bbclass: rework kernel and module classes to allow for building ↵Darren Hart2011-03-213-64/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | out-of-tree modules The existing infrastructure uses an external build tree which references the kernel source in the work dir. If run with rm work, building external modules will fail. This patch places a configured source tree in sysroots. Striking a balance between minimal size and minimal maintenance is difficult. A fully configured tree is about 500MB after a clean. This version leans on the side of caution and removes only the obviously unecessary parts of the source tree to conserve space, resulting in about 170MB. The arch directories would be some additional pruning we could do. Given examples from the devel package from distributions, I suspect this size could be reduced to 75MB or so, but at the cost of a much more complex recipe which is likely to require a great deal more maintenance to keep current with kernel releases. Care is also taken to clean the hostprogs in scripts, and the modules are responsible for building them as needed. Although it is unclear to me if this is really necessary, especially considering that modules put these bits back as soon as they compile. If we are not generating an sstate package, I suspect we can ignore these. Please try this with your modules and let me know how it does. I tried to take non linux-yocto kernel recipes into account, but I have only tested with linux-yocto and the hello-mod recipe so far. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net> Acked-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>