multilib/clsextend: Improve handling of regexps in PACKAGES_DYNAMIC

Now that PACKAGES_DYNAMIC is more standardised, starting with ^ anchors,
the variable manipulations performed by clsextend for multilib don't work.

This patch at least improves it to hack around the problem and enable
mulitlib builds to work again. If this code doesn't do the right thing, the
recipe is free to override the variable with the correct multilib case.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package.bbclass: Exclude the PKGTRIPLETS variable

Without this, we'd rerun packaging for every machine since this variable contains
a machine specific component.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
eglibc: Move perl- and bash-using scripts to separate recipes

This removes the dependency of eglibc.bb itself on perl and bash
which, in turn, eliminates the need to build those two recipes if the
scripts which need them are not going to be installed.

Also provide dummy do_evacuate_scripts() for all variants of eglibc-initial
otherwise the nativesdk and multilib variants might crash trying to
copy a non-existent mtrace script.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
eglibc-2.16: Use tar ball instead of svn SRC_URI

Adapt the recipes to fetch a tarball.
Tarball is generated from latest 2.16 branch
which has e500-math_private.patch already applied
hence we remove that patch.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kernel.bbclass: Do not chdir to /boot before running update-alternatives

The symlink from uImage-3... to uImage is not created at image creation
time and not properly update on kernel upgrades. This is fixed by removing
the chdir. The other users of update-alternative do not change the directory
before calling it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xorg: remove XF86 BigFont extension

This has been disabled by default upstream since 2007, nothing uses it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sstate.bbclass: allow to disable sstate package creation

* building core-image-minimal-mtdutils with and without sstate packages enabled:
          with   without
  real     98m       95m
  user    212m      208m
  sys      26m       25m

* but this was tested on fast machine with TMPDIR on fast raid0 array
  so the impact is not so bad on simple image, but stuff like qt4 takes
  ages on our slow buildhost

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
netbase: remove networkmanager handling for qemu machines

* see http://lists.linuxtogo.org/pipermail/openembedded-core/2012-February/018279.html thread

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
cml1: dont export HOSTLDFLAGS for make menuconfig

* reported here
  http://lists.linuxtogo.org/pipermail/openembedded-core/2012-June/024199.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
rootfs_*.bbclass: exclude BUILDNAME var dependency from do_rootfs

* I have kernel recipe which depends on other recipe to build tiny initramfs
  image, without this change it rebuilds not only that initramfs image
  but also whole kernel when DATE or TIME is changed and OEBasicHash enabled
* also resolves ERROR shown when bitbake -S is used for image:
  ERROR: Bitbake's cached basehash does not match the one we just generated
  (/OE/oe-core/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_rootfs)!
  ERROR: The mismatched hashes were 8c35cdf8a5d09c03941f081dd9f6d8dc and b5d6e2e5952770557c48c5779ddb73fc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
bitbake.conf: exclude DATETIME var dependency from IMAGE_NAME

* resolves ERROR shown when bitbake -S is used for image:
  ERROR: Bitbake's cached basehash does not match the one we just generated
  (/OE/oe-core/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_rootfs)!
  ERROR: The mismatched hashes were 8c35cdf8a5d09c03941f081dd9f6d8dc and b5d6e2e5952770557c48c5779ddb73fc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
opkg-utils: add commit from github

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
libsdl: fix inconditional alsa disabling.

Without that fix ALSA is inconditionally disabled,
  reguardless of the fact that alsa is in the distribution
  feature or not.

This patch has been tested on the om-gta04 target with both
  alsa distribution feature enabled(libsdl can then play sound),
  and disabled(it fails to play some sound trough alsa).

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
qemu.inc: remove EXTRA_IMAGEDEPENDS, images are usefull even without qemu installed on host

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
docbook-sgml-dtd: add 4.3 version

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
binutils-2.23: Add recipes

use the stable git branch for SRC_URI

Signed-off-by: Khem Raj <raj.khem@gmail.com>
binutils: Revert a patch that causes regressions on ARM

Signed-off-by: Khem Raj <raj.khem@gmail.com>
oprofile: Define PACKAGE and PACKAGE_VERSION

oprofile uses bfd.h from binutils which expects
that the package which is using it is also compiled
using autotools and therefore tries to include
config.h to get above defines. We specify them
on commandline instead.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
tcmode-default.inc: Use binutils 2.23

Signed-off-by: Khem Raj <raj.khem@gmail.com>
linux-yocto: drop machine from SRCREV_FORMAT

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>