]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agoconf/machine/include: Set TUNE_CCARGS instead of TARGET_CC_ARCH
Richard Purdie [Fri, 22 Jul 2011 14:13:03 +0000 (15:13 +0100)]
conf/machine/include: Set TUNE_CCARGS instead of TARGET_CC_ARCH

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>
13 years agoconf/machine/tune: Overhaul tune include file variables
Richard Purdie [Fri, 22 Jul 2011 13:15:20 +0000 (14:15 +0100)]
conf/machine/tune: Overhaul tune include file variables

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>
13 years agobitbake.conf/cross.bbclass: Add ability to dynamically change library location
Richard Purdie [Fri, 22 Jul 2011 12:08:58 +0000 (13:08 +0100)]
bitbake.conf/cross.bbclass: Add ability to dynamically change library location

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>
13 years agoconsolekit 0.4.5: fix PAM installation dir
Koen Kooi [Fri, 22 Jul 2011 10:14:39 +0000 (12:14 +0200)]
consolekit 0.4.5: fix PAM installation dir

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognome-keyring 2.32.1: fix PAM support and make it conditional on DISTRO_FEATURES
Koen Kooi [Fri, 22 Jul 2011 10:09:08 +0000 (12:09 +0200)]
gnome-keyring 2.32.1: fix PAM support and make it conditional on DISTRO_FEATURES

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>
13 years agosite/powerpc*-linux: refactor needed options that are common
Kumar Gala [Fri, 22 Jul 2011 09:17:03 +0000 (04:17 -0500)]
site/powerpc*-linux: refactor needed options that are common

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>
13 years agosite/powerpc64-linux: Start initial site config
Kumar Gala [Fri, 22 Jul 2011 09:16:52 +0000 (04:16 -0500)]
site/powerpc64-linux: Start initial site config

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>
13 years agosite/powerpc32-linux: Update with ac_cv_sizeof_* from eglibc
Kumar Gala [Fri, 22 Jul 2011 09:16:51 +0000 (04:16 -0500)]
site/powerpc32-linux: Update with ac_cv_sizeof_* from eglibc

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosite/powerpc64: Update power64-linux to include powerpc-linux
Kumar Gala [Fri, 22 Jul 2011 09:16:50 +0000 (04:16 -0500)]
site/powerpc64: Update power64-linux to include powerpc-linux

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>
13 years agosite/powerpc: Pull all powerpc config options into powerpc32-linux
Kumar Gala [Fri, 22 Jul 2011 09:16:49 +0000 (04:16 -0500)]
site/powerpc: Pull all powerpc config options into powerpc32-linux

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>
13 years agoopenssl: Add handling for building on linux-powerpc64
Kumar Gala [Fri, 22 Jul 2011 09:24:56 +0000 (04:24 -0500)]
openssl: Add handling for building on linux-powerpc64

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>
13 years agolibart-lgpl: Add missing config file - allows builds on PowerPC 64
Kumar Gala [Fri, 22 Jul 2011 09:24:55 +0000 (04:24 -0500)]
libart-lgpl: Add missing config file - allows builds on PowerPC 64

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel-arch: Add handling of powerpc64
Kumar Gala [Fri, 22 Jul 2011 09:24:54 +0000 (04:24 -0500)]
kernel-arch: Add handling of powerpc64

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibc: Add handling of powerpc64
Kumar Gala [Fri, 22 Jul 2011 09:24:53 +0000 (04:24 -0500)]
libc: Add handling of powerpc64

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinsane.bbclass: Recognise powerpc64
Kumar Gala [Fri, 22 Jul 2011 09:24:52 +0000 (04:24 -0500)]
insane.bbclass: Recognise powerpc64

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agofix Upstream-Status line for few patches
Nitin A Kamble [Thu, 21 Jul 2011 21:04:42 +0000 (14:04 -0700)]
fix Upstream-Status line for few patches

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agopython: fix security vulnerability
Nitin A Kamble [Tue, 19 Jul 2011 22:42:48 +0000 (15:42 -0700)]
python: fix security vulnerability

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>
13 years agoglib-2.0: fix a compilation issue due to dtrace
Nitin A Kamble [Wed, 20 Jul 2011 14:48:59 +0000 (07:48 -0700)]
glib-2.0: fix a compilation issue due to dtrace

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>
13 years agotclibc-uclibc: Fix TARGET_OS for powerpc
Khem Raj [Fri, 22 Jul 2011 03:18:29 +0000 (20:18 -0700)]
tclibc-uclibc: Fix TARGET_OS for powerpc

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>
13 years ago.gitignore: Update build ignores to have wildcard
Kumar Gala [Thu, 21 Jul 2011 14:04:50 +0000 (09:04 -0500)]
.gitignore: Update build ignores to have wildcard

