]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agoqt4: fix generated sdk
Eric Bénard [Sat, 10 Sep 2011 09:17:57 +0000 (11:17 +0200)]
qt4: fix generated sdk

- qt4-tools-nativesdk : actually the qmake binary which gets installed
comes from the native recipe. This patch fix this problem by launching
configure twice : once to compile qmake using the right toolchain for
nativesdk, and a second time using the native qmake to compile all the
other tools for the nativesdk. Then we install the right qmake.

- mkspec : the link actually created in qt4-tools-nativesdk's
do_install point to nowhere so remove it and generate the link in
meta-toolchain-qte as it's the only place where we have all the variable
to create it.

- toolchain_create_sdk_env_script_append : we need to add OE_QMAKE_CFLAGS,
OE_QMAKE_CXXFLAGS and OE_QMAKE_LDFLAGS else the sdk won't find these
variables that are inserted by qmake in the Makefiles.

- with this patch, oe-core generates a working meta-toolchain-qte which
can compile a small example and is properly recognized by qtcreator (this
brings oe-core's meta-toolchain-qte to oe-dev's functional state).

Signed-off-by: Eric Bénard <eric@eukrea.com>
13 years agoqt4e-demo-image: Improve image contents
Eric Bénard [Wed, 7 Sep 2011 08:50:34 +0000 (10:50 +0200)]
qt4e-demo-image: Improve image contents

Use ${POKY_BASE_INSTALL} in order to have the base files and
tools in the image.

Signed-off-by: Eric Bénard <eric@eukrea.com>
13 years agopackage_rpm: Ensure multilib code is only called in the multilib case
Richard Purdie [Fri, 30 Sep 2011 21:31:52 +0000 (22:31 +0100)]
package_rpm: Ensure multilib code is only called in the multilib case

This fixes some error messages in the do_rootfs logs of non-multilib
builds.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix lttng-ust for powerpc64
Matthew McClintock [Thu, 29 Sep 2011 19:08:04 +0000 (14:08 -0500)]
Fix lttng-ust for powerpc64

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoUpdate gitignore to ignore all meta-* directories
Matthew McClintock [Thu, 29 Sep 2011 19:02:54 +0000 (14:02 -0500)]
Update gitignore to ignore all meta-* directories

meta-XYZ directories have been manually added in the past, instead
always ignore them unless they are explicitly added

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorgb: import from meta-oe layer
Martin Jansa [Fri, 30 Sep 2011 07:27:21 +0000 (09:27 +0200)]
rgb: import from meta-oe layer

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxserver/mesa: Bump PR after libdrm packaging changes
Richard Purdie [Fri, 30 Sep 2011 11:05:29 +0000 (12:05 +0100)]
xserver/mesa: Bump PR after libdrm packaging changes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibdrm: improve packaging
Martin Jansa [Fri, 30 Sep 2011 07:27:22 +0000 (09:27 +0200)]
libdrm: improve packaging

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxf86-video-omapfb: bump SRCREV and add patch from meta-oe
Martin Jansa [Fri, 30 Sep 2011 07:27:19 +0000 (09:27 +0200)]
xf86-video-omapfb: bump SRCREV and add patch from meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxorg-driver: rename .inc files and merge some changes from meta-oe
Martin Jansa [Fri, 30 Sep 2011 07:27:18 +0000 (09:27 +0200)]
xorg-driver: rename .inc files and merge some changes from meta-oe

* use INC_PR
* use BPN directly instead of XORG_PN

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxorg-app-common: merge some changes from meta-oe
Martin Jansa [Fri, 30 Sep 2011 07:27:17 +0000 (09:27 +0200)]
xorg-app-common: merge some changes from meta-oe

* use BPN directly instead of XORG_PN
* fix depends
* fix packaging
* add INC_PR (used by recipes in meta-oe now, but should be used here
  too)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibxft, libxrender, renderproto: add native BBCLASSEXTEND
Martin Jansa [Fri, 30 Sep 2011 07:27:14 +0000 (09:27 +0200)]
libxft, libxrender, renderproto: add native BBCLASSEXTEND

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogdb: upgrade from 7.3a to 7.3.1
Nitin A Kamble [Fri, 30 Sep 2011 01:27:08 +0000 (18:27 -0700)]
gdb: upgrade from 7.3a to 7.3.1

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobyacc: upgrade from 20101229 to 20110908
Nitin A Kamble [Fri, 30 Sep 2011 01:27:09 +0000 (18:27 -0700)]
byacc: upgrade from 20101229 to 20110908

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agooprofileui: Update SRCREV to reflect recent accpeted patches by upstream
Zhai Edwin [Fri, 30 Sep 2011 08:42:54 +0000 (16:42 +0800)]
oprofileui: Update SRCREV to reflect recent accpeted patches by upstream

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoatk: add patch to replace G_CONST_RETURN with const
Martin Jansa [Fri, 30 Sep 2011 08:47:02 +0000 (10:47 +0200)]
atk: add patch to replace G_CONST_RETURN with const

