aboutsummaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2011-03-25qemu: Upgrade 0.13.0 -> 0.14.0Khem Raj
* 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>
2011-03-25gnutls: add BBCLASSEXTEND = nativeKoen Kooi
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>
2011-03-25linux-yocto: update to 2.6.37.5Bruce Ashfield
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>
2011-03-25image_types.bbclass: Drop IMAGE_EXTRA_OPTION in favour of the more standard ↵Richard Purdie
EXTRA_IMAGECMD (From OE-Core rev: 3c534247e08700eb18b27886d80e874006ee0cb8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-25bitbake.conf/image.bbclass: Move image type information into image_types.bbclassRichard Purdie
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>
2011-03-24base-files: Remove sysctl.conf file. This is now provided by the procpc recipe.Richard Purdie
The base-files version is horribly outdated too. [YOCTO #924] (From OE-Core rev: f61df1f1e4a191ed3dd3d71aa78a479c615b14d1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-24image.bbclass: Move ROOTFS_SIZE into runimagecmd() functionRichard Purdie
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>
2011-03-24image.bbclass: Improve readability of the image generation codeRichard Purdie
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>
2011-03-24sstate: use only unique set of SSTATETASKMartin Jansa
* 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>
2011-03-24kernel.bbclass: blacklist 'kernel-misc' from kernel-modulesKoen Kooi
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>
2011-03-24gcc-runtime_4.5.1.bb: Fix ICE in gcc-runtime with -feliminate-dwarf2-dupsKhem Raj
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>
2011-03-24machine/include/tune-atom.inc: Remove FULL_OPTIMIZATION_pn-gtk+Khem Raj
* 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>
2011-03-24bitbake.conf: Prune global OPTIMIZATION flagsKhem Raj
-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>
2011-03-24coreutils: Switch to disabling gmp supportTom Rini
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>
2011-03-23checksums.ini: DeleteTom Rini
(From OE-Core rev: 02de9ba8bf211292d0cc10fee5bc0c15636d8d7a) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23Various: Switch to SOURCEFORGE_MIRRORTom Rini
(From OE-Core rev: c774ecb92062f543857a6843ab8e03c490cf50a4) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23Various: Update KERNELORG_MIRROR for consistencyTom Rini
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>
2011-03-23Various: Switch to KERNELORG_MIRRORTom Rini
(From OE-Core rev: a0eeed089a5c185ef721b11828d4a27f0c03791c) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23Various: Switch to using GNU_MIRRORTom Rini
(From OE-Core rev: bd9e899d1b07813c78f2dc2e5c46a67937839065) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23Various: Switch to GNOME_MIRRORTom Rini
(From OE-Core rev: 0499bacc30274f2300fb956362bda8a53fdc625e) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23net-tools: Switch to using DEBIAN_MIRRORTom Rini
(From OE-Core rev: ce7483796bb92a99149b9eff7e08ebc8c2805808) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23perl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alphaKhem Raj
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>
2011-03-23lib/oe/patch.py: Cosmetic change to avoid bitbake warningKhem Raj
bb.mkdirhier should be bb.utils.mkdirhier (From OE-Core rev: cd28d5f5ad7855d0d6a15bec5317c942e2462065) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23oe.utils: add inherits (sync from OE)Chris Larson
(From OE-Core rev: 0bdb38820489a69448e36c75863e2e2d47cdb20f) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23oe.path: sync up with current OEChris Larson
(From OE-Core rev: 1958b303f98b8db5bab00344823bbb8e086b8dba) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23oe.patch: add missing importsChris Larson
(From OE-Core rev: cefbf3a14fcf87e18f7a63a1f55904d9d612ed3e) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23oe.utils: add bb, bb.data importsChris Larson
While the metadata can and should rely on bb always being available, this needn't necessarily be the case for imported python modules. (From OE-Core rev: a521835701c07f5786acd663fb4fb394e93eba91) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23native: empty PACKAGES_DYNAMIC the way we do PACKAGESChris Larson
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. (From OE-Core rev: 41d77ac37f606e54293826ba1e94a4254bddbfa6) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23bitbake.conf: replace unused/broken E_CVS/E_URI with E_MIRROR/E_SVN used in OEMartin Jansa
(From OE-Core rev: 66e6837b536859bcf940380cfcdf50670790d889) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23bitbake.conf/tune files: Adjust PACKAGE_EXTEA_ARCHSRichard Purdie
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. (From OE-Core rev: d492ebf8b1801da99c679f465be98ce54fd3061a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23kernel/bbclass: rework kernel and module classes to allow for building ↵Darren Hart
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. (From OE-Core rev: a9d41062e24a6b99661b3a5256f369b557433607) 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>
2011-03-23msmtp: add link sendmail for lsb command checkKang Kai
LSB command check will test the exist of sendmail, so make sendmail link to msmtp using update-alternatives class in order to pass the test. Related to [YOCTO #520] (From OE-Core rev: 97b71119d716eab86b8afcbac204f38a00b88cf3) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23qemu: enabling the alsa driver needs alsa in DEPENDS, add itKoen Kooi
This fixes: | + /OE/tentacle/build/tmp-angstrom_2010_x/work/x86_64-linux/qemu-native-0.13.0-r1/qemu-0.13.0/configure --prefix=/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr --target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user --disable-werror --disable-vnc-tls --enable-kvm --audio-drv-list=oss,alsa --audio-card-list=ac97,es1370 | | Error: alsa check failed | Make sure to have the alsa libs and headers installed. (From OE-Core rev: 6d186d7144c781ee1985654e808f39ce2f6b1be7) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23alsa-lib: extend to -native for qemu-nativeKoen Kooi
Qemu-needed is needed for the qemu* machines to build, but needs alsa-lib (From OE-Core rev: 31177e0d187c06c30dfb9abe3f2344da3afd643d) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-19xserver-nodm-init: Mark as machine specific after recent rootless X changesRichard Purdie
Fix summplied by ke.yu@intel.com [YOCTO #906] (From OE-Core rev: f0afe5827570eff5442d2f9a9846b4098e5c3333) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-19sstate: Ensure a clean removes setscene stamps as well as the main task stampsRichard Purdie
(From OE-Core rev: d07fe8aef537a8bcb96a802e18d7c980ff4c5ce2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18db: Fix path of arm-thumb patchMark Hatle
Newer versions of patch, such as in Fedora 14, don't like ".." within the middle of the file to be patched path. In order to fix the issue we have to hand apply the patch instead of using the normal mechanisms. Only flaw with the os.system(...) approach is if it fails we don't get any notification or a resolver failure. (From OE-Core rev: 4e592efe8c5ff918a77f7b7b2c17a6b698b1dd68) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18initscripts: Make umountfs a bit more robust, bump PRTom Rini
Avoids error messages on shutdown. Imported from OE commit 072cad0100fd828e7fee8f3fa3ade23e4306b394 (From OE-Core rev: 5188687660f5aa37014aac50c43e141f032455d7) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18nfs-utils: fix "sh: bad number" error on start/stop of nfsserverPaul Eggleton
Adds a test to avoid the "sh: bad number" error message during service start or stop of nfsserver when there is no NFS_SERVERS value set in /etc/default/nfsd. (From OE-Core rev: 0f2debd9360abac54d3e44551af309f0bdde96e7) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18busybox: enable unmount all featurePaul Eggleton
This allows "umount -f -a -r" in our initscripts to actually do something. (From OE-Core rev: 578c938968857976f888f708f1f57cf862c7b3c4) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18sstate.bbclass: Turn absolute symbolic links into relative ones for sstate ↵Richard Purdie
packages (From OE-Core rev: 655139c2644d085331f4f6814119fbd904ff244b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18bitbake.conf: Increase image overhead factor to account for rpm/zypper ↵Richard Purdie
database size (From OE-Core rev: f4305f960cb788d73c5132aa5a9f930e85c20385) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18sanity.bbclass: check for duplicates in PACKAGE_ARCHSJoshua Lock
Duplicate entries in PACKAGE_ARCHS causes problems with rootfs generation. For example multiple architecture entries in opkg.conf will confuse the opkg package manager. (From OE-Core rev: 06aca3de95483e5086b0231df070bac76a6e3c19) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18util-linux: Setup for GPLv2 RecipeSaul Wold
* add task to remove the GPLv3 lscpu code * Add patch to remove the reference to lscpu in Makfiles (From OE-Core rev: ebd181cf6ce3fe233b61aef3af093228aa925f4d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18coreutils-6.9: fix man page building for the gplv2 recipeNitin A Kamble
Added a new patch: coreutils-6.9/fix_for_manpage_building.patch And the target recipe now depends on the native recipe for the manpage generation. Similar fix may be needed to the GPLv3 version of this recipe. (From OE-Core rev: 543577c25b5a4e89a3ab15ee28e754b71c2a43d5) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18toolchain-scripts.bbclass: Added --sysroot to CPPFLAGS.Lianhao Lu
[YOCTO #908] Added CPPFLAGS into the environment file and added --sysroot to it. (From OE-Core rev: 360daf019101d9b4d08ab1e3d279b08c02e9749e) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18slang: specify --x-includes to pass qa sanity checkKevin Tian
slang by default hardcodes a list of host dirs to search for X header files, which may break qa sanity check. Use --x-includes to specify sysroot as the fix. Fix [YOCTO 907] (From OE-Core rev: 35c9ed7d49309ce0babbf93e205fb2dab117c69f) Signed-off-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18bitbake.conf: add POKYBASE to BB_HASHBASE_WHITELISTKevin Tian
or else do_populate_lic varies its checksum when using different source directory, and thus further impact do_package sstate reuse. Fix [YOCTO 894] Possibly Fix [YOCTO 903] (From OE-Core rev: 7a0922ba2e7a33005a8830ff8a4e6b1408b29aa5) Signed-off-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-17gettext: Upgrade GPLv2 version to 0.16.1Saul Wold
This adds a couple of new patches for handling various autoconf and autolocal issues. It also hardcodes a GETTEXT_MACRO_VERSION to 0.17 to match the native gettext. (From OE-Core rev: e897103a58ad672cc87d2bab3ec45501ef09f8f1) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-17poky-image-basic: remove POKY_BASE_INSTALLSaul Wold
Removing POKY_BASE_INSTALL and replacing it with task-poky-boot, effectively removes task-poky-extended which was pulling unwanted recipes. (From OE-Core rev: aa42a75e784510e5ee76dc227758bbc7dc650fb3) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>