ignore not just build/* but any build*/* cases.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agoutil-linux: Replace sigsetmask with posix compliant functions
Khem Raj [Thu, 21 Jul 2011 06:10:17 +0000 (23:10 -0700)]
util-linux: Replace sigsetmask with posix compliant functions

This patch is not needed upstream since the code using sigsetmask
has been deleted.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agostrace: Define own sigmask macro if not defined already in signal.h
Khem Raj [Thu, 21 Jul 2011 06:10:16 +0000 (23:10 -0700)]
strace: Define own sigmask macro if not defined already in signal.h

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>
13 years agouclibc: Add patch header for sync_file_range2.patch
Khem Raj [Thu, 21 Jul 2011 06:10:15 +0000 (23:10 -0700)]
uclibc: Add patch header for sync_file_range2.patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agotask-core-tools.bb: Exclude lttng-ust for x86_64/uclibc
Khem Raj [Thu, 21 Jul 2011 06:10:13 +0000 (23:10 -0700)]
task-core-tools.bb: Exclude lttng-ust for x86_64/uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agomesa-xlib, mesa-dri: Probe for newlocale() before using it.
Khem Raj [Thu, 21 Jul 2011 06:10:12 +0000 (23:10 -0700)]
mesa-xlib, mesa-dri: Probe for newlocale() before using it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agodefault-versions: Update pulseaudio as arm no longer needs a seperate backport
Saul Wold [Thu, 21 Jul 2011 16:38:10 +0000 (09:38 -0700)]
default-versions: Update pulseaudio as arm no longer needs a seperate backport

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agokern-tools: update SRCREV
Bruce Ashfield [Thu, 21 Jul 2011 04:19:17 +0000 (00:19 -0400)]
kern-tools: update SRCREV

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>
13 years agodhcp: Fix libdir issue for multilib
Mei Lei [Thu, 21 Jul 2011 08:46:35 +0000 (16:46 +0800)]
dhcp: Fix libdir issue for multilib

Signed-off-by: Mei Lei <lei.mei@intel.com>
13 years agolinux-yocto: kernel-3.0 support recipe
Bruce Ashfield [Wed, 20 Jul 2011 20:17:40 +0000 (16:17 -0400)]
linux-yocto: kernel-3.0 support recipe

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>
13 years agokernel: copy defconfig to {B} vs {S}
Bruce Ashfield [Wed, 20 Jul 2011 20:22:31 +0000 (16:22 -0400)]
kernel: copy defconfig to {B} vs {S}

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>
13 years agolinux-yocto: update LICENSE to GPLv2
Bruce Ashfield [Thu, 21 Jul 2011 01:19:42 +0000 (21:19 -0400)]
linux-yocto: update LICENSE to GPLv2

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>
13 years agolibiconv: Fix build failure on 1.13.1
Khem Raj [Thu, 21 Jul 2011 21:23:22 +0000 (14:23 -0700)]
libiconv: Fix build failure on 1.13.1

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>
13 years agolocal.conf.sample: Add a note about ASSUME_PROVIDED for help2man
Tom Rini [Tue, 19 Jul 2011 18:00:11 +0000 (11:00 -0700)]
local.conf.sample: Add a note about ASSUME_PROVIDED for help2man

Similar, but opposite of oe.dev example.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agoMake intltool use perlnative instead of perl on host
Matthew McClintock [Wed, 20 Jul 2011 20:14:05 +0000 (15:14 -0500)]
Make intltool use perlnative instead of perl on host

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>
13 years agogettext: Add depends to gettext to avoid host contamination
Saul Wold [Thu, 21 Jul 2011 07:07:56 +0000 (00:07 -0700)]
gettext: Add depends to gettext to avoid host contamination