* otherwise build fails when glib is 2.30.0 or newer (and G_DISABLE_DEPRECATED is enabled - like in atk)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking_fields.inc: Update upgrade information
Mei Lei [Fri, 30 Sep 2011 01:51:57 +0000 (09:51 +0800)]
distro_tracking_fields.inc: Update upgrade information

Update dropbear,diffutils,curl upgrade tracking information.

Signed-off-by: Mei Lei <lei.mei@intel.com>
13 years agodropbear: Upgrade from 0.52 to 0.53.1
Mei Lei [Fri, 30 Sep 2011 01:25:30 +0000 (09:25 +0800)]
dropbear: Upgrade from 0.52 to 0.53.1

Signed-off-by: Mei Lei <lei.mei@intel.com>
13 years agodiffutils: Upgrade from 3.0 to 3.2.
Mei Lei [Wed, 28 Sep 2011 05:43:03 +0000 (13:43 +0800)]
diffutils: Upgrade from 3.0 to 3.2.

Signed-off-by: Mei Lei <lei.mei@intel.com>
13 years agocurl: Upgrade from 7.21.7 to 7.22.0
Mei Lei [Wed, 28 Sep 2011 02:26:23 +0000 (10:26 +0800)]
curl: Upgrade from 7.21.7 to 7.22.0

[RP: md5sum checksum fix]
Signed-off-by: Mei Lei <lei.mei@intel.com>
13 years agobitbake.conf: Start using parallel make for do_install
Richard Purdie [Thu, 29 Sep 2011 22:48:20 +0000 (23:48 +0100)]
bitbake.conf: Start using parallel make for do_install

Most piece of software now support parallel make install. Enable
this by default using the value of PARALLEL_MAKE. In a similar way
to PARALLEL_MAKE we can disable this for broken recipes with:

PARALLEL_MAKEINST = ""

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: Drop unneeded dependency
Richard Purdie [Thu, 29 Sep 2011 22:30:26 +0000 (23:30 +0100)]
base.bbclass: Drop unneeded dependency

patch depends on unpack
configure depends on patch

We simply don't need a configure dependency on unpack. This simplifies
the dependencies of every recipe slightly and should make bitbake
slightly faster at resovling dependency graphs.

It also makes the .dot dependency graphs slightly more readable by
removing noise.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoautotools: Disable dependency tracking
Richard Purdie [Thu, 29 Sep 2011 22:29:08 +0000 (23:29 +0100)]
autotools: Disable dependency tracking

There is no point in us spending time generating a ton of dependency
information in source directories when we don't actually use it
for our one off builds. We might as well disable the option and
take the speed up.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoRemove help2man dependency
Richard Purdie [Thu, 29 Sep 2011 22:26:07 +0000 (23:26 +0100)]
Remove help2man dependency

The help2man script is pretty useless to us. It requires to run the target
binary to extract help information which is not possible for any of our
cross compiled target binaries.

We're not interested in man pages for -cross/-native tools.

It therefore makes no sense to have this as a core build dependency.

This patch removes the dependeny and replaces it with a script
returning false. This will trigger autotool's missing utility
to use the copy of the man page included with the sources which
is what would already happen when we tried to run cross compiled
binaries anyway.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix flac build on e500mc cores
Matthew McClintock [Thu, 29 Sep 2011 04:21:06 +0000 (23:21 -0500)]
Fix flac build on e500mc cores

This core does not have altivec, so we disable it in the build,
also reestablish the config option to enable/disable building
with altivec

If SPE is not detected we always build with altivec which is wrong. This
will check to make sure altivec is enabled and pass build options
through accordingly

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopython: fix sqlite RPATH issue
Saul Wold [Thu, 29 Sep 2011 15:54:04 +0000 (08:54 -0700)]
python: fix sqlite RPATH issue

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAdd proper deps for nfs-utils, util-linux, and strace
Matthew McClintock [Thu, 29 Sep 2011 04:21:10 +0000 (23:21 -0500)]
Add proper deps for nfs-utils, util-linux, and strace

