]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agoguile:meta/Makefile change install-data-hook to install-exec-hook
Song.Li [Sat, 28 Jul 2012 09:31:45 +0000 (17:31 +0800)]
guile:meta/Makefile change install-data-hook to install-exec-hook

In guile meta/Makefile, what install-data-hook do
must be run after install-binSCRIPTS.so it's a exec hook, not a data hook.
If keep these exec-hook in data-hook,when we run make with multi-jobbing ,
install-data-hook and install-binSCRIPTS will be separately
processed in different thread, no any dependence.
that will cause error sometimes.

[YOCTO #2796]

Signed-off-by: Song.Li <Song.Li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt-mobility, xserver-xorg, ofono, bluez4, gst-plugins-good: bump PR to rebuild after...
Martin Jansa [Sat, 28 Jul 2012 11:10:29 +0000 (13:10 +0200)]
qt-mobility, xserver-xorg, ofono, bluez4, gst-plugins-good: bump PR to rebuild after libudev0 soname change to libudev1

* this patch depends on http://patchwork.openembedded.org/patch/32085/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobison: move remove-gets.patch to BASE_SRC_URI, it's needed for bison-native too if...
Martin Jansa [Sat, 28 Jul 2012 20:20:07 +0000 (22:20 +0200)]
bison: move remove-gets.patch to BASE_SRC_URI, it's needed for bison-native too if host has (e)glibc-2.16

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/package: ensure pkgdata is cleaned out first
Paul Eggleton [Sun, 29 Jul 2012 05:41:24 +0000 (06:41 +0100)]
classes/package: ensure pkgdata is cleaned out first

If do_package needs to be re-run and packages are removed/renamed as a
result, we want the corresponding stale pkgdata files to no longer be
present; for that we need to ensure all of the old pkgdata files are
cleaned out prior to creating the new ones. This is particularly
important now we rely on pkgdata more heavily (for complementary
packages, license manifest, etc.).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo.inc/pseudo_1.4.bb: update pseudo to 1.4
Peter Seebach [Fri, 27 Jul 2012 21:54:48 +0000 (16:54 -0500)]
pseudo.inc/pseudo_1.4.bb: update pseudo to 1.4

This update replaces the half-baked --arch logic with the use
of $CFLAGS to pick compiler flags, on the grounds that it makes
a lot more sense for the build system to pick flags than for
pseudo to try to guess what they should be; this should allow
pseudo to at least compile for targets, and possibly run on
them.

This doesn't solve the problem of guessing how to forcibly
build the 32-bit variant on hosts, because we really don't
have a general solution for that. There's no idiom for "given
this set of compiler flags and this architecture, what flags
would you use to request a 32-bit compile instead?" So we
basically ignore that for now. If someone comes along trying
to use the build system to build pseudo-native on a 64-bit
host that also supports 32-bit binaries and isn't x86, we
will revisit this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agousbutils 0.91: Fix NULL pointer crash.
Roy.Li [Fri, 27 Jul 2012 12:03:07 +0000 (20:03 +0800)]
usbutils 0.91: Fix NULL pointer crash.

[YOCTO #2847]

Before use usbbuslist, we should check if it is valid.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpciaccess: lpci access does not depend on X
Damien Lespiau [Fri, 27 Jul 2012 11:58:12 +0000 (12:58 +0100)]
libpciaccess: lpci access does not depend on X

So let's remove the X dependencies from DEPENDS and white list it in
xorg-lib-common.inc.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibdrm: Bump libdrm_git to 2.4.37
Damien Lespiau [Fri, 27 Jul 2012 11:53:38 +0000 (12:53 +0100)]
libdrm: Bump libdrm_git to 2.4.37

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibdrm: Put the license md5sum in the common include
Damien Lespiau [Fri, 27 Jul 2012 11:53:37 +0000 (12:53 +0100)]
libdrm: Put the license md5sum in the common include

With this, libdrm_git now does have LIC_FILES_CHKSUM as well.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibdrm: libdrm does not depend on xcb any more
Damien Lespiau [Fri, 27 Jul 2012 11:53:36 +0000 (12:53 +0100)]
libdrm: libdrm does not depend on xcb any more

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodrm: move to PR/INC_PR, starting at r1 as libdrm_git was at r1
Ross Burton [Fri, 27 Jul 2012 11:53:35 +0000 (12:53 +0100)]
drm: move to PR/INC_PR, starting at r1 as libdrm_git was at r1

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoppp: bump PR to rebuild against libpcap1 instead libpcap
Martin Jansa [Fri, 27 Jul 2012 11:07:43 +0000 (13:07 +0200)]
ppp: bump PR to rebuild against libpcap1 instead libpcap

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory: improve performance of image info collection
Paul Eggleton [Mon, 23 Jul 2012 06:59:11 +0000 (07:59 +0100)]
buildhistory: improve performance of image info collection

Reduce the number of calls to the packaging tool, especially in the case
of rpm, using helper utilities to gather the required information more
efficiently where possible.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
12 years agoclasses/image: add staticdev-pkgs IMAGE_FEATURES feature
Paul Eggleton [Mon, 9 Jul 2012 16:27:31 +0000 (17:27 +0100)]
classes/image: add staticdev-pkgs IMAGE_FEATURES feature

Add a staticdev-pkgs feature that can be added to IMAGE_FEATURES in
order to install all staticdev packages.

Fixes [YOCTO #2531].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
12 years agoRework installation of dev, dbg, doc, and locale packages
Paul Eggleton [Mon, 9 Jul 2012 13:15:08 +0000 (14:15 +0100)]
Rework installation of dev, dbg, doc, and locale packages

Use a similar mechanism that was previously used to install locales at
rootfs generation time to install other "complementary" packages (e.g.
*-dev packages) - i.e. install all of the explicitly requested packages
and their dependencies, then get a list of the packages that were
installed, and use that list to install the complementary packages. This
has been implemented by using a list of globs which should make it
easier to extend in future.

The previous locale package installation code assumed that the locale
packages did not have any dependencies that were not already installed;
now that we are installing non-locale packages this is no longer
correct. In practice only the rpm backend actually made use of this
assumption, so it needed to be changed to call into the existing package
backend code to do the complementary package installation rather than
calling rpm directly.

This fixes the doc-pkgs IMAGE_FEATURES feature to work correctly, and
also ensures that all dev/dbg packages get installed for
dev-pkgs/dbg-pkgs respectively even if the dependency chains between
those packages was not ensuring that already.

The code has also been adapted to work correctly with the new
SDK-from-image functionality. To that end, an SDKIMAGE_FEATURES variable
has been added to allow specifying what extra image features should go
into the SDK (extra, because by virtue of installing all of the packages
in the image into the target part of the SDK, we already include all of
IMAGE_FEATURES) with a default value of "dev-pkgs dbg-pkgs".

Fixes [YOCTO #2614].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
12 years agoclasses/rootfs_rpm: improve speed of RPM rootfs construction
Paul Eggleton [Mon, 23 Jul 2012 09:43:22 +0000 (10:43 +0100)]
classes/rootfs_rpm: improve speed of RPM rootfs construction

Improve the performance of the RPM backend during do_rootfs by
performing most of the package name to file resolution in a separate
utility written in C, processing the entire list of packages at once
rather than running rpm on the command line which loads the RPM database
for every package.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
12 years agogconf: Clean up introspection disabling by using gobject-introspection-stub
Richard Purdie [Fri, 27 Jul 2012 12:10:45 +0000 (12:10 +0000)]
gconf: Clean up introspection disabling by using gobject-introspection-stub

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopolkit/vte/gupnp/gssdp: Replace introspection hacks with gobject-introspection-stub
Richard Purdie [Fri, 27 Jul 2012 12:00:22 +0000 (12:00 +0000)]
polkit/vte/gupnp/gssdp: Replace introspection hacks with gobject-introspection-stub

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk-doc-stub: Add PROVIDES for gobject-introspection-stub and fix unpackaged files
Richard Purdie [Fri, 27 Jul 2012 11:58:14 +0000 (11:58 +0000)]
gtk-doc-stub: Add PROVIDES for gobject-introspection-stub and fix unpackaged files

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogobject-introspection: Drop the recipe, it has never worked and if it does cross...
Richard Purdie [Fri, 27 Jul 2012 11:40:48 +0000 (11:40 +0000)]
gobject-introspection: Drop the recipe, it has never worked and if it does cross compile, we can add it back

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeds-tools: Drop this recipe, its inapproriate in OE-Core
Richard Purdie [Fri, 27 Jul 2012 11:35:12 +0000 (11:35 +0000)]
eds-tools: Drop this recipe, its inapproriate in OE-Core

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoworld-broken.inc: Remove clutter-box2d from the exclude list, it works
Richard Purdie [Fri, 27 Jul 2012 10:52:18 +0000 (10:52 +0000)]
world-broken.inc: Remove clutter-box2d from the exclude list, it works

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass/eglibc-locale: Ensure the correct PN is used for locale packages
Richard Purdie [Fri, 27 Jul 2012 10:50:37 +0000 (10:50 +0000)]
package.bbclass/eglibc-locale: Ensure the correct PN is used for locale packages

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate.bbclass: Add a string representing the lsb release to native/cross sstate
Richard Purdie [Thu, 26 Jul 2012 12:56:58 +0000 (12:56 +0000)]
sstate.bbclass: Add a string representing the lsb release to native/cross sstate

This patch adds the lsb name and revision to the path used for sstate files.
This means that reuse of sstate files between different distributions is restricted
by default. The behaviour can be configured using mirror urls, for example:

SSTATE_MIRRORS = "file://Ubuntu-11.10/(.*) file://Ubuntu/\1 \n"

would map Ubuntu 11.10 to a more generic "Ubuntu" named sstate feed.

Usually, more modern distros have increased libc versions for example
so whilst more older native/cross sstate packages will usually work on newer
distros, the opposite is not true. This patch allows development of policy
to better handle this although no default policy is currently being used.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate: Add a two character subdirectory to the sstate directory layout
Richard Purdie [Tue, 24 Jul 2012 12:37:01 +0000 (12:37 +0000)]
sstate: Add a two character subdirectory to the sstate directory layout

Currently all sstate files are placed into one directory. This does not scale and
causes a variety of filesystem issues. This patch adds a two character subdirectory
to the layout (based on the first two characters of the hash) so that files
can be split into several directories.

This should help performance of sstate in most cases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase.bbclass: Set the NATIVELSBSTRING variable to represent the distro we're running on
Richard Purdie [Thu, 26 Jul 2012 13:06:32 +0000 (14:06 +0100)]
base.bbclass: Set the NATIVELSBSTRING variable to represent the distro we're running on

This can then be used by the sstate code to mark native and cross packages
as being specific to a given distro.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolib/oe/lsb: Add basic LSB functions
Richard Purdie [Thu, 26 Jul 2012 13:05:51 +0000 (14:05 +0100)]
lib/oe/lsb: Add basic LSB functions

This code was written by Christopher Larson <chris_larson@mentor.com> and
allows generation of the LSB release data based upon the lsb_release
command. It also includes a helper function to generate a string
representing a given distribution.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobzip2-native: handling native path issue
Yao Zhao [Thu, 26 Jul 2012 20:34:19 +0000 (16:34 -0400)]
bzip2-native: handling native path issue

follow Richard's approach, modify bzip2-native recipe to install bzip2 package
binaries to STAGING_BINDIR_NATIVE/bzip2-native to avoid problems when other
package is doing upack to reference bzip2. libbz2.so* still installs to
STAGING_LIBDIR_NATIVE.

change python-native to depends on bzip2-replacement-native instead of
bzip2-full-native and add EXTRANATIVEPATH for bzip2-native.

Didn't add bzip2native.bbclass as python-native is the only user so far.

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoimage.bbclass: Fix a couple innocuous typoes, should cause no functional change
Robert P. J. Day [Thu, 26 Jul 2012 20:55:43 +0000 (16:55 -0400)]
image.bbclass: Fix a couple innocuous typoes, should cause no functional change

"error_promt" -> "error_prompt" changed in both places
"subfolers" -> "subfolders" since it's not referenced anyway

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclasses/package: reduce dbg package dependencies
Paul Eggleton [Thu, 26 Jul 2012 14:35:00 +0000 (15:35 +0100)]
classes/package: reduce dbg package dependencies

Make dbg package dependencies added via DEPCHAIN_POST less aggressive -
only add dependencies on dbg packages for shared library dependencies.
This avoids dragging in extraneous packages (such as eglibc-dbg forcing
bash-dbg to be installed) whilst preserving the ability to easily debug
into shared libraries in use by an application by just requesting the
installation of the single dbg package for that application.

For task recipes however we preserve the previous behaviour, since when
you install task-xxx-dbg you expect the dbg packages for every package
in the task to be installed. Unfortunately not all of our tasks inherit
from task.bbclass so we just use a name match - this should be tidied up
later.

Fixes [YOCTO #2599].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogtk-doc.bbclass: unbreak dependency-chain for native recipes
Andreas Müller [Thu, 26 Jul 2012 16:17:02 +0000 (18:17 +0200)]
gtk-doc.bbclass: unbreak dependency-chain for native recipes

see [1] & [2] for discussion of this patch

[1] http://lists.linuxtogo.org/pipermail/openembedded-core/2012-July/026606.html
[2] http://lists.linuxtogo.org/pipermail/openembedded-core/2012-July/026611.html

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agou-boot.inc: update linker arguments to pass --sysroot arg
Matthew McClintock [Thu, 26 Jul 2012 16:21:43 +0000 (11:21 -0500)]
u-boot.inc: update linker arguments to pass --sysroot arg

If we are building from sstate-cache it's possible to be building
from another folder on another machine, therefore the linker requires
that a proper --sysroot is passed too it so it can find things like
libgcc.a and avoid errors such as:

| arm-poky-linux-gnueabi-gcc  -g  -O2  -fno-common -ffixed-r8 -msoft-float   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80008000 -I/local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/work/beagleboard-poky-linux-gnueabi/u-boot-v2011.06+git5+b1af6f532e0d348b153d5c148369229d24af361a-r0/git/include -fno-builtin -ffreestanding -nostdinc -isystem /local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/../../lib/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.6.3/include -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -fno-toplevel-reorder   -o hello_world.o hello_world.c -c
| arm-poky-linux-gnueabi-gcc  -g  -O2  -fno-common -ffixed-r8 -msoft-float   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80008000 -I/local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/work/beagleboard-poky-linux-gnueabi/u-boot-v2011.06+git5+b1af6f532e0d348b153d5c148369229d24af361a-r0/git/include -fno-builtin -ffreestanding -nostdinc -isystem /local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/../../lib/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.6.3/include -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -fno-toplevel-reorder   -o stubs.o stubs.c -c
| arm-poky-linux-gnueabi-ld  -r -o libstubs.o  stubs.o
| arm-poky-linux-gnueabi-ld -g -Ttext 0x80300000 \
|  -o hello_world -e hello_world hello_world.o libstubs.o \
|  -L. -lgcc
| arm-poky-linux-gnueabi-ld: cannot find -lgcc
| make[1]: *** [hello_world] Error 1

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoinsserv: define do_install_virtclass-native()
Roy.Li [Tue, 24 Jul 2012 01:33:29 +0000 (09:33 +0800)]
insserv: define do_install_virtclass-native()

[YOCTO #2812]

Since files installation dirs are DESTDIR/etc/, DESTDIR/sbin etc
in Makefile, not DESTDIR/${sysconfdir}/, DESTDIR/${sbindir}/, for
the native package, a prefix can not be inserted which is needed
when do the next step of install and do_populate_sysroot.

Now we define do_install_virtclass-native in which DESTDIR is
${D}/${STAGING_DIR_NATIVE}

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoUpdate intltool to version 0.50.0
Florin Sarbu [Fri, 20 Apr 2012 07:52:08 +0000 (10:52 +0300)]
Update intltool to version 0.50.0

Uprev intltool to newer 0.50.0 version

Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobluez4: use PACKAGECONFIG to control 'pie'
Christopher Larson [Fri, 20 Jul 2012 16:24:06 +0000 (09:24 -0700)]
bluez4: use PACKAGECONFIG to control 'pie'

This lets us control whether we build position independent executables. As, as
far as I know no distros are adding a 'pie' distro feature, the effect of this
commit for most will be to disable pie in bluez4. I think this is best to
ensure consistent behavior among the recipes with regard to this.

This also sidesteps a build failure I've seen with bluez4 failing due to
libudev.a not having been built fPIC.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobitbake.conf: override -cpu for qemu on ppc with SPE
Khem Raj [Fri, 20 Jul 2012 22:55:14 +0000 (15:55 -0700)]
bitbake.conf: override -cpu for qemu on ppc with SPE

We use -mtune flags which lets our application have
SPE intruction in them which is a good thing but when
running qemu especially in user mode these application
wont work with default powerpc emulation. Therefore we
have to add proper -cpu option to let qemu emulate for
a given cpu.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocmake: Upgrade recipes to 2.8.8
Khem Raj [Fri, 20 Jul 2012 22:55:12 +0000 (15:55 -0700)]
cmake: Upgrade recipes to 2.8.8

Copyright year change means a change in checksum
...

 CMake - Cross Platform Makefile Generator
-Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
 All rights reserved.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemu: Fix illegal instruction errors on e500 emulation
Khem Raj [Fri, 20 Jul 2012 22:55:13 +0000 (15:55 -0700)]
qemu: Fix illegal instruction errors on e500 emulation

I caught this when running user mode qemu for ppc/e500 applications
which had SPE instructions in them will abort with illegal instruction
error all the time.

The patch is already applied upstream we needed a backport into 0.15.x

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopkgconfig: Fix packaging issue
Saul Wold [Thu, 26 Jul 2012 07:36:48 +0000 (00:36 -0700)]
pkgconfig: Fix packaging issue

The pkg.m4 file should be packaged as part of the base package
instead of the -dev package, it had been in the base package, but
I seemed to have missed that it moved during my PACKAGES reorder,
and this caused the meta-toolchain to break

[YOCTO #1908]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoeglibc: Add patch to add sys/resource.h to wait.h
Saul Wold [Wed, 25 Jul 2012 21:34:27 +0000 (14:34 -0700)]
eglibc: Add patch to add sys/resource.h to wait.h

This is needed for the older kernel perf tools to build correctly, as
noted in the patch new perf tools have sys/resource.h included directly.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotcmode-default: Bump EGLIBC Version to 2.16
Saul Wold [Sat, 21 Jul 2012 00:41:16 +0000 (17:41 -0700)]
tcmode-default: Bump EGLIBC Version to 2.16

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agousbutils: avoid dependency on bash
Paul Eggleton [Thu, 26 Jul 2012 10:51:28 +0000 (11:51 +0100)]
usbutils: avoid dependency on bash

By virtue of having #!/bin/bash, the usb-devices script declared that it
requires bash, however manual examination, checkbashisms and tests with
dash and busybox show that it doesn't contain any bashisms, so change
the script's header and remove the RDEPENDS on bash.

Additionally, update-usbids.sh was manually checked for bashisms, run
through checkbashisms and tested with busybox (although it did not have
a bash-specific header).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/package: do not add self-dependencies to dev/dbg packages
Paul Eggleton [Thu, 26 Jul 2012 14:34:59 +0000 (15:34 +0100)]
classes/package: do not add self-dependencies to dev/dbg packages

Avoid adding dependencies to dev and dbg packages on themselves via the
DEPCHAIN_* handling code. These don't actually cause any problems, but
they do complicate dependency graphs.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoguile: Add continuation marker to create_wrapper
Saul Wold [Thu, 26 Jul 2012 16:04:00 +0000 (09:04 -0700)]
guile: Add continuation marker to create_wrapper

This was causing the x86_64-linux-guile script to not have all the
environment bits needed

V2: Forgot PR Bump!

[YOCTO #2835]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase/perlnative/pythonnative/gzipnative: Add a new variable to enable easier handling...
Richard Purdie [Wed, 25 Jul 2012 20:16:46 +0000 (20:16 +0000)]
base/perlnative/pythonnative/gzipnative: Add a new variable to enable easier handling of native path issues

If something is listed in ASSUME_PROVIDED but also manually built (like bzip2-native and
bzip2-replacement-native), we need to ensure that the installed binaries are only accessed
for things which list the provider in DEPENDS.

This patch adds a generic mechanism to handle this instead of everything reinventing the
wheel. EXTRANATIVEPATH += "perl-native" will ensure that ${STAGING_BINDIR_NATIVE}/perl-native
is added to PATH.

This means that:

a) Such providers should install to ${bindir}/xxx-native
b) Should PROVIDE += "xxxx-replacement-native"
c) That users should DEPEND on xxx-replacement-native and have EXTRANATIVEPATH += "xxx-native"

This patch enables this at the core level, the bzip2 recipe still needs adjusting to work
like this along with adjustment of the users of bzip2-replacement-native (python-native?).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agostaging.bbclass: Add support for invalidtasks parameter (see bitbake change)
Richard Purdie [Wed, 25 Jul 2012 19:08:27 +0000 (19:08 +0000)]
staging.bbclass: Add support for invalidtasks parameter (see bitbake change)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/rt: update BSP preempt-rt.scc files to enable live boot
Bruce Ashfield [Wed, 25 Jul 2012 20:37:51 +0000 (16:37 -0400)]
linux-yocto/rt: update BSP preempt-rt.scc files to enable live boot

Updating the meta branch SCREV to pickup the preempt-rt commits
to fix live boot on the x86 boards:

  7ff48aa sys940x: Append default preempt-rt policy
  052ecea sugarbay: Append default preempt-rt policy
  b8230e3 jasperforest: Append default preempt-rt policy
  7fb788a chiefriver: Append default preempt-rt policy
  ffbb5ea romley: Append default preempt-rt policy
  5fe5f68 cedartrail: Append default preempt-rt policy
  85bee0c atom-pc: Append default preempt-rt policy

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomtools: add glibc-gconv-* to RDEPENDS/RRECOMMENDS
Xin Ouyang [Wed, 25 Jul 2012 07:02:58 +0000 (15:02 +0800)]
mtools: add glibc-gconv-* to RDEPENDS/RRECOMMENDS

[YOCTO #2829]

mtools commands use cp850 as the "mtools_default_codepage", they would
use this to do some coverting tasks.

So, add glibc-gconv-ibm850 to RDEPENDS for mtools commands to run
correctly.

Also add other MSDOS/FAT codepages related packages to RRECOMMENDS.

Code Pages for MSDOS/FAT:
 *http://msdn.microsoft.com/en-us/library/cc195051.aspx

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agometa/lib: remove test.py
Paul Eggleton [Wed, 25 Jul 2012 12:51:23 +0000 (13:51 +0100)]
meta/lib: remove test.py

This looks like it was added by accident in OE-Core revision
7903433898b4683a1c09cc9a6a379421bc9bbd58.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotelepathy-glib: fix a build race
Ross Burton [Wed, 25 Jul 2012 12:21:18 +0000 (13:21 +0100)]
telepathy-glib: fix a build race

[YOCTO #2462]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoreadline: add missing macros in acinclude.m4
Fahad Usman [Wed, 25 Jul 2012 08:21:33 +0000 (13:21 +0500)]
readline: add missing macros in acinclude.m4

some bash macros are missing from acinclude.m4 which are added up-stream. This
wasn't actually breaking anything but but it was causing the configure script
to not run all the tests it's intended to run.

move the acinclude.m4 from "files" folder to version specific folders so that
readline-5.2 continue to use the older acinclude.m4 only readline-6.2 use the
updated one

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobyacc: upgrade to ver. 20120526
Cristian Iorga [Tue, 24 Jul 2012 05:36:58 +0000 (08:36 +0300)]
byacc: upgrade to ver. 20120526

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibpcap: upgrade to ver. 1.3
Cristian Iorga [Tue, 24 Jul 2012 05:36:57 +0000 (08:36 +0300)]
libpcap: upgrade to ver. 1.3

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoiptables: upgrade to ver. 1.4.14
Cristian Iorga [Tue, 24 Jul 2012 05:36:55 +0000 (08:36 +0300)]
iptables: upgrade to ver. 1.4.14

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agofindutils: fix sort dir on updatedb
Roy.Li [Wed, 25 Jul 2012 08:07:39 +0000 (16:07 +0800)]
findutils: fix sort dir on updatedb

[YOCTO #2826]

m4/nullsort.m4 tries to find sort dir, and write it to updatedb,
but nullsort.m4 is checking the host dir. Once the sort dirs on
target and host are different, updatedb will fail due to wrong
sort dir.

Since we always have sort under ${bindir}, so we can assign it
directly.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoslang 2.2.4: fix the pcre existence checking
Roy.Li [Wed, 25 Jul 2012 08:07:49 +0000 (16:07 +0800)]
slang 2.2.4: fix the pcre existence checking

[YOCTO #2820]

when check if there is pcre, the configure file always check
the host dir. now we make it work by adding correct prefix for
cross-compile environment.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibpcre: upgrade to ver. 8.31
Cristian Iorga [Wed, 25 Jul 2012 06:42:39 +0000 (09:42 +0300)]
libpcre: upgrade to ver. 8.31

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotelepathy-mission-control: upgrade to ver. 5.13
Cristian Iorga [Tue, 24 Jul 2012 05:36:56 +0000 (08:36 +0300)]
telepathy-mission-control: upgrade to ver. 5.13

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoliburi-perl: update to 1.60
Kang Kai [Wed, 25 Jul 2012 09:42:44 +0000 (17:42 +0800)]
liburi-perl: update to 1.60

Update to 1.60

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoltp: update to version 20120614
Kang Kai [Wed, 25 Jul 2012 09:42:42 +0000 (17:42 +0800)]
ltp: update to version 20120614

Update ltp to version 20120614 and update license files at same time.
Remove the patch because it has been merged.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqmmp: update 0.6.1
Kang Kai [Wed, 25 Jul 2012 09:42:43 +0000 (17:42 +0800)]
qmmp: update 0.6.1

Update qmmp to 0.6.1
Remove spaces at end of lines.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoAdd missing Upstream-Status to various patches.
Mark Hatle [Tue, 24 Jul 2012 20:21:39 +0000 (15:21 -0500)]
Add missing Upstream-Status to various patches.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
12 years agobusybox:udhcpc: fix the root_is_nfs() function
Roy.Li [Tue, 24 Jul 2012 01:23:19 +0000 (09:23 +0800)]
busybox:udhcpc: fix the root_is_nfs() function

[YOCTO #2788]

The system will be hung when udhcpc starts, if nfs is mounted
at "/" directory and default route is different after starting
udhcpc.

The cause is that root_is_nfs() does not work after kernel-2.6.37,
since the device name has been changed from /dev/root to
${IPADDR}:${NFSDIR} on /proc/mounts. which leads to remove
the default routes to nfs server,

Now we use a loose match to check if rootfs is nfs.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxinit_1.3.2: Remove broken, superfluous 'FILES_${PN} += "${libdir}X11/xinit"'
Robert P. J. Day [Tue, 24 Jul 2012 10:39:30 +0000 (06:39 -0400)]
xinit_1.3.2: Remove broken, superfluous 'FILES_${PN} += "${libdir}X11/xinit"'

Besides being clearly broken, that line is unnecessary as that file is
already being picked up from this line in xorg-app-common.inc:

FILES_${PN} += " ${libdir}/X11/${BPN} ${datadir}/X11/app-defaults/"

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobusybox: fix the problem that mkfs.minix.tests fails on big endian platform
Yao Zhao [Tue, 24 Jul 2012 14:28:00 +0000 (10:28 -0400)]
busybox: fix the problem that mkfs.minix.tests fails on big endian platform

patch mkfs.minix.tests to have correct md5sum on big endian platform.

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocore-image: remove x11-netbook package group, it's unused
Ross Burton [Tue, 24 Jul 2012 11:59:37 +0000 (12:59 +0100)]
core-image: remove x11-netbook package group, it's unused

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoeglibc: Fix build when OPTION_POSIX_WIDE_CHAR_DEVICE_IO is not set
Khem Raj [Tue, 24 Jul 2012 07:25:58 +0000 (00:25 -0700)]
eglibc: Fix build when OPTION_POSIX_WIDE_CHAR_DEVICE_IO is not set

poky-tiny disables certain eglibc options which gives good excercise
for eglibc's componentized builds. This patch essentially updates the
GLRO patch to account for additions of GLRO(dl_debug_mask) and
converts them to GLRO_dl_debug_mask

Secondly adds a new patch where it was creating a undefined alias
because we were using INTUSE macro which got exposed when we
disable OPTION_POSIX_WIDE_CHAR_DEVICE_IO

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogcc-cross-initial: Stage self sufficient fixed limits.h
Khem Raj [Tue, 24 Jul 2012 05:40:52 +0000 (22:40 -0700)]
gcc-cross-initial: Stage self sufficient fixed limits.h

currently gcc installs a limits.h which references to another
limits.h which it expects from target sysroot and that header
in target sysroot will come from eglibc. So we need to break
this catch-22 and hence we install a self sufficient limits.h
which is then happy when referenced and doesnt complain about
missing limits.h from target sysroot.

This is mostly used when eglibc-initial configure is run

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoeglibc-initial: Fix build failure due to missing limits.h
Khem Raj [Tue, 24 Jul 2012 05:36:44 +0000 (22:36 -0700)]
eglibc-initial: Fix build failure due to missing limits.h

We have had these things in place to overcome a limitation
from our gcc-initial-cross not staging a self sufficient
limits.h. Now thats fixed we do reset TOOLCHAIN_OPTIONS
to point to sysroot where linux kernel headers are staged
and not the bootstrap sysroot which will infact be popuated
by eglibc-initial itself.

Secondly we dont need to set CPPFLAGS specially as we
are doing that in eglibc.inc so we override that

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoclasses/package_deb: add PackageArch field
Paul Eggleton [Mon, 23 Jul 2012 21:42:26 +0000 (22:42 +0100)]
classes/package_deb: add PackageArch field

If we want to query the PACKAGE_ARCH from the installed package (as we
do in order to be able to do a pkgdata lookup for example) then we need
to have this stored in its own field as this is not always the same as
the Architecture field for deb packages.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage.bbclass: Create symlinks for packages with different packaged name
Andrei Gherzan [Mon, 23 Jul 2012 21:42:24 +0000 (22:42 +0100)]
package.bbclass: Create symlinks for packages with different packaged name

While generating license.manifest package information is searched in:
filename=`ls ${TMPDIR}/pkgdata/*/runtime/${pkg}| head -1`
This is ok as long as package name is the same as the package name
after packaging.
For example dbus is packaged as dbus-1. So, searching
ls ${TMPDIR}/pkgdata/*/runtime/dbus-1 will fail because there is no file
with this package name.

Create a symlink to the pkgdata file in a runtime-reverse directory so
that these reverse lookups are possible.

Fixes [YOCTO #2638].

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agokernel bbclass: Recreate uImage only when KEEPUIMAGE != "yes"
Koen Kooi [Mon, 23 Jul 2012 20:45:30 +0000 (13:45 -0700)]
kernel bbclass: Recreate uImage only when KEEPUIMAGE != "yes"

The intent of the uImage code in this class includes the following

1) be able to specify custom load addresses without needing to patch the kernel
2) add better information to the uImage description field

The current state is a NOP anyway, the kernel will always build a uImage when you tell it to 'make uImage'.

weakly Set KEEPUIMAGE to 'yes' in default-distrovars.inc which preserve the
current OE-Core behavior. Machines which are being ported from oe.dev and need to
regenerate uImage can set this to be empty

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibcgroup_0.37.1.bb: Add recipe
Khem Raj [Mon, 23 Jul 2012 20:56:16 +0000 (13:56 -0700)]
libcgroup_0.37.1.bb: Add recipe

This recipe is imported from meta-oe its a requirement for
systemd to work. Now that systemd is living in a layer of
its own. Lets have this recipe into core metadata

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoremake: Add remake-native and remake
Wenzong Fan [Mon, 23 Jul 2012 05:50:53 +0000 (13:50 +0800)]
remake: Add remake-native and remake

remake is a patched version of GNU Make that adds improved error
reporting, the ability to trace execution in a comprehensible way,
and a debugger.

[YOCTO #2402]

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocups_1.4.6.bb: Fix build on ppc64
Khem Raj [Sun, 22 Jul 2012 23:54:17 +0000 (16:54 -0700)]
cups_1.4.6.bb: Fix build on ppc64

ppc64 uses lib64 and usr/lib64 for library paths
so we need to train cups build system

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemu.bbclass: Map the qemu binary name for powerpc64
Khem Raj [Sun, 22 Jul 2012 23:54:16 +0000 (16:54 -0700)]
qemu.bbclass: Map the qemu binary name for powerpc64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agowebkit-gtk: Replace superfluous "+=" with "=", and add leading space
Robert P. J. Day [Mon, 23 Jul 2012 10:06:15 +0000 (06:06 -0400)]
webkit-gtk: Replace superfluous "+=" with "=", and add leading space

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibxp: Change superfluous "+=" to simple "=" when using _append
Robert P. J. Day [Mon, 23 Jul 2012 09:59:05 +0000 (05:59 -0400)]
libxp: Change superfluous "+=" to simple "=" when using _append

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodhcp: remove dependency of dev/staticdev packages on main package
Paul Eggleton [Mon, 23 Jul 2012 08:38:46 +0000 (09:38 +0100)]
dhcp: remove dependency of dev/staticdev packages on main package

The main package is empty and is not produced, which leaves the dev
and staticdev packages broken. Remove the dependencies (added in
bitbake.conf by default) to fix this.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-yocto/3.4: 3.4.6 and 3.4.x-rt14
Bruce Ashfield [Mon, 23 Jul 2012 17:10:24 +0000 (13:10 -0400)]
linux-yocto/3.4: 3.4.6 and 3.4.x-rt14

Updating the 3.4 kernel to the latest -stable release and updating preempt-rt
to 3.4.4-rt14.

Tested on qemu*

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoshadow: use 'users' group by default
Otavio Salvador [Mon, 23 Jul 2012 17:37:17 +0000 (14:37 -0300)]
shadow: use 'users' group by default

The rootfs has 'users' group at number 100 and without this fix it
would assign to a non-existent group and if a group with gid as 1000
is created later it would own all files for users created.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoshadow-native: use 'users' group by default
Otavio Salvador [Mon, 23 Jul 2012 17:37:16 +0000 (14:37 -0300)]
shadow-native: use 'users' group by default

The rootfs has 'users' group at number 100 and without this fix it
would assign to a non-existent group and if a group with gid as 1000
is created later it would own all files for users created.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agokernel.bbclass: fix external module building
Denis Carikli [Fri, 20 Jul 2012 23:22:22 +0000 (16:22 -0700)]
kernel.bbclass: fix external module building

Without that fix we have the following while compiling compat-wireless.
  include/linux/mmzone.h:18:30: fatal error: generated/bounds.h: No such file or directory

Note that the compat-wireless recipe will be added in another commit.

make -C $kerneldir _mrproper_scripts deleted this file along with
other things so we resurrect it with this patch.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobash: fix warning about bashbug reference /usr/bin when installed in /bin
Otavio Salvador [Fri, 20 Jul 2012 17:12:09 +0000 (14:12 -0300)]
bash: fix warning about bashbug reference /usr/bin when installed in /bin

Change the installation process so we have bashbug in ${bindir} and
bash at ${base_bindir}.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibpcap: fix pcap-config to not return -Wl,-rpath
Christopher Larson [Fri, 20 Jul 2012 17:20:33 +0000 (10:20 -0700)]
libpcap: fix pcap-config to not return -Wl,-rpath

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoinitscripts: don't bg mk_dirs in populate-volatile
Christopher Larson [Fri, 20 Jul 2012 17:05:03 +0000 (10:05 -0700)]
initscripts: don't bg mk_dirs in populate-volatile

If a directory needs to be created to create something else in volatiles,
there's no guarantees on ordering due to the backgrounding. We can't guarantee
with certainty that the create directory commands are complete before the
later ones run. This ensures that we wait for directory creations to complete
before we proceed.

Chris Hallinan hit an actual failure due to this back in March of last year.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibgcc: Add missing dependency on libc:do_package
Richard Purdie [Mon, 23 Jul 2012 14:28:46 +0000 (14:28 +0000)]
libgcc: Add missing dependency on libc:do_package

do_package writes out shlibs data and libgcc can depend on the values
there. We therefore need to express the depdency so that sstate can account
for it for example.

Without this a version change in eglibc can "psersist" in the sstate cache
and corrupt builds.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrub: Use COMPATIBLE_HOST variable instead of anonymous python
Richard Purdie [Mon, 23 Jul 2012 11:27:12 +0000 (11:27 +0000)]
grub: Use COMPATIBLE_HOST variable instead of anonymous python

This cleans up code added in 2008 to use modern syntax. It is functionally
equivalent.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrub: Allow reautoconf with the correct parameters
Richard Purdie [Mon, 23 Jul 2012 11:24:34 +0000 (11:24 +0000)]
grub: Allow reautoconf with the correct parameters

Without this change, an effective reautoconf happens at compile time with potentially
incorrect parameters. This change ensures it happens once, in do_configure with the
correct parameters.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoPyphon-native: Fix typo
Richard Purdie [Sun, 22 Jul 2012 13:20:26 +0000 (14:20 +0100)]
Pyphon-native: Fix typo

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython-native: Use append instead of += so the lsb override for EXTRA_OECONF works...
Richard Purdie [Sun, 22 Jul 2012 11:07:53 +0000 (12:07 +0100)]
python-native: Use append instead of += so the lsb override for EXTRA_OECONF works as expected

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoMerge branches 'master' and 'master' of ssh://git.openembedded.org/openembedded-core
Richard Purdie [Sun, 22 Jul 2012 10:41:57 +0000 (11:41 +0100)]
Merge branches 'master' and 'master' of ssh://git.openembedded.org/openembedded-core

12 years agognome-doc-utils: Update to use python-native
Richard Purdie [Fri, 20 Jul 2012 16:19:10 +0000 (17:19 +0100)]
gnome-doc-utils: Update to use python-native

This includes a wrapper so that the full path to python-native is encoded whilst not
exceeding any environment length constraints as hinted at in the patch to this area
of code already included.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk-doc: Ensure we run gtkdocize else we could see build failures (e.g. evolution...
Richard Purdie [Fri, 20 Jul 2012 15:55:46 +0000 (16:55 +0100)]
gtk-doc: Ensure we run gtkdocize else we could see build failures (e.g. evolution-data-server)

This is a fix to Ross' series, we need to run gtkdocize in case anything
was built from source control and the appropriate files are missing.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgnome-keyring: Add missing DEPENDS on glib-2.0
Richard Purdie [Fri, 20 Jul 2012 15:54:27 +0000 (16:54 +0100)]
libgnome-keyring: Add missing DEPENDS on glib-2.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokmod: Add missing DEPENDS on pkgconfig-native
Richard Purdie [Fri, 20 Jul 2012 15:53:54 +0000 (16:53 +0100)]
kmod: Add missing DEPENDS on pkgconfig-native

Without this it can't reautoconf or run configure since it depends on pkg-config.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate: Set SSTAGE_PKGARCH for allarch packages to allow reuse
Richard Purdie [Fri, 20 Jul 2012 15:52:55 +0000 (16:52 +0100)]
sstate: Set SSTAGE_PKGARCH for allarch packages to allow reuse

allarch sstate packages could be marked as machine or package_arch specific. This
change ensures they are not.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoallarch: No need to make packaging machine specific
Richard Purdie [Fri, 20 Jul 2012 15:51:54 +0000 (16:51 +0100)]
allarch: No need to make packaging machine specific

Normally do_package is machine specific but this makes little sense for allarch
recipes. This patch unsets the appropriate variable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: emgd, mtd nand and kmemcheck fixes
Bruce Ashfield [Fri, 20 Jul 2012 15:19:25 +0000 (11:19 -0400)]
linux-yocto/3.4: emgd, mtd nand and kmemcheck fixes

Updating the 3.4 meta SRCREV for the following fixes:

  949fddd meta: crownbay.scc change emgd branch name
  cd0721a yocto/emgd: emgd 1.14 driver
  c2b5ee3 meta: disable CONFIG_MTD_NAND_VERIFY_WRITE
  004cadb meta: kmemcheck: 'other' configs turning on CONFIG_FUNCTION_TRACER

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel-yocto.bbclass: Delete superfluous creation of ${S}/.git directory
Robert P. J. Day [Fri, 20 Jul 2012 15:19:24 +0000 (11:19 -0400)]
kernel-yocto.bbclass: Delete superfluous creation of ${S}/.git directory

In do_kernel_checkout(), replace the creation of ${S}/.git with just
the creation of ${S} since the .git subdirectory is created only a few
lines later using a "mv".  Here's the original code:

  rm -rf ${S}
  mkdir -p ${S}/.git

  echo "WARNING. ${WORKDIR}/git is not a bare clone."
  echo "Ensure that the SRC_URI includes the 'bareclone=1' option."

  # we can fix up the kernel repository, but at the least the meta
  # branch must be present. The machine branch may be created later.
  mv ${WORKDIR}/git/.git ${S}    <-- See?  There it is.

There's no functional change here, it's just less confusing.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>