summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2011-07-22bitbake.conf/cross.bbclass: Add ability to dynamically change library locationRichard Purdie2
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>
2011-07-22consolekit 0.4.5: fix PAM installation dirKoen Kooi1
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-22gnome-keyring 2.32.1: fix PAM support and make it conditional on DISTRO_FEATURESKoen Kooi1
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>
2011-07-22site/powerpc*-linux: refactor needed options that are commonKumar Gala2
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>
2011-07-22site/powerpc64-linux: Start initial site configKumar Gala1
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>
2011-07-22site/powerpc32-linux: Update with ac_cv_sizeof_* from eglibcKumar Gala1
Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-22site/powerpc64: Update power64-linux to include powerpc-linuxKumar Gala1
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>
2011-07-22site/powerpc: Pull all powerpc config options into powerpc32-linuxKumar Gala4
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>
2011-07-22openssl: Add handling for building on linux-powerpc64Kumar Gala1
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>
2011-07-22libart-lgpl: Add missing config file - allows builds on PowerPC 64Kumar Gala1
Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-22kernel-arch: Add handling of powerpc64Kumar Gala1
Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-22libc: Add handling of powerpc64Kumar Gala1
Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-22insane.bbclass: Recognise powerpc64Kumar Gala1
Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-22fix Upstream-Status line for few patchesNitin A Kamble3
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-07-22python: fix security vulnerabilityNitin A Kamble3
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>
2011-07-22glib-2.0: fix a compilation issue due to dtraceNitin A Kamble2
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>
2011-07-22tclibc-uclibc: Fix TARGET_OS for powerpcKhem Raj1
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>
2011-07-22.gitignore: Update build ignores to have wildcardKumar Gala1
ignore not just build/* but any build*/* cases. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-07-22util-linux: Replace sigsetmask with posix compliant functionsKhem Raj2
This patch is not needed upstream since the code using sigsetmask has been deleted. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-22strace: Define own sigmask macro if not defined already in signal.hKhem Raj2
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>
2011-07-22uclibc: Add patch header for sync_file_range2.patchKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-22task-core-tools.bb: Exclude lttng-ust for x86_64/uclibcKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-22mesa-xlib, mesa-dri: Probe for newlocale() before using it.Khem Raj3
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-22default-versions: Update pulseaudio as arm no longer needs a seperate backportSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-07-22kern-tools: update SRCREVBruce Ashfield1
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>
2011-07-22dhcp: Fix libdir issue for multilibMei Lei2
Signed-off-by: Mei Lei <lei.mei@intel.com>
2011-07-22linux-yocto: kernel-3.0 support recipeBruce Ashfield1
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>
2011-07-22kernel: copy defconfig to {B} vs {S}Bruce Ashfield2
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>
2011-07-22linux-yocto: update LICENSE to GPLv2Bruce Ashfield1
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>
2011-07-21libiconv: Fix build failure on 1.13.1Khem Raj4
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>
2011-07-21local.conf.sample: Add a note about ASSUME_PROVIDED for help2manTom Rini1
Similar, but opposite of oe.dev example. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-21Make intltool use perlnative instead of perl on hostMatthew McClintock2
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>
2011-07-21gettext: Add depends to gettext to avoid host contaminationSaul Wold1
[YOCTO #1242] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-07-21clutter-box2d: fix isfinite.patchSaul Wold1
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>
2011-07-21python: add patch to fix cross compilation on host with linux-3.0Martin Jansa2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-07-21python: save Makefile.sysroot in do_compileMartin Jansa1
* 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>
2011-07-21eglibc-package: don't fail without localedef/gconvMartin Jansa1
* 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>
2011-07-21tcmode-default: set preferred version also for (e)glibc-localeMartin Jansa1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-07-21siteinfo.bbclass: Port over oe.dev logic for site filesTom Rini2
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>
2011-07-21icon-naming-utils-native: Fix long path to perl in icon-name-mappingTom Rini1
This is 5396e0868cf89787746fa6341ddb1f271a770595 in oe.dev but here we instead use the nativeperl wrapper. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-21cpan.bbclass: Perform more mangling for perl pathTom Rini10
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>
2011-07-21perl-native: Add a perl-native wrapper in the normal bindirTom Rini1
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>
2011-07-21gnome-doc-utils: Use /usr/bin/env python in xml2po, bump PRTom Rini2
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>
2011-07-21python-native: Mangle scripts to use /usr/bin/env python, bump PRTom Rini1
This is dd33ced4b8123600efa1f67f704aec13b0842ad1 in oe.dev and needed for building in deep paths. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-21Add endianess macros used by previous endian-ness_handling.patchMatthew McClintock2
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>
2011-07-20insane: improve diagnostic for redundant rpathPhil Blundell1
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>
2011-07-20lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilibMei Lei1
Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20libiconv: Fix SRC_URI checksums for 1.13.1 versionRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20libgcc: correct mode on libgcc_s.so.1 to ensure it gets strippedPhil Blundell1
If the library is installed without execute permission then package.bbclass will not consider it for stripping. This is particularly unfortunate because there seems to be a bug somewhere else which is causing all DSOs to end up with a NEEDED dependency on libgcc_s, even if they don't actually require it, and hence it is getting installed in all images (for uclibc on i586 at least). Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-20pseudo: fix uninitialised variable in realpath_fix.patchJoshua Lock2
Several users reported issues with pseudo on CentOS 5.x hosts, Matthew McClintock tracked the issue to the realpath_fix.patch and Mark Hatle supplied the included fix. CC: Matthew McClintock <msm@freescale.com> CC: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Joshua Lock <josh@linux.intel.com>