[YOCTO #1242]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoclutter-box2d: fix isfinite.patch
Saul Wold [Thu, 21 Jul 2011 00:18:27 +0000 (17:18 -0700)]
clutter-box2d: fix isfinite.patch

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>
13 years agopython: add patch to fix cross compilation on host with linux-3.0
Martin Jansa [Wed, 20 Jul 2011 19:52:15 +0000 (21:52 +0200)]
python: add patch to fix cross compilation on host with linux-3.0

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agopython: save Makefile.sysroot in do_compile
Martin Jansa [Wed, 20 Jul 2011 18:47:36 +0000 (20:47 +0200)]
python: save Makefile.sysroot in do_compile

* 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>
13 years agoeglibc-package: don't fail without localedef/gconv
Martin Jansa [Tue, 19 Jul 2011 16:51:10 +0000 (18:51 +0200)]
eglibc-package: don't fail without localedef/gconv

* 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>
13 years agotcmode-default: set preferred version also for (e)glibc-locale
Martin Jansa [Tue, 19 Jul 2011 09:34:47 +0000 (11:34 +0200)]
tcmode-default: set preferred version also for (e)glibc-locale

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agositeinfo.bbclass: Port over oe.dev logic for site files
Tom Rini [Tue, 12 Jul 2011 16:29:34 +0000 (09:29 -0700)]
siteinfo.bbclass: Port over oe.dev logic for site files

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>
13 years agoicon-naming-utils-native: Fix long path to perl in icon-name-mapping
Tom Rini [Mon, 18 Jul 2011 15:57:31 +0000 (08:57 -0700)]
icon-naming-utils-native: Fix long path to perl in icon-name-mapping

This is 5396e0868cf89787746fa6341ddb1f271a770595 in oe.dev but here we
instead use the nativeperl wrapper.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agocpan.bbclass: Perform more mangling for perl path
Tom Rini [Mon, 18 Jul 2011 16:02:18 +0000 (09:02 -0700)]
cpan.bbclass: Perform more mangling for perl path

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>
13 years agoperl-native: Add a perl-native wrapper in the normal bindir
Tom Rini [Tue, 19 Jul 2011 15:49:42 +0000 (08:49 -0700)]
perl-native: Add a perl-native wrapper in the normal bindir

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>
13 years agognome-doc-utils: Use /usr/bin/env python in xml2po, bump PR
Tom Rini [Mon, 18 Jul 2011 15:14:25 +0000 (08:14 -0700)]
gnome-doc-utils: Use /usr/bin/env python in xml2po, bump PR

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>
13 years agopython-native: Mangle scripts to use /usr/bin/env python, bump PR
Tom Rini [Mon, 18 Jul 2011 16:19:07 +0000 (09:19 -0700)]
python-native: Mangle scripts to use /usr/bin/env python, bump PR

This is dd33ced4b8123600efa1f67f704aec13b0842ad1 in oe.dev and needed
for building in deep paths.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agoAdd endianess macros used by previous endian-ness_handling.patch
Matthew McClintock [Wed, 20 Jul 2011 20:17:25 +0000 (15:17 -0500)]
Add endianess macros used by previous endian-ness_handling.patch

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>
13 years agoinsane: improve diagnostic for redundant rpath
Phil Blundell [Fri, 15 Jul 2011 11:19:35 +0000 (12:19 +0100)]
insane: improve diagnostic for redundant rpath

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>
13 years agolsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib
Mei Lei [Wed, 20 Jul 2011 08:48:17 +0000 (16:48 +0800)]
lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibiconv: Fix SRC_URI checksums for 1.13.1 version
Richard Purdie [Wed, 20 Jul 2011 14:36:03 +0000 (15:36 +0100)]
libiconv: Fix SRC_URI checksums for 1.13.1 version

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibgcc: correct mode on libgcc_s.so.1 to ensure it gets stripped
Phil Blundell [Wed, 20 Jul 2011 10:07:32 +0000 (11:07 +0100)]
libgcc: correct mode on libgcc_s.so.1 to ensure it gets stripped

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>
13 years agopseudo: fix uninitialised variable in realpath_fix.patch
Joshua Lock [Tue, 19 Jul 2011 20:26:20 +0000 (13:26 -0700)]
pseudo: fix uninitialised variable in realpath_fix.patch

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>
13 years agosite/x86_64-linux-uclibc: Cache lf_cv_sane_realloc
Khem Raj [Wed, 20 Jul 2011 05:23:32 +0000 (22:23 -0700)]
site/x86_64-linux-uclibc: Cache lf_cv_sane_realloc

If left to configure, it tried to run the testcase
to determine this and that fails on cross compile
e.g. compiling startup-notification-0.12

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agotask-core-tools: Exclude systemtap for uclibc
Khem Raj [Tue, 19 Jul 2011 20:56:54 +0000 (13:56 -0700)]
task-core-tools: Exclude systemtap for uclibc

systemtap needs full fledged elfutils which cant be
built on uclibc therefore we live without systemtap
on uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agosysprof: Define NT_GNU_BUILD_ID if undefined
Khem Raj [Mon, 18 Jul 2011 23:00:17 +0000 (16:00 -0700)]
sysprof: Define NT_GNU_BUILD_ID if undefined

This is needed on uclibc which does not have all GNU extentions

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoclutter-box2d: Replace use of finite macro with C99 compliant isfinite()
Khem Raj [Mon, 18 Jul 2011 22:58:38 +0000 (15:58 -0700)]
clutter-box2d: Replace use of finite macro with C99 compliant isfinite()

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agobinutils: Fix build when compiling target binutils recipe with gcc 4.6
Khem Raj [Mon, 18 Jul 2011 22:57:23 +0000 (15:57 -0700)]
binutils: Fix build when compiling target binutils recipe with gcc 4.6

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agopimlico/dates: Fix build on uclibc
Khem Raj [Mon, 18 Jul 2011 22:55:21 +0000 (15:55 -0700)]
pimlico/dates: Fix build on uclibc

uclibc does not have NL_TIME_FIRST_WEEKDAY

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agopowertop: Add lintl to linker commandline on uclibc
Khem Raj [Mon, 18 Jul 2011 22:52:27 +0000 (15:52 -0700)]
powertop: Add lintl to linker commandline on uclibc

intl support is not inbuilt into libc like glibc
so we have to link it explicitly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agooprofile: Fix build when query_module is not there
Khem Raj [Mon, 18 Jul 2011 22:50:59 +0000 (15:50 -0700)]
oprofile: Fix build when query_module is not there

on 2.6 kernels we do not have query_module so warn
about it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agouclibc_0.9.32: Implement sync_file_range2.
Khem Raj [Mon, 18 Jul 2011 22:39:39 +0000 (15:39 -0700)]
uclibc_0.9.32: Implement sync_file_range2.

On some arches e.g. arm, ppc sync_file_range2 is used
instead of sync_file_range so we should consider that

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agotask-core-x11-sato: Add empty NETWORK_MANAGER for uclibc
Khem Raj [Mon, 18 Jul 2011 22:36:42 +0000 (15:36 -0700)]
task-core-x11-sato: Add empty NETWORK_MANAGER for uclibc

conman needs some features from libresolv e.g. ns_initparse
which are missing in uclibc.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agotzcode,tzdata: Update tzdata to 2011h
Khem Raj [Mon, 18 Jul 2011 22:35:01 +0000 (15:35 -0700)]
tzcode,tzdata: Update tzdata to 2011h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agolibxdamage,libxft,libxrandr: Add missing dependency on virtual/libx11
Khem Raj [Mon, 18 Jul 2011 22:33:24 +0000 (15:33 -0700)]
libxdamage,libxft,libxrandr: Add missing dependency on virtual/libx11

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoclasses/gettext: Do not disable nls for non target recipes
Khem Raj [Sat, 16 Jul 2011 06:22:18 +0000 (23:22 -0700)]
classes/gettext: Do not disable nls for non target recipes

nls disabling is target specific but USE_NLS=no will
disable nls even for other kind of recipes. We should
let them build with nls

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoacl,attr: Fix build failures when NLS is disabled on uclibc
Khem Raj [Sat, 16 Jul 2011 01:48:18 +0000 (18:48 -0700)]
acl,attr: Fix build failures when NLS is disabled on uclibc

Disable gettext support when NLS is not enabled

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agodefault-distrovars: Add largefile and argp to DISTRO_FEATURES
Khem Raj [Sat, 16 Jul 2011 01:46:05 +0000 (18:46 -0700)]
default-distrovars: Add largefile and argp to DISTRO_FEATURES

This is needed for packages that go into core-image-minimal
and core-image-sato highlighted by uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoautotools.bbclass: Add help2man-native to the main DEPENDS tree
Tom Rini [Fri, 15 Jul 2011 18:50:52 +0000 (11:50 -0700)]
autotools.bbclass: Add help2man-native to the main DEPENDS tree

With help2man no longer being required by sanity.bbclass we need to
make sure that if we are going to build autotools stuff that help2man
will be there as it's a frequent implicit dependency.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agohelp2man-native: Add 1.38.2
Tom Rini [Fri, 15 Jul 2011 18:49:33 +0000 (11:49 -0700)]
help2man-native: Add 1.38.2

This is a 'side port' of current oe.dev versions.  PR is kept in sync
but we drop out the target recipes in order to punt on potential perl
problems.  Here we do re-configure as we don't have a dance with
perl-native to deal with.  Now that we can build it, don't require it.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agobitbake.conf, sanity.bbclass: Drop mercurial-native
Tom Rini [Fri, 15 Jul 2011 18:16:02 +0000 (11:16 -0700)]
bitbake.conf, sanity.bbclass: Drop mercurial-native

We have no hg URIs in the metadata, so don't require and don't
ASSUME_PROVIDED it either.  meta-oe has a mercurial-native recipe
if hg URIs are added in a recipe later.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agogcc_4.5.1: add pr45886.patch
Ilya Yanok [Tue, 19 Jul 2011 01:00:58 +0000 (03:00 +0200)]
gcc_4.5.1: add pr45886.patch

Add fix for PR45886 as proposed in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45886

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
13 years agogcc_4.5.1: add pr45052.patch
Ilya Yanok [Tue, 19 Jul 2011 01:00:57 +0000 (03:00 +0200)]
gcc_4.5.1: add pr45052.patch

Add fix for PR45052 as proposed in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45052

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
13 years agogcc_4.5.1: add pr45094.patch
Ilya Yanok [Tue, 19 Jul 2011 01:00:56 +0000 (03:00 +0200)]
gcc_4.5.1: add pr45094.patch

Add fix for PR45094 as proposed in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45094

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
13 years agogcc_4.5.1: add pr44606.patch
Ilya Yanok [Tue, 19 Jul 2011 01:00:55 +0000 (03:00 +0200)]
gcc_4.5.1: add pr44606.patch

Add fix for PR44606 as proposed in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44606

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
13 years agogcc_4.5.1: add pr44290.patch
Ilya Yanok [Tue, 19 Jul 2011 01:00:54 +0000 (03:00 +0200)]
gcc_4.5.1: add pr44290.patch

Add fix for PR44290 as proposed in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44290

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
13 years agogcc_4.5.1: add pr43810.patch
Ilya Yanok [Tue, 19 Jul 2011 01:00:53 +0000 (03:00 +0200)]
gcc_4.5.1: add pr43810.patch

Add fix for PR43810 as proposed in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43810

Building on powerpc-eabi* with --enable-target-optspace
still fails for me though.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
13 years agogcc_4.5.1: fix arm_bswapsi2.patch
Ilya Yanok [Tue, 19 Jul 2011 01:00:52 +0000 (03:00 +0200)]
gcc_4.5.1: fix arm_bswapsi2.patch

Acoording to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44392
correct fix should be
TARGET_EITHER && (arm_arch6 || !optimize_size)
not
TARGET_EITHER && (arm_arch6 && !optimize_size)

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
13 years agotune-ppce500mc: Add a tune file for PowerPC e500mc core
Kumar Gala [Tue, 19 Jul 2011 17:42:49 +0000 (12:42 -0500)]
tune-ppce500mc: Add a tune file for PowerPC e500mc core

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agoflac: fix build issues with e500v2 (gnuspe) toolchain
Kumar Gala [Tue, 19 Jul 2011 17:41:36 +0000 (12:41 -0500)]
flac: fix build issues with e500v2 (gnuspe) toolchain

For a PPC target flac will try to build with altivec optimizations.
Altivec and SPE are mutually exclusive options.  Between flac's
configure choices and the ppce500v2 tune file options we'd end up with
a compile invocation with the following arguments:

-mabi=spe -mspe -mabi=altivec -maltivec

Which would cause the compile to fail due to the mutual exclusion.

Pulled in a patch from the debian SPE port that addresses this issue:

http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/2010-June/010212.html

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agoopenssl: Add handling for linux-gnuspe-powerpc
Kumar Gala [Tue, 19 Jul 2011 17:41:35 +0000 (12:41 -0500)]
openssl: Add handling for linux-gnuspe-powerpc

If trying to build for an e500v2 target openssl will fail to build since
the configure script didn't know how to handle a 'gnuspe' target.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agotune-ppce500v2: Add a tune file for PowerPC e500v2 cores
Kumar Gala [Tue, 19 Jul 2011 17:41:34 +0000 (12:41 -0500)]
tune-ppce500v2: Add a tune file for PowerPC e500v2 cores

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agotclibc-*libc: Utilize TARGET_FPU for gnuspe setting
Kumar Gala [Tue, 19 Jul 2011 17:41:33 +0000 (12:41 -0500)]
tclibc-*libc: Utilize TARGET_FPU for gnuspe setting

Its possible that BASE_PACKAGE_ARCH isn't set to ppce500 or ppce500v2 when
we build native toolchains.  So we can utilize TARGET_FPU being set to
'ppc-efd' or 'ppc-efs' to determine if we should enable the gnuspe ABI.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agogcc: Add gcc configure for PowerPC e500v2/SPE embedded floating point ABI
Kumar Gala [Tue, 19 Jul 2011 17:41:32 +0000 (12:41 -0500)]
gcc: Add gcc configure for PowerPC e500v2/SPE embedded floating point ABI

The e500v2 core utilizes a unique floating point programming model / ABI.
We utilize TARGET_FPU = "ppc-efd" to distinguish this choice (Embedded
scalar single-precision floating-point).  When building the toolchain for
this ABI we need configure gcc with --enable-e500_double.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agobtrfs-tools: Add util-linux to DEPENDS
Tom Rini [Mon, 18 Jul 2011 21:49:00 +0000 (14:49 -0700)]
btrfs-tools: Add util-linux to DEPENDS

This needs libuuid bits in order to build.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agoiptuils: Add sgmlspl-native to DEPENDS
Tom Rini [Mon, 18 Jul 2011 16:00:00 +0000 (09:00 -0700)]
iptuils: Add sgmlspl-native to DEPENDS

This is 4fc7d465d684d4952c52adafc1e7032b63039e53 in oe.dev.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agognome-doc-utils: Package up python site packages, bump PR
Tom Rini [Mon, 18 Jul 2011 15:46:35 +0000 (08:46 -0700)]
gnome-doc-utils: Package up python site packages, bump PR

Add python-dir to the inherits list so we can grab the python site packages
files as well.  This fixes a 'installed but not packaged' QA problem with
the python site package files.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agometacity: Add gnome-doc-utils to DEPENDS
Tom Rini [Mon, 18 Jul 2011 15:15:29 +0000 (08:15 -0700)]
metacity: Add gnome-doc-utils to DEPENDS

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agogdk-pixbuf(-native): Fix build by disabling introspection
Andreas Mueller [Sat, 16 Jul 2011 22:48:34 +0000 (00:48 +0200)]
gdk-pixbuf(-native): Fix build by disabling introspection

Error message was:
| /home/Superandy/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/g-ir-compiler  --includedir=. GdkPixbuf-2.0.gir -o GdkPixbuf-2.0.typelib
| /usr/share/gir-1.0/GLib-2.0.gir:9:1: error: Unsupported version '1.1'
| /usr/share/gir-1.0/GLib-2.0.gir:9:39: error: Unsupported version '1.1'
| error parsing file GdkPixbuf-2.0.gir: Failed to parse included gir GLib-2.0
| make[4]: *** [GdkPixbuf-2.0.typelib] Error 1

Signed-off-by: Andreas Mueller <schnitzeltony@gmx.de>
13 years agouclibc: improve packaging granularity
Phil Blundell [Tue, 19 Jul 2011 16:01:38 +0000 (17:01 +0100)]
uclibc: improve packaging granularity

Put each of the libraries into its own package rather than dumping them
all into libc0.  This saves ~300kB on the installed size of an i586 micro-base-image
and avoids the need to set the hated LEAD_SONAME.

Signed-off-by: Phil Blundell <philb@gnu.org>
13 years agoperl: revise the RRECOMMENDS_perl-modules for multilib case
Yu Ke [Sat, 16 Jul 2011 02:00:45 +0000 (10:00 +0800)]
perl: revise the RRECOMMENDS_perl-modules for multilib case

current RRECOMMENDS_perl-modules replace the hardcode "perl-dbg",
"perl-misc" etc. which does not work in multilib case. Instead, it
should replace the "lib64-perl-dbg", "lib-64-perl-misc". without
doing this, current code will produce RRECOMMENDS=lib64-lib64-xxx etc

This patch revise the code to fix this issue

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Xu Dongxiao <dongxiao.xu@intel.com>
13 years agopciutils: Change the hardcoded /usr/lib to support multilib.
Dongxiao Xu [Wed, 13 Jul 2011 08:44:52 +0000 (16:44 +0800)]
pciutils: Change the hardcoded /usr/lib to support multilib.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoxcb-proto: add multilib support.
Dongxiao Xu [Wed, 13 Jul 2011 08:43:44 +0000 (16:43 +0800)]
xcb-proto: add multilib support.

There is hardcode of /usr/lib dir for some python files.
Fix it to support multilib.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agodistro-tracking: update libpng
Scott Garman [Tue, 19 Jul 2011 01:37:00 +0000 (18:37 -0700)]
distro-tracking: update libpng

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agolibpng: upgrade to v1.2.46
Scott Garman [Tue, 19 Jul 2011 01:32:38 +0000 (18:32 -0700)]
libpng: upgrade to v1.2.46

This addresses the following security advisories:

* CVE-2011-2690
* CVE-2011-2692

This fixes bug [YOCTO #1255]

The LICENSE and png.h checksum changes were due to trivial changes
in the files.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agoscripts/contrib: add build time regression test script
Paul Eggleton [Tue, 19 Jul 2011 14:14:52 +0000 (15:14 +0100)]
scripts/contrib: add build time regression test script

test_build_time.sh is a bash script intended to be used in conjunction
with "git bisect run" in order to find regressions in build time, however
it can also be used independently. It cleans out the build output
directories, runs a specified worker script (an example is
test_build_time_worker.sh) under TIME(1), logs the results, and returns
a value telling "git bisect run" whether the build time is good (under
the specified threshold) or bad (over it).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoalsa-tools: Fix recipe build error.
Dongxiao Xu [Thu, 14 Jul 2011 07:40:36 +0000 (15:40 +0800)]
alsa-tools: Fix recipe build error.

Remove some elements in alsa-tools to avoid build error and further
dependency on new recipes.

[YOCTO #1038]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agoFixed concurrency problem for ZIP packed recipes.
Ihar Hrachyshka [Mon, 18 Jul 2011 17:00:29 +0000 (10:00 -0700)]
Fixed concurrency problem for ZIP packed recipes.

The problem occured when unzip-native is not yet staged, and ZIP
archive unpacking already started resulting in failed do_unpack task.

(oe.dev has a NEED_UNZIP_FOR_UNPACK variable we did not bring over)

[RP: Use srcuri from already existing variable]
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
Signed-off-by: Koen Kooi <koen@openembedded.org>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: Tighten LICENSE Fields
Saul Wold [Mon, 18 Jul 2011 17:29:08 +0000 (10:29 -0700)]
eglibc: Tighten LICENSE Fields

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogcc-package-target: don't fail if the .la files we try to delete are not there to...
Koen Kooi [Mon, 18 Jul 2011 08:16:07 +0000 (10:16 +0200)]
gcc-package-target: don't fail if the .la files we try to delete are not there to start with

This fixes:

| rm: cannot remove `/OE/tentacle/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/gcc-4.5-r39.1+svnr175127/image/usr/libexec/gcc/arm-angstrom-linux-gnueabi/4.5.4/*.la': No such file or directory
| ERROR: Function 'do_install' failed (see /OE/tentacle/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/gcc-4.5-r39.1+svnr175127/temp/log.do_install.19514 for further information)
NOTE: package gcc-4.5-r39.1+svnr175127: task do_install: Failed

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agounfs-server: add Upstream-Status field to patches
Scott Garman [Mon, 18 Jul 2011 03:04:33 +0000 (20:04 -0700)]
unfs-server: add Upstream-Status field to patches

Signed-off-by: Scott Garman <scott.a.garman@intel.com>