summaryrefslogtreecommitdiff
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* gcc-4.6: Fix packaging of native toolchainsKumar Gala2011-07-252-1/+2
| | | | | | | | | | | | | | The base gcc package is missing liblto_plugin.so. If we try a simple hello world compile we get something like: root@p5020-ds:~# gcc hello.c gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found compilation terminated. We need to include liblto_plugin.so in the base gcc package and not gcc-dev. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* distro_tracking_fields.inc: update the info for tcf-agentDexuan Cui2011-07-251-6/+6
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* tcf-agent: upgrade to the latest stable revision 0.0+svnr1855Dexuan Cui2011-07-254-1043/+44
| | | | | Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* conf/machine/include: Set TUNE_CCARGS instead of TARGET_CC_ARCHRichard Purdie2011-07-2228-32/+34
| | | | | | | | | | | | Since we're updating the tune file format, it makes sense to abstract the compiler tune arguments at this point too. This means that should these need to be overridden at any point, the original values can still be obtained in a similar manner to the other TUNE* variables. Whilst this isn't strictly necessary for any current need, its likely good practise to standardise this behaviour. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/machine/tune: Overhaul tune include file variablesRichard Purdie2011-07-2233-60/+98
| | | | | | | | | | | | | | | | | | | | There is currently consideradble confusion over how the tune files operate and how these interact with the rest of the build system. This update/overhaul changes things so the tune files are primarily resonsible for setting: TUNE_ARCH - What was formerly set as TARGET_ARCH and is the value that represents the architecture we're targetting. TUNE_PKGARCH - The value that represents the tune confuration that this set of tune parameters results in. This allows the significant improvement that the core can now always determine the target architecture value, even when TARGET_ARCH needs to be reset to something different and likewise, there is one package architecture variable the core can reference allowing simplification of the BASE_PACKAGE_ARCH, PACKAGE_ARCH and FEED_ARCH variables. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf/cross.bbclass: Add ability to dynamically change library locationRichard Purdie2011-07-222-8/+14
| | | | | | | | | | | | | | | Add the ability to dynamically change the library directory from "lib" to other values. This allows the tune files to specifiy altnerative ABIs which can be dynamically enabled by the multilib BBCLASSEXTEND code. A variety of approaches have been attempted with this, the immediate expansions in cross.bbclass being problematic as they are they are expanded before the bbclass extend event hander runs. This approach ensures the ${baselib} variable is retained in the expressions resolving that complication. Derived from some ideas from Mark Hatle. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* consolekit 0.4.5: fix PAM installation dirKoen Kooi2011-07-221-3/+4
| | | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnome-keyring 2.32.1: fix PAM support and make it conditional on DISTRO_FEATURESKoen Kooi2011-07-221-6/+6
| | | | | | | | | The plugin got installed into the wrong dir leading to: gdm-session-worker[515]: PAM unable to dlopen(/lib/security/pam_gnome_keyring.so): /lib/security/pam_gnome_keyring.so: cannot open shared object file: No such file or directory Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/powerpc*-linux: refactor needed options that are commonKumar Gala2011-07-222-19/+24
| | | | | | | | Pulled common options that are needed for powerpc64-linux to build out of powerpc32-linux and put them into powerpc-linux. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/powerpc64-linux: Start initial site configKumar Gala2011-07-221-0/+21
| | | | | | | | | Use ac_cv_sizeof_* from eglibc as starting point for powerpc64-linux site info. We will refactor common bits that are needed out of powerpc32-linux based on build issues. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/powerpc32-linux: Update with ac_cv_sizeof_* from eglibcKumar Gala2011-07-221-4/+13
| | | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/powerpc64: Update power64-linux to include powerpc-linuxKumar Gala2011-07-221-2/+2
| | | | | | | | Now that we have a unique powerpc32-linux config, we share powerpc-linux between ppc32 & ppc64. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/powerpc: Pull all powerpc config options into powerpc32-linuxKumar Gala2011-07-224-339/+340
| | | | | | | | | powerpc-common was really Linux PPC32 specific. So move all the options in it to powerpc32-linux and we can refactor out common bits shared between into powerpc-linux and powerpc-common. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: Add handling for building on linux-powerpc64Kumar Gala2011-07-221-0/+3
| | | | | | | | If try to build for an ppc64 target openssl will fail to build since the configure script didn't know how to handle a 'linux-powerpc64' target. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libart-lgpl: Add missing config file - allows builds on PowerPC 64Kumar Gala2011-07-221-0/+10
| | | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-arch: Add handling of powerpc64Kumar Gala2011-07-221-2/+3
| | | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc: Add handling of powerpc64Kumar Gala2011-07-221-0/+1
| | | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: Recognise powerpc64Kumar Gala2011-07-221-0/+1
| | | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fix Upstream-Status line for few patchesNitin A Kamble2011-07-223-3/+3
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* python: fix security vulnerabilityNitin A Kamble2011-07-223-1/+186
| | | | | | | | | | | This Fixes bug: [Yocto #1254] http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-1015 Issue #2254: Fix CGIHTTPServer information disclosure. Relative paths are now collapsed within the url properly before looking in cgi_directories. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* glib-2.0: fix a compilation issue due to dtraceNitin A Kamble2011-07-222-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | With multilib & x32 builds dtrace is getting turned-on by the glib-2.0 configure, which causes following compilation failure. | x86_64-linux-libtool: link: ccache gcc -isystem/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -Wall -Wl,-rpath-link -Wl,/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath -Wl,/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1 -o .libs/gtester gtester.o -L/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/lib ./.libs/libglib-2.0.so -lrt -Wl,-rpath -Wl,/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/lib | ./.libs/libglib-2.0.so: undefined reference to `GLIB_SLICE_ALLOC' | ./.libs/libglib-2.0.so: undefined reference to `GLIB_MEM_REALLOC' | ./.libs/libglib-2.0.so: undefined reference to `GLIB_SLICE_FREE' | ./.libs/libglib-2.0.so: undefined reference to `GLIB_MEM_ALLOC' | ./.libs/libglib-2.0.so: undefined reference to `GLIB_MEM_FREE' | ./.libs/libglib-2.0.so: undefined reference to `GLIB_QUARK_NEW' | collect2: ld returned 1 exit status | make[4]: *** [gtester] Error 1 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* tclibc-uclibc: Fix TARGET_OS for powerpcKhem Raj2011-07-221-1/+1
| | | | | | | | | 1a9ae8ea8c0540d41b8ff4d95c0420d6df754634 removed -uclibc hence it got all wrong for powerpc. uclibc TARGET_OS for classic ppc is linux-uclibc and for ppc w/ SPE its linux-uclibcspe Signed-off-by: Khem Raj <raj.khem@gmail.com>
* util-linux: Replace sigsetmask with posix compliant functionsKhem Raj2011-07-222-1/+37
| | | | | | | This patch is not needed upstream since the code using sigsetmask has been deleted. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* strace: Define own sigmask macro if not defined already in signal.hKhem Raj2011-07-222-2/+26
| | | | | | | | | This is required especially on uclibc systems where BSD compatible obsolete functions are disabled by kconfig. Therefore we check if the macro is undefined then we define it. Therefore eglibc/glibc builds should work as they use to. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* uclibc: Add patch header for sync_file_range2.patchKhem Raj2011-07-221-0/+7
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* task-core-tools.bb: Exclude lttng-ust for x86_64/uclibcKhem Raj2011-07-221-1/+10
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mesa-xlib, mesa-dri: Probe for newlocale() before using it.Khem Raj2011-07-223-3/+48
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* default-versions: Update pulseaudio as arm no longer needs a seperate backportSaul Wold2011-07-221-3/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* kern-tools: update SRCREVBruce Ashfield2011-07-221-1/+1
| | | | | | | | | | | | Fixes [YOCTO #1261] Updating the SRCREV to pickup some branch creation fixes that were causing an invalid branch name to be used on a repository that couldn't support it (i.e. standard/base on a 2.6.34). With this the 2.6.34 and 3.0 -rt branches will build. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* dhcp: Fix libdir issue for multilibMei Lei2011-07-222-8/+8
| | | | Signed-off-by: Mei Lei <lei.mei@intel.com>
* linux-yocto: kernel-3.0 support recipeBruce Ashfield2011-07-221-0/+47
| | | | | | | | | | | | | | | Establish the infrastructure to start more comprehensive linux-3.0 testing. With this in place, the populated linux-yocto 3.0 can optionally be built for supported machines. Note: this commit does not change the default for any targets and as such, it would need to be explicitly set as the preferred version to be built. The staged introduction allows some remaining issues to be solved, while making this available. Subsequent commits will be done to switch qemu machines ones they have been validated. If the default for a machine is not this kernel, consider it best effort. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* kernel: copy defconfig to {B} vs {S}Bruce Ashfield2011-07-222-8/+2
| | | | | | | | | | | | | | | | | | | | For kernel's that use a split source/object build the copy of defconfig to {S} in the base kernel class is problematic. The previous solution for this was to override the do_configure of the base kernel class in a subclass. While this is still a viable/valid option, it does mean that changes to the base do_configure will be missed. The solution to this is to copy a defconfig to {B} which is typically the same as {S}, so most kernel recipes won't see or care about this change. With this change in place, linux-yocto.bbclass can drop its override of do_configure. Tested with linux-yocto and oe linux recipes. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: update LICENSE to GPLv2Bruce Ashfield2011-07-221-1/+1
| | | | | | | | As reported by Koen Kooi, the LICENSE for linux-yocto can be tightened up to specifiy the particular version of the GPL. cc: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libiconv: Fix build failure on 1.13.1Khem Raj2011-07-214-2/+51
| | | | | | | | | It needs a different patch for 1.13.1 for autoconf'ing Rename files to libiconv-1.11.1 and have a separate directory for libiconv-1.13.1 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* local.conf.sample: Add a note about ASSUME_PROVIDED for help2manTom Rini2011-07-211-0/+3
| | | | | | Similar, but opposite of oe.dev example. Signed-off-by: Tom Rini <tom_rini@mentor.com>
* Make intltool use perlnative instead of perl on hostMatthew McClintock2011-07-212-2/+2
| | | | | | | | | intltool recipe was using perl from the host instead of perl from poky. This forces the recipe to use poky's perl (along with perl modules it pulls in) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
* gettext: Add depends to gettext to avoid host contaminationSaul Wold2011-07-211-3/+3
| | | | | | [YOCTO #1242] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* clutter-box2d: fix isfinite.patchSaul Wold2011-07-211-9/+9
| | | | | | | The original patch lost ^M and was not appliable. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* python: add patch to fix cross compilation on host with linux-3.0Martin Jansa2011-07-212-0/+19
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* python: save Makefile.sysroot in do_compileMartin Jansa2011-07-211-3/+4
| | | | | | * otherwise calling do_install twice results in Makefile.sysroot == Makefile.orig and distutils using wrong LIBDIR (from host) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* eglibc-package: don't fail without localedef/gconvMartin Jansa2011-07-211-2/+6
| | | | | | | | | | * in some cases we don't have localedef/gconv built ie when DISTRO_FEATURES lacks one of libc-charsets, libc-locales, libc-locale-code then is better ignore localedef/gconv instead of do_install_locale failing like in this bugreport: http://bugzilla.yoctoproject.org/show_bug.cgi?id=1209 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* tcmode-default: set preferred version also for (e)glibc-localeMartin Jansa2011-07-211-0/+2
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* siteinfo.bbclass: Port over oe.dev logic for site filesTom Rini2011-07-212-105/+98
| | | | | | | | | | In oe.dev we have a sets to pick out hostos/hostarch/etc site files out of and include things like a common-linux site file. This should also help out with adding multilib-specific site files (ie x32). In oe.dev we have an iterator but at Richard's request we continue to return a list of files in siteinfo_get_files(). Signed-off-by: Tom Rini <tom_rini@mentor.com>
* icon-naming-utils-native: Fix long path to perl in icon-name-mappingTom Rini2011-07-211-1/+6
| | | | | | | This is 5396e0868cf89787746fa6341ddb1f271a770595 in oe.dev but here we instead use the nativeperl wrapper. Signed-off-by: Tom Rini <tom_rini@mentor.com>
* cpan.bbclass: Perform more mangling for perl pathTom Rini2011-07-2110-9/+12
| | | | | | | | | | On hosts where we may already be past the #! limit this is required and this is safe on the target as well. This is be7fe31 in oe.dev. Related to this we now bump all PRs for recipes that inherit cpan. Note that in oe.dev we mangle for perl but here we use the new nativeperl script. Signed-off-by: Tom Rini <tom_rini@mentor.com>
* perl-native: Add a perl-native wrapper in the normal bindirTom Rini2011-07-211-1/+16
| | | | | | | We need this to allow for scripts to do #!/usr/bin/env perl-native and not require an 'inherit perlnative' per user of a package. Signed-off-by: Tom Rini <tom_rini@mentor.com>
* gnome-doc-utils: Use /usr/bin/env python in xml2po, bump PRTom Rini2011-07-212-2/+36
| | | | | | | | In oe.dev we can just sed over the binary but in newer versions of this program we need to fix the in use copy too. As noted in the patch header, this isn't appropriate for upstream as it could change behavior on Windows. Signed-off-by: Tom Rini <tom_rini@mentor.com>
* python-native: Mangle scripts to use /usr/bin/env python, bump PRTom Rini2011-07-211-0/+5
| | | | | | | This is dd33ced4b8123600efa1f67f704aec13b0842ad1 in oe.dev and needed for building in deep paths. Signed-off-by: Tom Rini <tom_rini@mentor.com>
* Add endianess macros used by previous endian-ness_handling.patchMatthew McClintock2011-07-212-2/+116
| | | | | | | Some distro's don't include these macros in /usr/include/endian.h so we include them via this patch Signed-off-by: Matthew McClintock <msm@freescale.com>
* insane: improve diagnostic for redundant rpathPhil Blundell2011-07-201-2/+2
| | | | | | | Make it more obvious which file, and which recipe, are at issue. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>