These packages need these deps for the RPM generation stage:

 error: Failed dependencies:
|  /usr/bin/python is needed by nfs-utils-1.2.3-r2.ppce5500
|  /usr/bin/perl is needed by util-linux-2.19.1-r4.ppce5500
|  /usr/bin/perl is needed by strace-4.5.20-r2.ppce5500

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix sysklogd build on e500v2 cores
Matthew McClintock [Thu, 29 Sep 2011 04:21:09 +0000 (23:21 -0500)]
Fix sysklogd build on e500v2 cores

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAdd udev patch to compile against newer kernels
Matthew McClintock [Thu, 29 Sep 2011 04:21:08 +0000 (23:21 -0500)]
Add udev patch to compile against newer kernels

This patch is needed to compile against newer kernels which have
changed their API

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix HAL on newer kernels without header file
Matthew McClintock [Thu, 29 Sep 2011 04:21:07 +0000 (23:21 -0500)]
Fix HAL on newer kernels without header file

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix ghostscript on powerpc64
Matthew McClintock [Thu, 29 Sep 2011 04:21:05 +0000 (23:21 -0500)]
Fix ghostscript on powerpc64

This adds pregenerated files for powerpc64

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAdd support for generating ext2.lzma{, .u-boot} images
Matthew McClintock [Thu, 29 Sep 2011 04:20:59 +0000 (23:20 -0500)]
Add support for generating ext2.lzma{, .u-boot} images

Machines can now add ext2.lzma and ext2.lzma.u-boot images as a
generated image type.

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAdd support for generating ext2.bz2{, .u-boot} images
Matthew McClintock [Thu, 29 Sep 2011 04:20:58 +0000 (23:20 -0500)]
Add support for generating ext2.bz2{, .u-boot} images

Machines can now add ext2.bz2 and ext2.bz2.u-boot images as a
generated image type. This also adds an extra parameter to
oe_mkimage which is the image compression type for mkimage

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAdd autoconf cache for screen on powerpc64
Matthew McClintock [Thu, 29 Sep 2011 04:21:03 +0000 (23:21 -0500)]
Add autoconf cache for screen on powerpc64

Screen can not run tests for the target and depends on the aotuconf
cache for information about the target system

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFixup kexec-tools compatible host for powerpc
Matthew McClintock [Thu, 29 Sep 2011 04:21:02 +0000 (23:21 -0500)]
Fixup kexec-tools compatible host for powerpc

kexec does infact work and build on powerpc, enable the compatible
host for these machines

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosysstat: update to 10.0.2
Saul Wold [Thu, 29 Sep 2011 00:07:15 +0000 (17:07 -0700)]
sysstat: update to 10.0.2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoglew: update to 1.7.0
Saul Wold [Thu, 29 Sep 2011 00:07:14 +0000 (17:07 -0700)]
glew: update to 1.7.0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinsane: Promote most warnings into QA errors by default
Richard Purdie [Thu, 29 Sep 2011 22:35:16 +0000 (23:35 +0100)]
insane: Promote most warnings into QA errors by default

We agreed a while back that we'd start ERRORing on QA issues, not just
WARNING about them. This patch changes the default QA levels to error
on everything except ldflag and useless rpath issues.

It also stops giving out QA warnings about desktop files since it
adds noise to the build and until someone plans to seriously tackle
that problem, its pointless.

