]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agognome-doc-utils: respect python-dir setting EXTRA_OECONF
Kumar Gala [Tue, 9 Aug 2011 18:36:32 +0000 (13:36 -0500)]
gnome-doc-utils: respect python-dir setting EXTRA_OECONF

Don't just assign but append to EXTRA_OECONF so we maintain python-dir
setting fo EXTRA_OECONF.

This fixes issue if libdir is set to something like '/usr/lib64'.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agoMagic file path should be given for rpmbuild
jani.uusi-rantala@nokia.com [Thu, 11 Aug 2011 15:50:10 +0000 (15:50 +0000)]
Magic file path should be given for rpmbuild

From d54b975506c392cfb59dbb3caf313ac061b6fa01 Mon Sep 17 00:00:00 2001
From: Jani Uusi-Rantala <jani.uusi-rantala@nokia.com>
Date: Thu, 11 Aug 2011 18:37:56 +0300
Subject: [PATCH] Magic file path should be given for rpmbuild in
 _rpmfc_magic_path define so that build system default file
 is not used by accident. Not doing this caused many
 packages to fail building in several systems.

Fixes [YOCTO #1358]

Signed-off-by: Jani Uusi-Rantala <jani.uusi-rantala@nokia.com>
13 years agoscripts/runqemu: Make it run on ubuntu 11.10
Khem Raj [Mon, 8 Aug 2011 06:30:02 +0000 (23:30 -0700)]
scripts/runqemu: Make it run on ubuntu 11.10

location of libGL has moved in ubuntu 11.10
so we look for it in the new locations

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agochkconfig: remove link for update-alternatives to disambiguate
Xiaofeng Yan [Wed, 10 Aug 2011 08:57:32 +0000 (16:57 +0800)]
chkconfig: remove link for update-alternatives to disambiguate

[YOCTO #936]
"update-alternatives" installed: one in /usr/sbin from chkconfig \
(symlinked to "alternatives"), and the other in /usr/bin \
from update-alternatives-cworth.
It appears for whatever reason that the one from chkconfig is run \
during postinst processing but if you run the script from the command \
line it gets the other one.
this is due to differences in the PATH environment variable.

The following is the sequence to call scripts after kernel booting
inittab
  -->rcS
     -->./S40networking(PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
     -->S98configure(call rpm-postinstall)
        #"/usr/sbin" is found prior to "/usr/bin", so update-alternatives from chkconfig is run in this script
  -->rc5.d
  -->profile(profile:4:PATH="/usr/local/bin:/usr/bin:/bin" profile:15: PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin)
  #"/usr/bin/" is found prior to "/usr/sbin", so update-alternatives from update-alternatives-cworth is run in this script

So I remove the symlink (update-alternatives linked to chkconfig). The one from update-alternatives-cworth is left alone.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agoscripts/combo-layer: a simple way to script the combo-layer conf
Leandro Dorileo [Wed, 10 Aug 2011 05:09:05 +0000 (01:09 -0400)]
scripts/combo-layer: a simple way to script the combo-layer conf

This small patch introduces a a very simple and basic way to script
the combo-layer conf file. With that a combo can be shared with no
need to change its config - associated to the use of environment
variables for example.

*Similar* to bitbake it considers every value starting with @ to be
a python script. So local_repo could be easily configured as:

[bitbake]
local_repo = @os.getenv("LOCAL_REPO_DIR") + "/bitbake"

or any more sophisticated python syntax.

This version updates the config file description so users can be
aware of.

Signed-off-by: Leandro Dorileo <ldorileo@gmail.com>
13 years agosstate: Add level 2 debug so its possible to see what sstate is doing
Richard Purdie [Wed, 10 Aug 2011 18:39:31 +0000 (19:39 +0100)]
sstate: Add level 2 debug so its possible to see what sstate is doing

Currently its hard to figure out if/when sstate is checking for possible
packages to speed up builds. This patch adds level 2 debug output which
better indicates what files are being searched for an why.

[YOCTO #1259]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc: Various fixups to ensure consistent gcc builds
Richard Purdie [Tue, 9 Aug 2011 17:51:44 +0000 (18:51 +0100)]
gcc: Various fixups to ensure consistent gcc builds

We ensure that:
* the shared work directory contains PR and ensure PR values are consistent across gcc builds
* the regexp to handle library directories is in a specific task and run once

This avoids breakage that was seen in incremental builds after commit
be1f70d68b6b75772ebab8bdff683ddd7c42b0cd where the interpretor could
become corrupted. This was due to the sed expression corrupting
the source directory.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: force GLIBC_EXTRA_OECONF to not be uset for nativesdk
Kumar Gala [Tue, 9 Aug 2011 03:52:11 +0000 (22:52 -0500)]
eglibc: force GLIBC_EXTRA_OECONF to not be uset for nativesdk

Don't use GLIBC_EXTRA_OECONF for the nativesdk builds.  Easiest solution
is to just override it settings.  Otherwise we might pickup configure
options ment for the target build.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agooe.terminal: improve how we spawn screen
Chris Larson [Tue, 5 Apr 2011 19:01:04 +0000 (12:01 -0700)]
oe.terminal: improve how we spawn screen

- Name the screen session 'devshell', to avoid confusion if running bitbake
  itself under a screen session.
- Display a warning message when spawning screen, so it's clear to the user
  that screen has been run (otherwise do_devshell just appears to hang).

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agoRework how the devshell functions
Chris Larson [Tue, 29 Mar 2011 19:53:19 +0000 (12:53 -0700)]
Rework how the devshell functions

In the new implementation, each known terminal is defined as a class in
oe.terminal, as a subclass of bb.process.Popen.  terminal.bbclass wraps this
functionality, providing the metadata pieces.  It obeys the OE_TERMINAL
variable, which is a 'choice' typed variable.  This variable may be 'auto',
'none', or any of the names of the defined terminals.

When using 'auto', or requesting an unsupported terminal, we attempt to spawn
them in priority order until we get one that's available on this system (and
in the case of the X terminals, has DISPLAY defined).  The 'none' value is
used when we're doing things like automated builds, and want to ensure that no
terminal is *ever* spawned, under any circumstances.

Current available terminals:

    gnome
    konsole
    xterm
    rxvt
    screen

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agocore-image: adjust to use the new IMAGE_FEATURES support
Chris Larson [Tue, 9 Aug 2011 14:16:17 +0000 (07:16 -0700)]
core-image: adjust to use the new IMAGE_FEATURES support

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agoimage: add support for generally useful {dev,doc,dbg}-pkgs features
Chris Larson [Mon, 8 Aug 2011 23:12:08 +0000 (16:12 -0700)]
image: add support for generally useful {dev,doc,dbg}-pkgs features

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agoimage: implement IMAGE_FEATURES
Chris Larson [Mon, 8 Aug 2011 23:09:37 +0000 (16:09 -0700)]
image: implement IMAGE_FEATURES

IMAGE_FEATURES is analagous to DISTRO_FEATURES and MACHINE_FEATURES, for
root filesystem construction. Currently, the only supported features are
any defined package groups, as used by the oe.packagegroup python
module.

Example usage:

    PACKAGE_GROUP_myfeature = "vim iptables"
    IMAGE_FEATURES += "myfeature"

Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 years agoscripts/oe-buildenv-internal: improve the error detecting for $BDIR
Dexuan Cui [Thu, 4 Aug 2011 06:53:20 +0000 (14:53 +0800)]
scripts/oe-buildenv-internal: improve the error detecting for $BDIR

The previous fix for a bug in Ubuntu 10.04 readlink,
be2a2764d8ceb398d81714661e6f199c8b11946c, notified the user when a trailing
slash was used. As there is no semantic difference, simply remove any
trailing slashes and proceed without nagging the user.

See [YOCTO #671] for more details.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agotune-x86-64: Fix DEFAULTTUNE order so weak default to overrides the arch-ia32 version
Richard Purdie [Wed, 10 Aug 2011 12:19:28 +0000 (13:19 +0100)]
tune-x86-64: Fix DEFAULTTUNE order so weak default to overrides the arch-ia32 version

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosqlite3: Ensure nativesdk package extension is handled correctly
Richard Purdie [Tue, 9 Aug 2011 14:04:27 +0000 (15:04 +0100)]
sqlite3: Ensure nativesdk package extension is handled correctly

This avoids the warning:

NOTE: multiple providers are available for runtime libsqlite3-dev (sqlite3, sqlite3-nativesdk)
NOTE: consider defining a PREFERRED_PROVIDER entry to match libsqlite3-dev

until such times as we convert nativesdk to use a prefix like multilib.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: Add MULTI_PROVIDER_WHITELIST manipulation for multilib
Richard Purdie [Tue, 9 Aug 2011 13:35:34 +0000 (14:35 +0100)]
base.bbclass: Add MULTI_PROVIDER_WHITELIST manipulation for multilib

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodefault-distrovars.inc: Allow world builds to be successful
Richard Purdie [Tue, 9 Aug 2011 11:01:04 +0000 (12:01 +0100)]
default-distrovars.inc: Allow world builds to be successful

Currently we exclude some packages with license issues from world builds
but we don't exclude packages that depend on them leading to errors
when trying a "bitbake world". This patch also blacklists the dependees
so that a world build doesn't show horrible errors and requires the -k
option.

[YOCTO #1262]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodefaultsetup: Use .= to add TCLIBCAPPEND to TMPDIR
Daniel Lazzari [Fri, 5 Aug 2011 19:56:17 +0000 (12:56 -0700)]
defaultsetup: Use .= to add TCLIBCAPPEND to TMPDIR

Lazily appending causes a bug where wrong cache is
cleared when BB_SRCREV_POLICY = "clear".

Tested with qemuarm on uclibc/eglibc in same build dir

Signed-off-by: Daniel Lazzari Jr <dlazzari@leapfrog.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqemu: Poke more paths for presence of libgl
Khem Raj [Mon, 8 Aug 2011 06:14:03 +0000 (23:14 -0700)]
qemu: Poke more paths for presence of libgl

On ubuntu 11.10 libGL is not in
/usr/lib/`uname -i`-linux-gnu/ directory
so we search this dir too.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouclibc_0.9.32: Sync mount.h from eglibc
Khem Raj [Mon, 8 Aug 2011 21:48:28 +0000 (14:48 -0700)]
uclibc_0.9.32: Sync mount.h from eglibc

mount.h has few more defines that are being used by newer
applications such as systemd

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: Ensure PREFERRED_PROVIDER and PREFERRED_VERSION values are set for...
Richard Purdie [Fri, 5 Aug 2011 13:51:12 +0000 (14:51 +0100)]
base.bbclass: Ensure PREFERRED_PROVIDER and PREFERRED_VERSION values are set for multilibs

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomodule-init-tools-cross: Clean the RDEPENDS value
Dongxiao Xu [Mon, 8 Aug 2011 07:35:38 +0000 (15:35 +0800)]
module-init-tools-cross: Clean the RDEPENDS value

cross recipes should not RDEPENDS on any package. Cross recipe has no
"PACKAGES" define, thus clean RDEPENDS_${PN} value to ensure correctness
in multilib.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognome-doc-utils: Avoid RDEPENDS on bash in native case.
Dongxiao Xu [Mon, 8 Aug 2011 07:35:37 +0000 (15:35 +0800)]
gnome-doc-utils: Avoid RDEPENDS on bash in native case.

gnome-doc-utils-native should not RDEPENDS on bash, thus add RDEPENDS
override to fix the issue.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agox86 tune inc files: add x32 abi tune parameters
Nitin A Kamble [Sat, 23 Jul 2011 00:18:47 +0000 (17:18 -0700)]
x86 tune inc files: add x32 abi tune parameters

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agoinsane.bbclass: add entries for linux-gnux32
Nitin A Kamble [Tue, 26 Jul 2011 09:19:41 +0000 (02:19 -0700)]
insane.bbclass: add entries for linux-gnux32

For x86_64 new ABI : x32, there is a new
name for the TARGET_OS: linux-gnux32

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agositeinfo.bbclass: add entries for new x86_64 ABI x32 target
Nitin A Kamble [Wed, 27 Jul 2011 22:27:27 +0000 (15:27 -0700)]
siteinfo.bbclass: add entries for new x86_64 ABI x32 target

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agoeglibc: remove PACKAGES from eglibc.inc
Martin Jansa [Mon, 8 Aug 2011 07:56:40 +0000 (09:56 +0200)]
eglibc: remove PACKAGES from eglibc.inc

* PACKAGES were defined in eglibc.inc as well as eglibc-package.inc, definition
  from eglibc.inc was overriden from recipes including eglibc.inc only

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib.conf: Supported multilib extend in more recipes.
Lianhao Lu [Mon, 8 Aug 2011 03:39:25 +0000 (11:39 +0800)]
multilib.conf: Supported multilib extend in more recipes.

Added more recipes supporting multilib extend.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolsb: Fix hard code libdir issue for multilib
Mei Lei [Mon, 8 Aug 2011 03:22:51 +0000 (11:22 +0800)]
lsb: Fix hard code libdir issue for multilib

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel-yocto: add CCACHE_DIR dependency to do_kernel_configme
Saul Wold [Sat, 6 Aug 2011 20:39:21 +0000 (13:39 -0700)]
kernel-yocto: add CCACHE_DIR dependency to do_kernel_configme

[YOCTO #1350]

Since do_kernel_configme is added before the standard do_configure task
we needed to add CCACHE_DIR so when the kernel builds it's host configure
tools the CCACHE_DIR exists.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolinux-yocto: merge v3.0.1
Bruce Ashfield [Fri, 5 Aug 2011 20:22:18 +0000 (16:22 -0400)]
linux-yocto: merge v3.0.1

3.0.1 -stable has been released. This now becomes the baseline for
the 3.0 linux-yocto tree. As was the policy in the 2.6.34 and
2.6.37 kernels, the version stays at 3.0 in the recipe.

Build and boot tested on qemu* targets.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: update atom-pc preempt-rt definition
Bruce Ashfield [Wed, 3 Aug 2011 19:10:12 +0000 (15:10 -0400)]
linux-yocto: update atom-pc preempt-rt definition

The atom-pc preempt-rt configuration wasn't pulling in the common-pc
settings, and wasn't defining re-use of the preempt-rt/base branch
properly.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: allow configuration of arbitrary branches
Bruce Ashfield [Tue, 2 Aug 2011 19:09:50 +0000 (15:09 -0400)]
linux-yocto: allow configuration of arbitrary branches

When building an external tree or bootstrapping a BSP the
external branch may not have been checked out. The tools now ensure
that the tree is ready for configuration, so we no longer need to
force the checkout of the external branch.

This change is coupled with some kern tools tweaks as follows:

  40d9bab updateme: allow the location of board descriptions based on defines
  59859ca createme: use branch name when creating meta data
  91b4275 configme: determine meta branch based on directories, not branch naming
  f5a915c kgit-meta: make branch creation and renaming more robust

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: pass KMACHINE to updateme, not MACHINE
Bruce Ashfield [Fri, 29 Jul 2011 14:19:00 +0000 (10:19 -0400)]
linux-yocto: pass KMACHINE to updateme, not MACHINE

To support the mapping of any oe/yocto MACHINE to a kernel
branch that may not share that naming structure we have
KMACHINE and KBRANCH. To allow the mapping to work, we
actually have to pass KMACHINE into updateme and not MACHINE.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolttng-control: Update to 0.89
Richard Purdie [Mon, 8 Aug 2011 12:37:20 +0000 (13:37 +0100)]
lttng-control: Update to 0.89

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolttng-ust: Update to 0.15
Saul Wold [Sat, 6 Aug 2011 05:37:21 +0000 (22:37 -0700)]
lttng-ust: Update to 0.15

This address [YOCTO #1005] which was waiting for upstream updates
from the lttng and GDB teams.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoliburcu: Update to 0.6.4
Saul Wold [Sat, 6 Aug 2011 05:35:59 +0000 (22:35 -0700)]
liburcu: Update to 0.6.4

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogdb: Update to 7.3
Saul Wold [Sat, 6 Aug 2011 05:35:31 +0000 (22:35 -0700)]
gdb: Update to 7.3

This has one upstream patch removed and a couple rebased

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agogtk-icon-cache bbclass: don't assing to global RDEPENDS
Koen Kooi [Fri, 5 Aug 2011 17:35:57 +0000 (19:35 +0200)]
gtk-icon-cache bbclass: don't assing to global RDEPENDS

Only the package with the icons needs it

[Squashed laster RDEPENDS fix from koen into commit]
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agoapr-util: disable pqsql support to avoid configure error
Mei Lei [Fri, 5 Aug 2011 01:52:15 +0000 (09:52 +0800)]
apr-util: disable pqsql support to avoid configure error

The pqsql config script will check host path and add host paths to compiler and linker options:
adding "-I/usr/include/postgresql" to CPPFLAGS
adding "-L/usr/lib" to LDFLAGS

Disable pqsql support since we didn't use this feature in other recipes.

Signed-off-by: Mei Lei <lei.mei@intel.com>
13 years agopython-native: Fix a compiler finding issue
Mei Lei [Thu, 28 Jul 2011 07:20:36 +0000 (15:20 +0800)]
python-native: Fix a compiler finding issue

The CC variable sometimes add option information after compiler name, but python can't get the real compiler name if those information added.
Fix this issue by dropping the option information when finding compiler name.

Signed-off-by: Mei Lei <lei.mei@intel.com>
13 years agogst-plugins: partially sync packaging with OE .dev
Koen Kooi [Thu, 28 Jul 2011 09:44:57 +0000 (11:44 +0200)]
gst-plugins: partially sync packaging with OE .dev

Gst-plugins get 2 extra packages:

${PN}-apps: helper apps in ${bindir}
${PN}-meta: meta package that will drag in all plugins, libs and apps ${PN} generates

And all libs are split out and run through debian style renaming if enabled.

The packaging include was split out to be reused by external plugins (e.g. gst-plugin-gl, gst-fluendo-*).

The new package list looks like:

libgstapp-0.10-0_0.10.32-r1_armv7a.ipk
libgstfft-0.10-0_0.10.32-r1_armv7a.ipk
[..]
gst-plugins-base-videorate_0.10.32-r1_armv7a.ipk
gst-plugins-base-videoscale_0.10.32-r1_armv7a.ipk
[..]
gst-plugins-base-meta_0.10.32-r1_armv7a.ipk
[..]
gst-plugins-base-apps_0.10.32-r1_armv7a.ipk

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agogcc: use ${base_lib} to match gcc default configuration
Kumar Gala [Thu, 4 Aug 2011 18:54:59 +0000 (13:54 -0500)]
gcc: use ${base_lib} to match gcc default configuration

Rather than tweaking MULTILIB_DIRNAMES & MULTILIB_OSDIRNAMES like is
done for x86-64 via 64bithack.patch.  We can just go with gcc defaults
and utilize ${base_lib} for where to find gcc libs.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agobitbake.conf/powerpc64: Set baselib to 'lib64' for ppc64
Kumar Gala [Thu, 4 Aug 2011 18:51:26 +0000 (13:51 -0500)]
bitbake.conf/powerpc64: Set baselib to 'lib64' for ppc64

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotask-core-boot.bb: Add PACKAGE definition to facilitate multilib
Dongxiao Xu [Fri, 5 Aug 2011 05:48:25 +0000 (13:48 +0800)]
task-core-boot.bb: Add PACKAGE definition to facilitate multilib

If there is no PACKAGES defined in bb file, its default definition would
be "${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-staticdev ${PN}-locale".
In multilib case, ${PN} is extended with ${MLPREFIX}, so there is no
rename occurred for the PACKAGES. Therefore for task-core-boot,
RDEPENDS_lib32-task-core-boot will be empty, resulting busybox,
tinylogin, etc. are not bulit out.

This fixed the issue that /bin/sh is not provided while do_rootfs.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc-locale: Added ${MLPREFIX} for task dependency.
Lianhao Lu [Fri, 5 Aug 2011 03:42:51 +0000 (11:42 +0800)]
eglibc-locale: Added ${MLPREFIX} for task dependency.

[YOCTO #1338] Added ${MLPREFIX} to the task dependency between
eglibc-locale:do_install and the corresponding virtual/libc's
do_populate_sysroot.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agoghostscript: Fixed the incorrect DEPENDS.
Lianhao Lu [Fri, 5 Aug 2011 03:33:59 +0000 (11:33 +0800)]
ghostscript: Fixed the incorrect DEPENDS.

[YOCTO #1337]
Using ghostscript-native instead of ${PN}-native in DEPENDS to correct
the invalid DEPENDS in multilib cases.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agoMisc: Corrected the dependency on non-native for -native package.
Lianhao Lu [Fri, 5 Aug 2011 03:28:36 +0000 (11:28 +0800)]
Misc: Corrected the dependency on non-native for -native package.

[YOCTO #1336] Corrected the wrong dependency on non-native for -native
packages for the following recipes:

- util-macros
- intltool

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agoqt4x11.bbclass: Using BPN instead of PN.
Lianhao Lu [Fri, 5 Aug 2011 02:57:55 +0000 (10:57 +0800)]
qt4x11.bbclass: Using BPN instead of PN.

[YOCTO #1335] Using BPN instead of BP to decide the DEPENDS content for
multilib cases.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agotcp-wrappers: Using ${PN} in PACKAGES.
Lianhao Lu [Fri, 5 Aug 2011 01:56:42 +0000 (09:56 +0800)]
tcp-wrappers: Using ${PN} in PACKAGES.

[YOCTO #1334]
Using ${PN} instead of tcp-wrappers in PACKAGES and FILES_*, since the
FILES_tcp-wrappers would be overwritten by FILES_${PN} when the variable
name gets expansioned.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agoSRC_URI: Using BPN instaed of PN.
Lianhao Lu [Fri, 5 Aug 2011 01:53:37 +0000 (09:53 +0800)]
SRC_URI: Using BPN instaed of PN.

[YOCTO #1333]
In multilib cases, PN has the prefix of MLPREFIX. It is not correct to
use PN in SRC_URI. We should use the pruned BPN instead.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agogtk-icon-cache: add hicolor-icon-theme to DEPENDS
Koen Kooi [Fri, 5 Aug 2011 14:18:57 +0000 (16:18 +0200)]
gtk-icon-cache: add hicolor-icon-theme to DEPENDS

This fixes do_rootfs breaking because OE didn't resolve the RDEPENDS added with python

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomachine/include/arm/feature-arm-thumb: Allow thumb to be disabled
Richard Purdie [Fri, 5 Aug 2011 16:22:16 +0000 (17:22 +0100)]
machine/include/arm/feature-arm-thumb: Allow thumb to be disabled

The previous commit to this file meant thumb was always being turned on
even when TUNE_FEATURES did not contain "thumb". This is clearly wrong
and this patch corrects this so thumb options are no longer specified
in that case.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolocal.conf.sample: Comment out BBMASK by default
Richard Purdie [Fri, 5 Aug 2011 16:18:55 +0000 (17:18 +0100)]
local.conf.sample: Comment out BBMASK by default

This means we can set defaults in layers or other configurations without
the default user config masking it out.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel,module-base.bbclass: Improve KERNEL_LD & KERNEL_AR variables
Nitin A Kamble [Tue, 2 Aug 2011 20:44:44 +0000 (13:44 -0700)]
kernel,module-base.bbclass: Improve KERNEL_LD & KERNEL_AR variables

KERNEL_LD was using ${LD} in it's definition, which is not correct for
different ABIs such as x32 or i386 on x86_64 machine. This brings it
into sync with the corresponding gcc settings, likewise the same with
the KERNEL_AR variable.

[RP: Updated commit message]
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibzypp: Increase the size of the arch compat table
Mark Hatle [Thu, 4 Aug 2011 16:33:23 +0000 (11:33 -0500)]
libzypp: Increase the size of the arch compat table

Fix [YOCTO #1313]

Increase the size of the arch compat table to 30 entries.

Also cleanup a few things related to Poky -> OE name changing.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Fixed up arm patch

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolinux-yocto_3.0: Fix SRC_URI to use yoctoproject.org
Saul Wold [Fri, 5 Aug 2011 00:16:36 +0000 (17:16 -0700)]
linux-yocto_3.0: Fix SRC_URI to use yoctoproject.org

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agodpkg: Update to use perlnative
Saul Wold [Fri, 5 Aug 2011 01:07:08 +0000 (18:07 -0700)]
dpkg: Update to use perlnative

[YOCTO #1298]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoimage-mklibs.bbclass: Utilize ${base_libdir} instead of static /lib
Kumar Gala [Thu, 4 Aug 2011 04:03:23 +0000 (23:03 -0500)]
image-mklibs.bbclass: Utilize ${base_libdir} instead of static /lib

We might redefine ${base_libdir} from being set to just /lib.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agoimage-mklibs.bbclass: Add powerpc64 arch support
Kumar Gala [Thu, 4 Aug 2011 04:03:14 +0000 (23:03 -0500)]
image-mklibs.bbclass: Add powerpc64 arch support

powerp64 dynamic loader is 'ld64.so.1'.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agogcc-4.6: Add support for the e5500 PowerPC core
Kumar Gala [Thu, 4 Aug 2011 07:57:47 +0000 (02:57 -0500)]
gcc-4.6: Add support for the e5500 PowerPC core

Implements basic e5500 enablement in gcc, with a scheduler, -mcpu
flag, etc...

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agotune/arch-powerpc64: include arch-powerpc.inc to keep things in sync
Kumar Gala [Thu, 4 Aug 2011 07:23:47 +0000 (02:23 -0500)]
tune/arch-powerpc64: include arch-powerpc.inc to keep things in sync

Added a DEFAULTTUNE setting and included arch-powerpc.inc.  This way we
pick up the changes to TUNE_PKGARCH and things should be kept more in
sync going forward.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agoprelink: Add lib64 dirs to prelink.conf
Kumar Gala [Thu, 4 Aug 2011 06:05:38 +0000 (01:05 -0500)]
prelink: Add lib64 dirs to prelink.conf

Handle multlib or cases that baselib is lib64.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agolibproxy: utilize libdir when configured
Kumar Gala [Thu, 4 Aug 2011 03:55:31 +0000 (22:55 -0500)]
libproxy: utilize libdir when configured

Pass $libdir through when we configure to support a location other
than /lib.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agolibmusicbrainz: utilize base_libdir when configured
Kumar Gala [Thu, 4 Aug 2011 03:54:05 +0000 (22:54 -0500)]
libmusicbrainz: utilize base_libdir when configured

Pass $libdir through when we configure to support a location
other than /lib.  We also have to tweak the cmake files to allow $libdir
to even be set.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agocoreutils: Fix build on uclibc
Khem Raj [Wed, 3 Aug 2011 21:12:30 +0000 (14:12 -0700)]
coreutils: Fix build on uclibc

coreutils has getloadavg.m4 of its own. So we need
to make sure that we remove the portions which look
into hardcoded /usr/local/lib paths. These tests are
only for AIX so we dont lose much

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoautoconf: Remove code checking for hardcoded /usr/local
Khem Raj [Wed, 3 Aug 2011 21:12:29 +0000 (14:12 -0700)]
autoconf: Remove code checking for hardcoded /usr/local

This code is only relevant for AIX and causes
problems with OE QA sniffer which detects -L/usr/local/lib
on linker commandline during cross compile and rightly barfs

This only happens when getloadavg() is not found in libc
so we do not reach that code with eglibc but only with uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoautoconf: Remove patch=1 from SRC_URI
Khem Raj [Wed, 3 Aug 2011 21:12:28 +0000 (14:12 -0700)]
autoconf: Remove patch=1 from SRC_URI

Edit summary field s/produced/produce/

Fix the license related warning

WARNING: autoconf-native: No generic license file exists for:
GPLv2|GPLv3 at /b/openembedded-core/meta/files/common-licenses
WARNING: autoconf-native: There is also no SPDXLICENSEMAP for this
license type: GPLv2|GPLv3 at
/b/openembedded-core/meta/files/common-licenses

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agobuildstats.bbclass: Adding disk io measurement
Beth Flanagan [Wed, 3 Aug 2011 19:31:08 +0000 (12:31 -0700)]
buildstats.bbclass: Adding disk io measurement

This commit adds disk-io statistics functionality on a build
and per-task basis.

It pulls measurements for whatever partition TMPDIR exists on.
This data could be off if SSTATE_DIR and DL_DIR exist on
a different partition/volume.

Notes on what this pulls:

ReadsComp: Total number of reads complete
ReadsMerged: Total number of adjacent reads merged
SectRead: Total number of sectors read
TimeReads: Total number of m/s spent reading
WritesComp: Total number of writes completed
SectWrite: Total number of sectors written
TimeWrite: Total number of m/s spent writing
IOinProgress: Total amount of IO in progress at the time of
              we look at /proc/diskstats.
TimeIO: Total number of m/s spent doing IO
WTimeIO: Weighted time doing I/O. From iostats.txt:

"This field is incremented at each I/O start, I/O completion, I/O
 merge, or read of these stats by the number of I/Os in progress
 (field 9) times the number of milliseconds spent doing I/O since the
 last update of this field.  This can provide an easy measure of both
 I/O completion time and the backlog that may be accumulating."

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
13 years agotoolchain-scripts & other classes: add TARGET_LD_ARCH & TARGET_AS_ARCH vars
Nitin A Kamble [Wed, 27 Jul 2011 22:31:28 +0000 (15:31 -0700)]
toolchain-scripts & other classes: add TARGET_LD_ARCH & TARGET_AS_ARCH vars

This is comming from x32 need to pass special parameters to ld & as.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 years agoeglibc: Fix patch merge breakage
Richard Purdie [Thu, 4 Aug 2011 14:41:08 +0000 (15:41 +0100)]
eglibc: Fix patch merge breakage

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoVarious siteinfo: Drop rp-pppoe variables
Tom Rini [Wed, 27 Jul 2011 18:43:45 +0000 (11:43 -0700)]
Various siteinfo: Drop rp-pppoe variables

These variables were wrong on big-endian machines and this recipe is now
handled in meta-oe (along with the siteinfo files).

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agositeinfo: Add posix_getpwuid_r posix_getgrgid_r posix_getpwnam_r to uclibc
Tom Rini [Wed, 27 Jul 2011 18:33:38 +0000 (11:33 -0700)]
siteinfo: Add posix_getpwuid_r posix_getgrgid_r posix_getpwnam_r to uclibc

This comes from oe.dev and while at this, drop from powerpc-linux as the
common-libc files set them.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agosite/common-linux: Add ac_cv_file__dev_zero=yes
Tom Rini [Wed, 27 Jul 2011 18:31:34 +0000 (11:31 -0700)]
site/common-linux: Add ac_cv_file__dev_zero=yes

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agoVarious siteinfo files: Consolidate va_copy/__va_copy/va_val_copy
Tom Rini [Wed, 27 Jul 2011 18:08:15 +0000 (11:08 -0700)]
Various siteinfo files: Consolidate va_copy/__va_copy/va_val_copy

Providing va_copy / __va_copy come down to the libc.  va_val_copy
comes down to the architecture.  Unfortunately it's assumed true
if not set, so we need to make sure to set this to false for
x86_64 where it is not true.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agoVarious siteinfo files: Drop enca section
Tom Rini [Tue, 26 Jul 2011 23:27:33 +0000 (16:27 -0700)]
Various siteinfo files: Drop enca section

As part of re-syncing with oe.dev, these tests aren't needed with the
oe.dev recipe of enca now.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agoVarious siteinfo files: Consolidate ac_cv_func_getaddrinfo
Tom Rini [Tue, 26 Jul 2011 23:23:01 +0000 (16:23 -0700)]
Various siteinfo files: Consolidate ac_cv_func_getaddrinfo

This is a libc feature, move there.  Drop the ipsec-tools specific
test as ipsec-tools (a) assumes fine on cross-compile and (b) doesn't
support buggy getaddrinfo now.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agoVarious site files: Drop monotone/mono
Tom Rini [Tue, 26 Jul 2011 22:46:32 +0000 (15:46 -0700)]
Various site files: Drop monotone/mono

Not in oe-core nor meta-oe and based on oe.dev, possibly incomplete.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agotcl: Add tcl_cv_api_serial to siteinfo
Tom Rini [Tue, 26 Jul 2011 22:40:03 +0000 (15:40 -0700)]
tcl: Add tcl_cv_api_serial to siteinfo

This comes from oe.dev which had this set for arm-linux only.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agosudo: Drop sudo_cv_uid_t_len from site files
Tom Rini [Tue, 26 Jul 2011 21:35:37 +0000 (14:35 -0700)]
sudo: Drop sudo_cv_uid_t_len from site files

We were just setting this to the assumed default.  If anything, this
belongs in the libc files if we must set it.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agoeglibc_2.13: Add support for handling sqrt & sqrtf on powerpc
Kumar Gala [Mon, 1 Aug 2011 14:26:22 +0000 (09:26 -0500)]
eglibc_2.13: Add support for handling sqrt & sqrtf on powerpc

Some of powerpc's dont support the fsqrt[s] instructions so we need an
implementation of the library functions for those processors.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agoeglibc: fix build for armv4 machines
Dmitry Eremin-Solenikov [Wed, 3 Aug 2011 12:12:37 +0000 (16:12 +0400)]
eglibc: fix build for armv4 machines

eglibc builds for arm-eabi unconditionally enables the libc-do-syscall.S
file, which contains thumb assembly. It's unused in arm-eabi-nothumb case,
so just ifdef the actual code.

V2: use the patch from oe.dev.

The patch is submitted to sourceware bugzilla by Khem Raj back in October
of 2010, but the status is still UNCONFIRMED and the patch isn't commited.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: Khem Raj <raj.khem@gmail.com>
13 years agolibxt: Add depends for util-linux and libxcb
Saul Wold [Tue, 2 Aug 2011 21:22:07 +0000 (14:22 -0700)]
libxt: Add depends for util-linux and libxcb

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoglibc: Remove unused version
Saul Wold [Thu, 28 Jul 2011 06:40:27 +0000 (23:40 -0700)]
glibc: Remove unused version

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoconnman_test.sh: Rework for busybox 'ps'
Tom Rini [Wed, 27 Jul 2011 22:01:35 +0000 (15:01 -0700)]
connman_test.sh: Rework for busybox 'ps'

This script has two problems today.  First, it does 'ps -ef cmd'
in failure which real ps doesn't grok and busybox ps just ignores
the argument on.  Switch that to 'ps -ef'.  Second, busybox ps -o
doesn't understand cmd but does understand comm.  Using comm lets
us simplify the test logic as well, so switch to that.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agokernel.bbcalss: Added do_savedefconfig task.
Noor, Ahsan [Tue, 2 Aug 2011 12:30:18 +0000 (17:30 +0500)]
kernel.bbcalss: Added do_savedefconfig task.

* Added do_savedefconfig task to kernel.bbclass.

Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com>
13 years agoxserver-nodm-init: Fix X start failure on some platform
Zhai Edwin [Tue, 2 Aug 2011 07:24:00 +0000 (15:24 +0800)]
xserver-nodm-init: Fix X start failure on some platform

sudo is used to run rootless X in xserver-nodm, and start to fail with
"xf86OpenConsole: Cannot open /dev/tty0" error after upgrade to 1.8.1. sudo
seems wait for some resource that is unavailable in early phase of booting.
This patch swith to "su" for rootless X starting as a fix.

[YOCTO #1211] got fixed

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agoapr-util: Upgrade to 1.3.12
Zhai Edwin [Thu, 28 Jul 2011 06:42:47 +0000 (14:42 +0800)]
apr-util: Upgrade to 1.3.12

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Merged with ${BPN} change

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoapr: Upgrade to 1.4.5
Zhai Edwin [Thu, 28 Jul 2011 06:33:35 +0000 (14:33 +0800)]
apr: Upgrade to 1.4.5

Remove buildconf_fix.patch as already in upstream.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Merged with ${BPN} change

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoparted: Upgrade to 3.0
Zhai Edwin [Thu, 28 Jul 2011 08:33:20 +0000 (16:33 +0800)]
parted: Upgrade to 3.0

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agogpgme: Upgrade to 1.3.1
Zhai Edwin [Thu, 28 Jul 2011 07:27:22 +0000 (15:27 +0800)]
gpgme: Upgrade to 1.3.1

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agolibassuan: Upgrade to 2.0.2
Zhai Edwin [Thu, 28 Jul 2011 07:34:44 +0000 (15:34 +0800)]
libassuan: Upgrade to 2.0.2

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agolibsoup-2.4: Upgrade to 2.34.2
Zhai Edwin [Thu, 28 Jul 2011 05:48:52 +0000 (13:48 +0800)]
libsoup-2.4: Upgrade to 2.34.2

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agolighttpd: Upgrade to 1.4.29
Zhai Edwin [Wed, 27 Jul 2011 08:11:19 +0000 (16:11 +0800)]
lighttpd: Upgrade to 1.4.29

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agokernel,cml1.bbclass: Move menuconfig to cml1
Noor, Ahsan [Fri, 29 Jul 2011 12:24:50 +0000 (17:24 +0500)]
kernel,cml1.bbclass: Move menuconfig to cml1

* The menuconfig target exists in places other than the kernel that use kernel style config.

Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com>
13 years agoenvironment files: Added and unified version related variables.
Lianhao Lu [Mon, 1 Aug 2011 07:50:02 +0000 (15:50 +0800)]
environment files: Added and unified version related variables.

[YOCTO #1306] Fixing.

Added and unified version related variables in all environment files
generated by package meta-toolchain, meta-ide-support,
meta-environment-xxx.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
13 years agobinutils: Add support for powerpc e5500 core
Kumar Gala [Mon, 1 Aug 2011 14:30:34 +0000 (09:30 -0500)]
binutils: Add support for powerpc e5500 core

Add powerpc e5500 core support to binutils so its recognized by
assember, etc.  The e5500 is a 64-bit core from Freescale utilized in
the P5020 SoC.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
13 years agogtk-icon-cache bbclass: only add runtime dependencies on hicolor-icon-theme when...
Koen Kooi [Mon, 1 Aug 2011 11:08:42 +0000 (13:08 +0200)]
gtk-icon-cache bbclass: only add runtime dependencies on hicolor-icon-theme when installing icons

Tested with gnome-icon-theme and libsoup recipes on angstrom.

Signed-off-by: Koen Kooi <koen@openembedded.org>
13 years agobison: Add dependency on flex-native
Noor, Ahsan [Mon, 1 Aug 2011 10:16:18 +0000 (15:16 +0500)]
bison: Add dependency on flex-native

* This is 0479b70418ef553859029911c57c63a7aaebe299 from OE. flex-native is needed to build bison. The dependency was being satisfied indirectly but we need to add it explicitly.

Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com>