We can promote the ldflag and rpath warnings too, when the issues in
OE-Core are resolved (they're mostly there now, just a few more to go).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoutil-linux: Ensure perl scripts reference the correct perl
Richard Purdie [Mon, 26 Sep 2011 14:34:18 +0000 (15:34 +0100)]
util-linux: Ensure perl scripts reference the correct perl

Without this change the perl path from the build system is used.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomc: Ensure perl scripts reference the correct perl
Richard Purdie [Mon, 26 Sep 2011 14:34:49 +0000 (15:34 +0100)]
mc: Ensure perl scripts reference the correct perl

Without this change the perl path from the build system is used.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopenssl: Ensure perl scripts reference the correct perl
Richard Purdie [Mon, 26 Sep 2011 14:33:15 +0000 (15:33 +0100)]
openssl: Ensure perl scripts reference the correct perl

Without this change the perl path from the build system is used.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-4.6: Update to tip of FSF gcc-4_6-branch
Khem Raj [Tue, 27 Sep 2011 03:39:54 +0000 (20:39 -0700)]
gcc-4.6: Update to tip of FSF gcc-4_6-branch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib: add MLPREFIX to deploy folder
Dongxiao Xu [Wed, 28 Sep 2011 11:44:28 +0000 (19:44 +0800)]
multilib: add MLPREFIX to deploy folder

Add MLPREFIX to multilib deploy forlder to avoid the confliction between
multilib and normal package deploy directory.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotune-i586: fix hardcoded TUNE_PKGARCH
Dongxiao Xu [Wed, 28 Sep 2011 11:44:29 +0000 (19:44 +0800)]
tune-i586: fix hardcoded TUNE_PKGARCH

Use TUNE_FEATURES to determine the setting to TUNE_PKGARCH, which fixes
the wrong setting of PACKAGE_ARCH in multilib case.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoapmd: use ${HOST_SYS}-libtool
Andrew Gabbasov [Wed, 28 Sep 2011 12:07:58 +0000 (16:07 +0400)]
apmd: use ${HOST_SYS}-libtool

libtool-cross uses ${HOST_SYS}- prefix while building and installing.
In some cases that may be different from ${TARGET_PREFIX}, that is currently
used in apmd recipe. It's better to have them consistent.

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoapr: use ${HOST_SYS}-libtool
Andrew Gabbasov [Wed, 28 Sep 2011 12:09:52 +0000 (16:09 +0400)]
apr: use ${HOST_SYS}-libtool

libtool-cross uses ${HOST_SYS}- prefix while building and installing.
In some cases that may be different from ${TARGET_PREFIX}, that is currently
used in apr recipe. It's better to have them consistent.

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibpam: add flex-native to DEPENDS
Andrew Gabbasov [Wed, 28 Sep 2011 12:10:30 +0000 (16:10 +0400)]
libpam: add flex-native to DEPENDS

flex-native is required for building libpam. Although this dependency
is now fulfilled indirectly through bison recipe, having an explicit one
would be preferable.

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocmake.bbclass: adding extendable extra variable to root path
Andrew Gabbasov [Wed, 28 Sep 2011 12:10:12 +0000 (16:10 +0400)]
cmake.bbclass: adding extendable extra variable to root path

Introducing a hook variable for various .conf files to add
extra path elements to cmake. For example, it can be used
in external toolchain conf file to add ${TOOLCHAIN_PATH}
to cmake root path search.

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/oe-setup-rpmrepo: use setup_tmpdir from runqemu
Paul Eggleton [Wed, 28 Sep 2011 15:28:26 +0000 (16:28 +0100)]
scripts/oe-setup-rpmrepo: use setup_tmpdir from runqemu

Update the internal copy of setup_tmpdir in the oe-setup-rpmrepo script
to be the same as the one in the runqemu script.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts: use OE_TMPDIR instead of TMPDIR external variable
Paul Eggleton [Wed, 28 Sep 2011 15:28:25 +0000 (16:28 +0100)]
scripts: use OE_TMPDIR instead of TMPDIR external variable

On OpenSUSE within an X session, TMPDIR is set to the system temporary
directory (/tmp) which is incorrect for these scripts. Thus, change
runqemu and oe-setup-rpmrepo to use OE_TMPDIR from the external
environment rather than TMPDIR.

Fixes [YOCTO #1530]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotune-cortexa9.inc: add tunefile for cortexa9 socs
Henning Heinold [Sun, 25 Sep 2011 19:37:45 +0000 (21:37 +0200)]
tune-cortexa9.inc: add tunefile for cortexa9 socs

Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: Fix reversed linker hash style logic
Richard Purdie [Wed, 28 Sep 2011 20:00:41 +0000 (21:00 +0100)]
bitbake.conf: Fix reversed linker hash style logic

The logic in the linker hash patch was reversed, only setting the
linker style in the non-gnu cases.

Signed-off-by: Richard Purdie <richard.purdie@linux-foundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFixed a typo for setting up OECORE_ACLOCAL_OPTS for adt-installer case
Jessica Zhang [Wed, 28 Sep 2011 20:38:06 +0000 (13:38 -0700)]
Fixed a typo for setting up OECORE_ACLOCAL_OPTS for adt-installer case

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: remove unshipped files in do_install
Dmitry Eremin-Solenikov [Sat, 17 Sep 2011 22:18:17 +0000 (02:18 +0400)]
kernel.bbclass: remove unshipped files in do_install

Drop two unsed files (modules.order and modules.builtin) in do_install
to stop the "unshipped files" warning.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: handle .cis firmware
Dmitry Eremin-Solenikov [Sat, 17 Sep 2011 22:18:16 +0000 (02:18 +0400)]
kernel.bbclass: handle .cis firmware

.cis firmware files are used by kernel to patch incorrect CIS fir PCMCIA
cards. Create respective packages.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: blacklist 'perf-dbg' as well for the modules metapackage
Dmitry Eremin-Solenikov [Sat, 17 Sep 2011 22:18:13 +0000 (02:18 +0400)]
kernel.bbclass: blacklist 'perf-dbg' as well for the modules metapackage

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotables: remove it as obsolete recipe
Zhai Edwin [Wed, 28 Sep 2011 01:15:15 +0000 (09:15 +0800)]
tables: remove it as obsolete recipe

tables depends on obsolete gnome-vfs, and is not maintained in clutter git repo

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agolibgsf: remove dependence on gnome-vfs
Zhai Edwin [Wed, 28 Sep 2011 01:13:35 +0000 (09:13 +0800)]
libgsf: remove dependence on gnome-vfs

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agooprofileui: remove dependence on gnome-vfs
Zhai Edwin [Wed, 28 Sep 2011 01:12:04 +0000 (09:12 +0800)]
oprofileui: remove dependence on gnome-vfs

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
13 years agolibc-package.bbclass: add MLPREFIX when set values to PACKAGES
Dongxiao Xu [Wed, 28 Sep 2011 06:16:45 +0000 (14:16 +0800)]
libc-package.bbclass: add MLPREFIX when set values to PACKAGES

There are some places that PACKAGES are dynamically set. To support
multilib, we need to add MLPREFIX before the package name in those
settings.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agopackage_rpm: combine normal and multilib solution manifest together
Dongxiao Xu [Wed, 28 Sep 2011 02:24:13 +0000 (10:24 +0800)]
package_rpm: combine normal and multilib solution manifest together

When RPM does the real install, if the first manifest file is empty, the
installation will stop without handling the second manifest file.

Merge the two manifest files together to fix this issue.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agomultilib: remove the multilib handling to allarch
Dongxiao Xu [Tue, 27 Sep 2011 11:08:47 +0000 (19:08 +0800)]
multilib: remove the multilib handling to allarch

currently we have allarch type of recipes, which may still have
architecture dependency, like x11-common. So we need to drop the
handling to allarch in multilib case.

Also remove the PV postfix in python-pygobject DEPENDS, since multilib
code will treat a native package multilib capable.

[YOCTO #1497]
[YOCTO #1498]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agomultilib.bbclass: map RDEPENDS and LINGUAS_INSTALL for image recipes
Dongxiao Xu [Tue, 27 Sep 2011 07:28:02 +0000 (15:28 +0800)]
multilib.bbclass: map RDEPENDS and LINGUAS_INSTALL for image recipes

RDEPENDS of image type recipe needs to be mapped to make sure that the
packages included in the image should be multilib version.

Also add LINGUAS_INSTALL into MULTILIB_PACKAGE_INSTALL list.

[YOCTO #1496]
[YOCTO #1527]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
13 years agodistro_tracking: Update Manual Upgrade Checks
Saul Wold [Wed, 28 Sep 2011 06:53:19 +0000 (23:53 -0700)]
distro_tracking: Update Manual Upgrade Checks

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoghostscript: disable check for time.h
Joshua Lock [Tue, 27 Sep 2011 19:53:34 +0000 (12:53 -0700)]
ghostscript: disable check for time.h

ghostscript has it's own hacky check for time.h which hard-codes paths, this
means in the native case it fails on systems such as Ubuntu 11.10 where the
location of time.h has changed. Further it means the target build has had a
host-intrusion issue.

This patch disables the check for time.h, future releases of ghostscript
use standard autotools checks for time.h's location.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agorpm: fix QA Warning on installed but not shipped staticdev filesw
Saul Wold [Tue, 27 Sep 2011 20:19:14 +0000 (13:19 -0700)]
rpm: fix QA Warning on installed but not shipped staticdev filesw

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agozypper & sat-solver: needs RDEPENDS on rpm-lib
Saul Wold [Tue, 27 Sep 2011 20:14:16 +0000 (13:14 -0700)]
zypper & sat-solver: needs RDEPENDS on rpm-lib

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agorpm: ensure that magic file is relocatable
Saul Wold [Tue, 27 Sep 2011 20:13:43 +0000 (13:13 -0700)]
rpm: ensure that magic file is relocatable

rpm-native was reading from /usr/share/misc/magic which is wrong
it needs to be set to read from the sysroot.  This also adds wrappers
to the rpm-build tools to ensure they know were to find the macros that
point to the right directories.

Fixes [YOCTO #1532]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoeglibc: Add recipes for 2.14
Khem Raj [Fri, 16 Sep 2011 01:33:12 +0000 (18:33 -0700)]
eglibc: Add recipes for 2.14

Backport Fedora patch to enable sunrpc as it was in 2.13
Fix cross-localedef-native to be able to build from eglibc 2.14 branch

Tested builds/boot of angstrom/console-image on qemu for arm,mips,ppc,i386,x86_64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agogcc-4.6: Use --with-linker-hash-style configure option
Khem Raj [Tue, 16 Aug 2011 22:20:15 +0000 (15:20 -0700)]
gcc-4.6: Use --with-linker-hash-style configure option

Depending upon what hash style is in use this uses
the right flag for setting the hash style type. This
fixes the QA errors about missing GNU hash style reported
in gcc-runtime build particularly libgcc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoconf,recipes: Add new variable LINKER_HASH_STYLE
Khem Raj [Tue, 16 Aug 2011 22:17:33 +0000 (15:17 -0700)]
conf,recipes: Add new variable LINKER_HASH_STYLE

LINKER_HASH_STYLE in OE is set to either 'sysv' or 'gnu'
depending upon processor architecture e.g. mips does not support
gnu hash style so is uses sysv

besides 'sysv' and 'gnu' third option is to set it to 'both' we do
not do that by default but user can still set it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agoqt4-embedded: move qte.sh profile script into own package
Simon Busch [Sun, 25 Sep 2011 12:57:44 +0000 (14:57 +0200)]
qt4-embedded: move qte.sh profile script into own package

We don't want to pull the whole qt suite in our images when only installing a tiny setup
which needs the profile script for several configuration issues. This moves the qte.sh
profile script into a qt4-embedded-conf package which is automatically installed when an
image depends on qt4-embedded.

Signed-off-by: Simon Busch <morphis@gravedo.de>
13 years agometa: qt4: fix postprocessing of pkg-config files
Simon Busch [Sun, 25 Sep 2011 12:57:43 +0000 (14:57 +0200)]
meta: qt4: fix postprocessing of pkg-config files

When building qt4-embedded the generated and cleaned pkg-config files for qt are wrong.
The Cflags variable contains something like ${includedir}/qtopia/QtCore where
${includedir} is already /usr/include/qtopia/QtCore.

This patch reverts the fix up of the Cflags variable implemented in do_install.

Signed-off-by: Simon Busch <morphis@gravedo.de>
13 years agopseudo: Fix QA warnings
Richard Purdie [Mon, 26 Sep 2011 20:12:25 +0000 (21:12 +0100)]
pseudo: Fix QA warnings

This fixes two QA warnings:

a) Debug files being contained in the main package (by adding
   an appropriate FILES expression)
b) Stop hardcoding the RPATH in the nativesdk case since our
   path is on the loaders default search path

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosqlite3: Fix nativesdk packaging/QA warnings
Richard Purdie [Mon, 26 Sep 2011 20:10:45 +0000 (21:10 +0100)]
sqlite3: Fix nativesdk packaging/QA warnings

When building sqlite3-nativesdk, there was a warning about debug files in the
main package. This was due to the order of items in PACKAGES with -dbg after
the main package which breaks an assumption native.bbclass makes. Changing
the order fixes the packaging problem with no change to the normal target
packaging.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogrub: Fix insane/QA architecture warning
Richard Purdie [Mon, 26 Sep 2011 20:11:29 +0000 (21:11 +0100)]
grub: Fix insane/QA architecture warning

There is QA warning about this package for an architecture mismatch but
this is inappropriate in this case since the bootloader needs 32 and 64
bit code. We therefore flag the QA check to be skipped.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc: Fix two QA issues
Richard Purdie [Mon, 26 Sep 2011 20:13:21 +0000 (21:13 +0100)]
gcc: Fix two QA issues

a) There is a QA warning from a .so being present in a main package.
   In the case of the plugin library for gcc, this is allowed.
b) Remove the unwanted libiberty.a file with the strange path. We
   don't need/want this and this removes an unpackaged file warning.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto/meta: eg20t and live boot config changes
Bruce Ashfield [Mon, 26 Sep 2011 15:55:56 +0000 (11:55 -0400)]
linux-yocto/meta: eg20t and live boot config changes

Merging the following configuration changes:

 67a46a6 meta/common-pc-64: enable live booting for common-pc-64
 1010905 meta/common-pc: enable live booting for common-pc
 b3c5fa7 meta/atom-pc: enable live booting for atom-pc
 41c090e meta: update boot live config and move it to cfg/
 d51b0e7 eg20t: update config options

The first 4 make the live-boot configuration shared and then reuse
them for the boards that currently are live bootable. The eg20t
is a cleanup of obselete kernel options and is part of the cleanup
of options for the 3.0 kernel.

[YOCTO: #940]
[YOCTO: #686]

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agoavahi: fix avahi-systemd dependencies
Koen Kooi [Thu, 22 Sep 2011 06:31:18 +0000 (08:31 +0200)]
avahi: fix avahi-systemd dependencies

During the avahi-ui split the RDEPENDS line got dropped leading to: http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/testlab/commit/?h=yocto&id=ae0db0eb51bde42f09b9513842c3b745c37c60d5

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agoblktrace: update to version 1.0.3
Tom Zanussi [Mon, 19 Sep 2011 03:35:12 +0000 (22:35 -0500)]
blktrace: update to version 1.0.3

This also removes dso_linking_change_build_fix.patch since the same
change has been made upstream.

Also removes unused SRC_URI checksums.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agosysprof: update to version 1.1.8
Tom Zanussi [Mon, 19 Sep 2011 03:35:17 +0000 (22:35 -0500)]
sysprof: update to version 1.1.8

Also removes unused SCR_URI checksums.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agolibffi: really populate -dev package
Dmitry Eremin-Solenikov [Fri, 23 Sep 2011 19:46:41 +0000 (23:46 +0400)]
libffi: really populate -dev package

As per gcc PR 11147, libffi installs headers into a target dependent
place (/usr/lib/....). Include a rule to include those files into
libffi-dev package.

Reference: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11147

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogconf-dbus: packaging fixup
Dmitry Eremin-Solenikov [Fri, 23 Sep 2011 19:46:40 +0000 (23:46 +0400)]
gconf-dbus: packaging fixup

Behave more like plain gconf: include a dtd and .la files into -dev
package.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc: include libgcov.a into libgcc-dev package
lumag [Fri, 23 Sep 2011 19:46:39 +0000 (23:46 +0400)]
gcc: include libgcov.a into libgcc-dev package

First, this lib is usefull for coverage analysis-enabled building.
Second, this fixes the warning about unpackaged files in libgcc recipe.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc: fix possible problems with nscd compilation during eglibc-nativesdk build
Dmitry Eremin-Solenikov [Fri, 23 Sep 2011 19:46:38 +0000 (23:46 +0400)]
gcc: fix possible problems with nscd compilation during eglibc-nativesdk build

Long time ago a066e7ca90a28d5681c5fa895a29e999ed7c88b was committed to
address possible problems with compilation of nscd during
eglibc-nativesdk build. Problems were related to the way gcc searches
for headers to check if it should enable it's own stack smash protection
bits or it can relay on eglibc for it.

However after 934d38530c9a67562e53d4034aee5531f0f26750 things got
broken, as for gcc-crosssdk-intermediate packages:
1) EXTRA_OECONF is ignored
2) headers are installed in a different location than expected by that
patch.

This results in eglibc-nativesdk build broken on some systems (e.g. mine
Debian x86_64 squeeze). Fix that by providing with-headers options to
crosssdk-intermediate gcc configuration.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoicecc-create-env-native: provide the script right in the tree
Dmitry Eremin-Solenikov [Fri, 23 Sep 2011 19:46:37 +0000 (23:46 +0400)]
icecc-create-env-native: provide the script right in the tree

There is no point in downloading a tarball with no clear upstream (other than
icecc itself) and then patching it. Rather put new script in the source tree.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: change ccache path to use MULTIMACH_HOST_SYS
Dmitry Eremin-Solenikov [Fri, 23 Sep 2011 19:46:33 +0000 (23:46 +0400)]
bitbake.conf: change ccache path to use MULTIMACH_HOST_SYS

Currently if I build packages for several targets (e.g. for armv5te tosa
and for armv7a beagleboard) oe will use single ccache dir for both of
those targets: build/ccache/arm-oe-linux-gnueabi. However those targets
use different opcodes, different features and binaries created for one
of those targets wont't run on the lower one. So use MULTIMACH_HOST_SYS
for ccache dir, so that it uses something like
build/ccache/armv5te-oe-linux-gnueabi dir.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognome-doc-utils: Prepend PKG_CONFIG_SYSROOT_DIR to the path returned from PKG_CONFIG
Khem Raj [Sat, 24 Sep 2011 05:54:25 +0000 (22:54 -0700)]
gnome-doc-utils: Prepend PKG_CONFIG_SYSROOT_DIR to the path returned from PKG_CONFIG

If we build say gnome based image on a build system which does not have
gnome e.g. kubuntu then packages like gedit do not build since it uses
gnome files from host system which are non existent on kubuntu

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibtool: Fix an issue where unnecessary rpaths were being injected
Richard Purdie [Fri, 23 Sep 2011 08:00:36 +0000 (09:00 +0100)]
libtool: Fix an issue where unnecessary rpaths were being injected

libtool was being to aggressive in adding rpath to binaries. This
change stops it adding them if that path the default search path.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosstate: No need to spew out a debug message per file, summarise instead
Richard Purdie [Fri, 23 Sep 2011 17:44:34 +0000 (18:44 +0100)]
sstate: No need to spew out a debug message per file, summarise instead

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: Drop legacy code that is no longer useful/used
Richard Purdie [Fri, 23 Sep 2011 14:02:58 +0000 (15:02 +0100)]
base.bbclass: Drop legacy code that is no longer useful/used

The code displaying console events has been handled by the bitbake
UI since 1.8 so the legacy code path can be removed. If a log event
is wanted, there are much better (and more complete) ways to do this
so remove the EVENTLOG code too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoautotools.bbclass: Set the dynamic linker search path for libtool correctly
Richard Purdie [Fri, 23 Sep 2011 07:57:31 +0000 (08:57 +0100)]
autotools.bbclass: Set the dynamic linker search path for libtool correctly

libtool obtains the search path from /etc/ld.so.conf and hardcodes /usr/lib
and /lib. This results in host contamination and variable sets of RPATH
values ending up in binaries.

By exporting the correct values for all autotools recipes we avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomatchbox: Upgrade SRCREV to reflect recent accpeted patches by upstream
Zhai Edwin [Mon, 26 Sep 2011 11:55:47 +0000 (19:55 +0800)]
matchbox: Upgrade SRCREV to reflect recent accpeted patches by upstream

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcp-wrappers: Bump PR to make meta-oe merge
Khem Raj [Mon, 26 Sep 2011 16:01:54 +0000 (09:01 -0700)]
tcp-wrappers: Bump PR to make meta-oe merge

meta-oe has a version of tcp-wrappers 7.6 recipe
which has virtually no differences with the one from
oe-core. So with this patch we can remove the recipe
from meta-oe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoneon: Add libproxy to DEPENDS to ensure determinstic builds
Richard Purdie [Sun, 25 Sep 2011 14:54:55 +0000 (15:54 +0100)]
neon: Add libproxy to DEPENDS to ensure determinstic builds

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibsndfile1: Disable external codec librbaries since we don't list in DEPENDS
Richard Purdie [Sun, 25 Sep 2011 14:54:02 +0000 (15:54 +0100)]
libsndfile1: Disable external codec librbaries since we don't list in DEPENDS

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocairo: Disable bfd symbol loopup since we don't list it in DEPENDS
Richard Purdie [Sun, 25 Sep 2011 14:42:00 +0000 (15:42 +0100)]
cairo: Disable bfd symbol loopup since we don't list it in DEPENDS

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogtk+: Explicitly disable xinerama since we don't have it as a DEPENDS
Richard Purdie [Sun, 25 Sep 2011 14:40:41 +0000 (15:40 +0100)]
gtk+: Explicitly disable xinerama since we don't have it as a DEPENDS

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognome-desktop: Ensure we're deterministic about startup-notification dependency
Richard Purdie [Sun, 25 Sep 2011 14:32:59 +0000 (15:32 +0100)]
gnome-desktop: Ensure we're deterministic about startup-notification dependency

Without this change we may or may not include startup-notification support.

We therefore explictly include it in the dependency list.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoattr/acl: add SSTATEPOSTINSTFUNC
Saul Wold [Sat, 24 Sep 2011 18:56:47 +0000 (11:56 -0700)]
attr/acl: add SSTATEPOSTINSTFUNC

Added a native sstate post install function to fix the links
created between /lib and /usr/lib for the library files. These
links could point to an invalid build area when using shared state.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>