Re: [OE-core] Questions about the layer structure in OpenEmbedded-Core

2011-08-11 Thread Denys Dmytriyenko
On Fri, Aug 12, 2011 at 08:17:52AM +0200, Samuel Stirtzel wrote: > Hi, > lately I looked a bit into the structure of OE-Core and found pages > like: http://www.yoctoproject.org/projects/openembedded-core, and > http://openembedded.org/index.php/LayerIndex > > 1. question: Are these informations re

[OE-core] Questions about the layer structure in OpenEmbedded-Core

2011-08-11 Thread Samuel Stirtzel
Hi, lately I looked a bit into the structure of OE-Core and found pages like: http://www.yoctoproject.org/projects/openembedded-core, and http://openembedded.org/index.php/LayerIndex 1. question: Are these informations reliable (the layer index page seems outdated). From the information I found, t

Re: [OE-core] [PATCH RFC] local.conf.sample: Cleanup and improve

2011-08-11 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/11/2011 04:39 PM, Richard Purdie wrote: > local.conf is the first thing anyone to the project sees. Over time > it has built up a ton cruft and isn't even accurate in places. > > This patch: > > * Moves things to local.conf.sample.extended if a

Re: [OE-core] [PATCH 1/1] qt3: Solve the failure to compile qt3 on platform arm

2011-08-11 Thread Xiaofeng Yan
On 2011年08月10日 20:30, Richard Purdie wrote: On Tue, 2011-08-09 at 16:50 +0800, Xiaofeng Yan wrote: From: Xiaofeng Yan [YOCTO #1348] The variable "TARGET_OS" has different value when building qt-x11-free-native and \ qt-x11-free. The different cause failure to compile qt3. $ bitbake qt-x11-free

Re: [OE-core] gcc-cross-initial fails for maiden build

2011-08-11 Thread Denys Dmytriyenko
On Thu, Aug 11, 2011 at 06:53:02PM -0700, Khem Raj wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 08/11/2011 05:14 PM, Andreas Mueller wrote: > > Hi > > > > I just pulled latest metas, deleted all my temp stuff, start build > > and get > > > > ERROR: Function 'do_headerfix' fail

[OE-core] [PATCH v4] tune-ppc: Update to pass glibc configure option to get cpu specific support

2011-08-11 Thread Kumar Gala
We need --with-cpu based to glibc to get proper support on 603e & e500mc to pickup proper math libs to deal with sqrt. These core do not implement the fsqrt[s] instructions that the normal PPC math libs utilize. This causes use to not set AVAILTUNES specifically to the sub-arch only as we arent g

Re: [OE-core] [PATCH v3] tune-ppc: Update to pass glibc configure option to get cpu specific support

2011-08-11 Thread Kumar Gala
On Aug 11, 2011, at 4:51 PM, Saul Wold wrote: > On 08/10/2011 11:17 PM, Kumar Gala wrote: >> We need --with-cpu based to glibc to get proper support on 603e& e500mc >> to pickup proper math libs to deal with sqrt. These core do not >> implement the fsqrt[s] instructions that the normal PPC math

Re: [OE-core] [PATCH] libc-package bbclass: fix binary localedata dependency code

2011-08-11 Thread Kamble, Nitin A
Hi Koen, Sorry for replying late, I am on vacation now. I looked at my commit 561d875404ef1783f94f37314b6e756766db8411, and from it I see that both eglibc & glibc package.bbclass has same lines - if m: - eglibc_name = "%s.%s" % (m.group(1), m.group(2).lower

Re: [OE-core] [PATCH 04/10] meta-rt: add linux-yocto-rt_3.0 recipe

2011-08-11 Thread Darren Hart
On 08/11/2011 05:40 PM, Bruce Ashfield wrote: > On 11-08-11 7:08 PM, Darren Hart wrote: >> Add the initial linux-yocto-rt_3.0 recipe. >> >> TODO: replace the AUTOREV with real commit ids. > > I think you did this! > >> >> Signed-off-by: Darren Hart >> Signed-off-by: Bruce Ashfield >> --- >> me

Re: [OE-core] [PATCH 04/10] meta-rt: add linux-yocto-rt_3.0 recipe

2011-08-11 Thread Darren Hart
On 08/11/2011 05:40 PM, Bruce Ashfield wrote: > On 11-08-11 7:08 PM, Darren Hart wrote: >> Add the initial linux-yocto-rt_3.0 recipe. >> >> TODO: replace the AUTOREV with real commit ids. > > I think you did this! > >> >> Signed-off-by: Darren Hart >> Signed-off-by: Bruce Ashfield >> --- >> met

Re: [OE-core] [PATCH 1/2] image: populate site config files into roootfs.

2011-08-11 Thread Lu, Lianhao
Saul Wold wrote on 2011-08-12: > On 08/11/2011 06:09 PM, Lu, Lianhao wrote: >> Phil Blundell wrote on 2011-08-11: >>> On Thu, 2011-08-11 at 22:31 +0800, Lianhao Lu wrote: [YOCTO #892] populate the site config files content into the file in {target}/cross_site_config in rootfs, which can b

Re: [OE-core] [PATCH 1/2] image: populate site config files into roootfs.

2011-08-11 Thread Saul Wold
On 08/11/2011 06:09 PM, Lu, Lianhao wrote: Phil Blundell wrote on 2011-08-11: On Thu, 2011-08-11 at 22:31 +0800, Lianhao Lu wrote: [YOCTO #892] populate the site config files content into the file in {target}/cross_site_config in rootfs, which can be used by the cross toolchain in meta-toolchai

Re: [OE-core] gcc-cross-initial fails for maiden build

2011-08-11 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/11/2011 05:14 PM, Andreas Mueller wrote: > Hi > > I just pulled latest metas, deleted all my temp stuff, start build > and get > > ERROR: Function 'do_headerfix' failed (see > /home/Superandy/tmp/oe-core- > eglibc/work/armv7a-angstrom-linux-gn

[OE-core] [PATCH 3/3] package_rpm: Fix attemptonly and suggest packages

2011-08-11 Thread Mark Hatle
[YOCTO #1325] [YOCTO #1366] Packages that were in the PACKAGE_ATTEMPTONLY and SUGGESTS were not being properly found, which was causing image creation failures. In PACKAGE_ATTEMPTONLY, when an item was not found, it caused an error. This should have been a note, followed by skipping the package.

[OE-core] [PATCH 0/3] Fix ATTEMPTONLY and SUGGESTS in package_rpm

2011-08-11 Thread Mark Hatle
Fix ATTEMPTONLY and SUGGESTS in package_rpm. This relies on the previous changes to the rpm platform and package_rpm.bbclass I sent earlier today. Note patch 1 and 2 are the earlier set, which I am not resending. The following changes since commit a92d56058b21913570bb17ae416c3b00afce055e: gno

Re: [OE-core] [PATCH 1/2] image: populate site config files into roootfs.

2011-08-11 Thread Lu, Lianhao
Phil Blundell wrote on 2011-08-11: > On Thu, 2011-08-11 at 22:31 +0800, Lianhao Lu wrote: >> [YOCTO #892] populate the site config files content into the file in >> {target}/cross_site_config in rootfs, which can be used by the cross >> toolchain in meta-toolchain when the rootfs is used as sysroot

Re: [OE-core] [PATCH 04/10] meta-rt: add linux-yocto-rt_3.0 recipe

2011-08-11 Thread Bruce Ashfield
On 11-08-11 7:08 PM, Darren Hart wrote: Add the initial linux-yocto-rt_3.0 recipe. TODO: replace the AUTOREV with real commit ids. I think you did this! Signed-off-by: Darren Hart Signed-off-by: Bruce Ashfield --- meta-rt/recipes-kernel/linux/linux-yocto-rt_3.0.bb | 55 +

Re: [OE-core] [PATCH 0/1] fix RPM rootfs issue for ATTEMPTONLY

2011-08-11 Thread Mark Hatle
I have a similar fix coming. This one is close, but there are a few other changes that are needed still. --Mark On 8/11/11 7:09 PM, Saul Wold wrote: > Richard: > > This issue was introduced with the recent IMAGE_FEATURES changes, > since the ATTEMPTONLY was not really being used it had not bee

[OE-core] gcc-cross-initial fails for maiden build

2011-08-11 Thread Andreas Mueller
Hi I just pulled latest metas, deleted all my temp stuff, start build and get ERROR: Function 'do_headerfix' failed (see /home/Superandy/tmp/oe-core- eglibc/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.5- r40+svnr176640/temp/log.do_headerfix.25304 for further information) ERROR: Logfile

[OE-core] [PATCH 1/1] package_rpm: fix up attemptonly code

2011-08-11 Thread Saul Wold
[YOCTO #1366] Signed-off-by: Saul Wold --- meta/classes/package_rpm.bbclass |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index 59e8d48..5b76c5d 100644 --- a/meta/classes/package_rpm.bbclass ++

[OE-core] [PATCH 0/1] fix RPM rootfs issue for ATTEMPTONLY

2011-08-11 Thread Saul Wold
Richard: This issue was introduced with the recent IMAGE_FEATURES changes, since the ATTEMPTONLY was not really being used it had not been updated for some of the MultiLib changes, this fixes that situation. Thanks Sau! The following changes since commit a92d56058b21913570bb17ae416c3b0

[OE-core] [PATCH RFC] local.conf.sample: Cleanup and improve

2011-08-11 Thread Richard Purdie
local.conf is the first thing anyone to the project sees. Over time it has built up a ton cruft and isn't even accurate in places. This patch: * Moves things to local.conf.sample.extended if a new user is unlikely to need to immediately care about the options * Reorders the file to be more int

[OE-core] [PATCH 10/10] recipes-rt: add a README documenting the contents of recipes-rt

2011-08-11 Thread Darren Hart
Document the non-obvious bits of using the recipes-rt recipes. Signed-off-by: Darren Hart --- meta/recipes-rt/README | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-rt/README diff --git a/meta/recipes-rt/README b/meta/recipes-rt/README ne

[OE-core] [PATCH 09/10] Move meta-rt recipes to oe-core (meta)

2011-08-11 Thread Darren Hart
Keeping the rt recipes in their own layer has led to maintenance issues, particularly with the linux-yocto-rt recipes. As these kernel types are part of the same linux-yocto source repository, it seems reasonable to include the rt kernel recipes alongside the standard recipes. A new recipes-rt dire

[OE-core] [PATCH 01/10] meta-rt: refresh linux-yocto-rt recipe

2011-08-11 Thread Darren Hart
Rename the recipe to match the linux-yocto recipe renames using the kernel version in the PV portion of the filename. Add the SRCREVs to the recipe as was done with the core linux-yocto recipes. Add qemux86 as it is also present in the linux-yocto-2.6.34.git repository. Signed-off-by: Darren Har

[OE-core] [PATCH 06/10] meta-rt: rename minimal-rt images to -rt, drop live image

2011-08-11 Thread Darren Hart
Remove "minimal" from the image recipe names for -rt. Additional recipes types will be added (-rt-sdk for example) and there is no need to keep so many image type descriptors. Drop the -live image as it is now obsolete. Signed-off-by: Darren Hart --- .../{core-image-minimal-rt.bb => core-image-

[OE-core] [PATCH 04/10] meta-rt: add linux-yocto-rt_3.0 recipe

2011-08-11 Thread Darren Hart
Add the initial linux-yocto-rt_3.0 recipe. TODO: replace the AUTOREV with real commit ids. Signed-off-by: Darren Hart Signed-off-by: Bruce Ashfield --- meta-rt/recipes-kernel/linux/linux-yocto-rt_3.0.bb | 55 1 files changed, 55 insertions(+), 0 deletions(-) create mode

[OE-core] [PATCH 07/10] meta-rt: add an -rt-sdk image

2011-08-11 Thread Darren Hart
Add images including the SDK without the addition of the grapical environment or packages. Signed-off-by: Darren Hart --- meta-rt/images/core-image-rt-sdk.bb | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) create mode 100644 meta-rt/images/core-image-rt-sdk.bb diff --

[OE-core] [PATCH 08/10] meta-rt: default KMACHINE and SRCREV_machine to avoid parsing errors

2011-08-11 Thread Darren Hart
Without a default KMACHINE and SRCREV_machine the git URL will fail to expand to something usable and we get a parsing error. This approach was also used in the non-rt version of this recipe. Signed-off-by: Darren Hart --- .../recipes-kernel/linux/linux-yocto-rt_2.6.34.bb |2 ++ 1 files cha

[OE-core] [PATCH 05/10] meta-rt: remove atom-pc support from the main layer

2011-08-11 Thread Darren Hart
meta-rt resides in oe-core, as such it should only support the qemu* machines. BSP layers should add support for specific hardware platforms. Signed-off-by: Darren Hart --- .../recipes-kernel/linux/linux-yocto-rt_2.6.34.bb |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --gi

[OE-core] [PATCH 02/10] meta-rt: rt-tests v0.73 instead of AUTOREV

2011-08-11 Thread Darren Hart
AUTOREV is handy is a development aid, but it really shouldn't be used as a default as it breaks the consistency and repeatability of a build. It also causes additional fetches which may not be desired or expected. Signed-off-by: Darren Hart --- .../{rt-tests_git.bb => rt-tests_0.73.bb}

[OE-core] [PATCH 03/10] meta-rt: canonicalize directory structure

2011-08-11 Thread Darren Hart
Use the more standard recipes-*/*/*.bb layout. Signed-off-by: Darren Hart --- meta-rt/conf/layer.conf|5 +++-- .../{ => linux}/linux-yocto-rt_2.6.34.bb |0 .../recipes-tests/{ => rt-tests}/rt-tests_0.73.bb |0 3 files changed, 3 insertions(+), 2

[OE-core] [PATCH 00/10] Refresh meta-rt and move the recipes under meta

2011-08-11 Thread Darren Hart
This series brings the existing linux-yocto-rt recipe inline with the main linux-yocto recipe. It cleans up the meta-rt directory structure in preparation to move its contents under meta. It adds a 3.0.1-rt8 linux-yocto recipe. Finally, it moves it all under meta and adds a basic README. The follo

Re: [OE-core] [PATCH BUG #1236 0/3] Unify ldd/ldconfig for all multilib eglibcs

2011-08-11 Thread Saul Wold
On 08/01/2011 04:01 AM, Lianhao Lu wrote: This series of patch allow all the eglibc(s) in the current multilib configuration have the same ldd/ldconfig settings. We put the dynamic loaders'(ld.so) names in the dictionary of "ld_info_all" defined in the file eglibc-ld.inc. This dictionary is inde

Re: [OE-core] [PATCH v3] tune-ppc: Update to pass glibc configure option to get cpu specific support

2011-08-11 Thread Saul Wold
On 08/10/2011 11:17 PM, Kumar Gala wrote: We need --with-cpu based to glibc to get proper support on 603e& e500mc to pickup proper math libs to deal with sqrt. These core do not implement the fsqrt[s] instructions that the normal PPC math libs utilize. This causes use to not set AVAILTUNES spe

Re: [OE-core] [PATCH] Magic file path should be given for rpmbuild

2011-08-11 Thread Saul Wold
On 08/11/2011 08:50 AM, jani.uusi-rant...@nokia.com wrote: From d54b975506c392cfb59dbb3caf313ac061b6fa01 Mon Sep 17 00:00:00 2001 From: Jani Uusi-Rantala 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

Re: [OE-core] [PATCH 1/1] rootfs_rpm: Fix bug 936

2011-08-11 Thread Saul Wold
On 08/10/2011 02:49 AM, Xiaofeng Yan wrote: From: Xiaofeng Yan [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

Re: [OE-core] [PATCH v2] scripts/combo-layer: a simple way to script the combo-layer conf

2011-08-11 Thread Saul Wold
On 08/09/2011 10:09 PM, Leandro Dorileo wrote: 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 co

Re: [OE-core] [PATCH] scripts/runqemu: Make it run on ubuntu 11.10

2011-08-11 Thread Saul Wold
On 08/07/2011 11:30 PM, Khem Raj wrote: location of libGL has moved in ubuntu 11.10 so we look for it in the new locations Signed-off-by: Khem Raj --- scripts/runqemu |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index 9611c64..2b8e

Re: [OE-core] [PATCH] bluez4: Added new recipe version 4.96

2011-08-11 Thread Saul Wold
On 08/11/2011 09:02 AM, Phil Blundell wrote: On Thu, 2011-08-11 at 21:00 +0500, Noor, Ahsan wrote: From: Noor Ahsan * Added new recipe version 4.96. Is there a particular reason why we need both this and the old 4.82? Agreed, I would entertain a v2 that removes the older recipe, as we don'

Re: [OE-core] [PATCH] gcc: use ${base_lib} to match gcc default configuration

2011-08-11 Thread Kumar Gala
On Aug 11, 2011, at 1:41 PM, Richard Purdie wrote: > On Thu, 2011-08-11 at 16:30 +0100, Richard Purdie wrote: >> On Thu, 2011-08-11 at 01:47 -0500, Kumar Gala wrote: >>> revert this is not acceptable as that will break ppc64 builds. >>> >>> I think you need to look at 64bithack.patch and if we r

Re: [OE-core] [PATCH 0/7] Miscellaneous fixes

2011-08-11 Thread Chris Larson
On Thu, Aug 11, 2011 at 11:23 AM, Christopher Larson wrote: > > are available in the git repository at: >  github:kergoth/oe-core misc-fixes Erm, forgot to adjust this before sending, the url is git://github.com/kergoth/oe-core (I use url insteadOf/pushInsteadOf in .gitconfig to use the above url

Re: [OE-core] [PATCH] gcc: use ${base_lib} to match gcc default configuration

2011-08-11 Thread Richard Purdie
On Thu, 2011-08-11 at 16:30 +0100, Richard Purdie wrote: > On Thu, 2011-08-11 at 01:47 -0500, Kumar Gala wrote: > > revert this is not acceptable as that will break ppc64 builds. > > > > I think you need to look at 64bithack.patch and if we really should be > > using it for multilib builds. > >

[OE-core] [PATCH 4/7] sanity: shift the required utils into a variable

2011-08-11 Thread Christopher Larson
From: Chris Larson Signed-off-by: Chris Larson --- meta/classes/sanity.bbclass |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 999e15d..d50c843 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes

[OE-core] [PATCH 7/7] cross: also empty PACKAGES_DYNAMIC

2011-08-11 Thread Christopher Larson
From: Chris Larson Signed-off-by: Chris Larson --- meta/classes/cross.bbclass |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index 519aa0d..5681ab9 100644 --- a/meta/classes/cross.bbclass +++ b/meta/classes/cross

[OE-core] [PATCH 6/7] package: allow setting a section for locale packages

2011-08-11 Thread Christopher Larson
From: Chris Larson Signed-off-by: Chris Larson --- meta/classes/package.bbclass |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 0a954ef..100f465 100644 --- a/meta/classes/package.bbclass +++ b/meta/cl

[OE-core] [PATCH 2/7] insane: add linux-gnu to the platform data

2011-08-11 Thread Christopher Larson
From: Chris Larson Signed-off-by: Chris Larson --- meta/classes/insane.bbclass |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 0267fad..a660a06 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/

[OE-core] [PATCH 3/7] nativesdk: inherit relocatable

2011-08-11 Thread Christopher Larson
From: Chris Larson Signed-off-by: Chris Larson --- meta/classes/nativesdk.bbclass |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index 152d053..a49 100644 --- a/meta/classes/nativesdk.bbclass +++ b/me

[OE-core] [PATCH 5/7] package: include SECTION in the pkgdata

2011-08-11 Thread Christopher Larson
From: Chris Larson Signed-off-by: Chris Larson --- meta/classes/package.bbclass |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index bb0ba68..0a954ef 100644 --- a/meta/classes/package.bbclass +++ b/meta/classe

[OE-core] [PATCH 1/7] busybox: don't strip the main binary

2011-08-11 Thread Christopher Larson
From: Chris Larson With this, we get a useful busybox-dbg package. Signed-off-by: Chris Larson --- meta/recipes-core/busybox/busybox.inc |3 ++- meta/recipes-core/busybox/busybox_1.18.4.bb |2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/bus

[OE-core] [PATCH 0/7] Miscellaneous fixes

2011-08-11 Thread Christopher Larson
From: Chris Larson A variety of unrelated fixes I've had local for a while. The following changes since commit a752b23767189f2678367e47ca0b41f49c56a631: sstate: Add level 2 debug so its possible to see what sstate is doing (2011-08-11 17:19:51 +0100) are available in the git repository at:

Re: [OE-core] [CONSOLIDATED PULL 00/10] Various Fixes

2011-08-11 Thread Richard Purdie
On Thu, 2011-08-11 at 09:29 -0700, Saul Wold wrote: > The following changes since commit a1f87ec65fa1a6d5ce9a010548dbe7c01ab9b711: > > eglibc: force GLIBC_EXTRA_OECONF to not be uset for nativesdk (2011-08-10 > 13:26:22 +0100) > > are available in the git repository at: > git://git.openembed

Re: [OE-core] [PATCH 0/2][PULL] Multilib: Fix bug 1340

2011-08-11 Thread Saul Wold
On 08/08/2011 12:35 AM, Dongxiao Xu wrote: Hi Richard, The following two commits fix the issue that, some normal packages are built out when building pure multilib image "lib32-core-image-sato". Please help to review and pull. [YOCTO #1340] In the future, please include this Bug Fix ID in the

[OE-core] [PATCH 1/1] linux-yocto: update SRCREVs for preempt-rt support + build fixes

2011-08-11 Thread Bruce Ashfield
Updating the SRCREVs for linux-yocto to pickup a series of changes that were made to support the build/boot of preempt-rt on 3.0.x. 7782fc6 routerstationpro: remove CONFIG_PREEMPT* definitions b51300c meta/rt: sugarbay preempt-rt support 735711e meta/rt: common-pc[-64] preempt-rt no branch fix 530

[OE-core] [PATCH 0/1] linux-yocto: consoliated pull request

2011-08-11 Thread Bruce Ashfield
Richard/Saul, Here's the latest linux-yocto pull request. It includes updates for rt support (from Darren) as well as some build fixes for various issues we've met along the way. Once this is in place, we are in a position to change the defaults for the qemu machines. Speak now if there's a prob

Re: [OE-core] [CONSOLIDATED PULL 05/10] python-dir: specify am_cv_python_pythondir & am_cv_python_pyexecdir

2011-08-11 Thread Kumar Gala
On Aug 11, 2011, at 11:29 AM, Saul Wold wrote: > From: Kumar Gala > > autoconf will try and set these to via python.m4: > > am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages > am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages > > Ho

Re: [OE-core] [CONSOLIDATED PULL 09/10] gcc: move --enable-target-optspace workaround to just gcc-4.5.1

2011-08-11 Thread Kumar Gala
On Aug 11, 2011, at 11:29 AM, Saul Wold wrote: > From: Kumar Gala > > For ppc we disable '--enable-target-optspace' because of a bug in gcc > 4.5.x. gcc 4.6.x fixes this issue so no need to do this. > > Signed-off-by: Kumar Gala > > [Change PR Bumps to apply patch] > > Signed-off-by: Saul

[OE-core] [CONSOLIDATED PULL 10/10] Magic file path should be given for rpmbuild

2011-08-11 Thread Saul Wold
From: jani.uusi-rant...@nokia.com >From d54b975506c392cfb59dbb3caf313ac061b6fa01 Mon Sep 17 00:00:00 2001 From: Jani Uusi-Rantala 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

[OE-core] [CONSOLIDATED PULL 09/10] gcc: move --enable-target-optspace workaround to just gcc-4.5.1

2011-08-11 Thread Saul Wold
From: Kumar Gala For ppc we disable '--enable-target-optspace' because of a bug in gcc 4.5.x. gcc 4.6.x fixes this issue so no need to do this. Signed-off-by: Kumar Gala [Change PR Bumps to apply patch] Signed-off-by: Saul Wold --- meta/recipes-devtools/gcc/gcc-4.5.1.inc| 10

[OE-core] [CONSOLIDATED PULL 08/10] gnome-doc-utils: respect python-dir setting EXTRA_OECONF

2011-08-11 Thread Saul Wold
From: Kumar Gala 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 --- meta/recipes-gnome/gnome/gnome-doc-utils.inc |2 +- meta/recipes-gnome/gno

[OE-core] [CONSOLIDATED PULL 02/10] gcc: Various fixups to ensure consistent gcc builds

2011-08-11 Thread Saul Wold
From: Richard Purdie 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 be1f70d68b6b7577

[OE-core] [CONSOLIDATED PULL 05/10] python-dir: specify am_cv_python_pythondir & am_cv_python_pyexecdir

2011-08-11 Thread Saul Wold
From: Kumar Gala autoconf will try and set these to via python.m4: am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages However this is problematic as this doesnt respect libdir and where

[OE-core] [CONSOLIDATED PULL 07/10] telepathy-python: utilize python-dir to respect libdir/site-packages path

2011-08-11 Thread Saul Wold
From: Kumar Gala Fixes issue of libdir is set to something like '/usr/lib64'. Signed-off-by: Kumar Gala --- .../telepathy/telepathy-python_0.15.19.bb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-connectivity/telepathy/telepathy-python_0.15.1

[OE-core] [CONSOLIDATED PULL 01/10] scripts/runqemu: Make it run on ubuntu 11.10

2011-08-11 Thread Saul Wold
From: Khem Raj location of libGL has moved in ubuntu 11.10 so we look for it in the new locations Signed-off-by: Khem Raj --- scripts/runqemu |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index 9611c64..2b8e88a 100755 --- a/scripts/r

[OE-core] [CONSOLIDATED PULL 00/10] Various Fixes

2011-08-11 Thread Saul Wold
Richard, This is a series of patches that I have reviewed and built. Sau! The following changes since commit a1f87ec65fa1a6d5ce9a010548dbe7c01ab9b711: eglibc: force GLIBC_EXTRA_OECONF to not be uset for nativesdk (2011-08-10 13:26:22 +0100) are available in the git repository at: git://gi

[OE-core] [CONSOLIDATED PULL 06/10] xcb-proto: use python-dir class for proper path setting

2011-08-11 Thread Saul Wold
From: Kumar Gala The previous patch to deal with multilib that patched aclocal doesn't work in all cases as we might regenerate aclocal and thus the modification is overwritten. Instead we can utilize python-dir class to have it set: am_cv_python_pythondir & am_cv_python_pyexecdir for is to th

[OE-core] [CONSOLIDATED PULL 04/10] scripts/combo-layer: a simple way to script the combo-layer conf

2011-08-11 Thread Saul Wold
From: Leandro Dorileo 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 start

[OE-core] [CONSOLIDATED PULL 03/10] chkconfig: remove link for update-alternatives to disambiguate

2011-08-11 Thread Saul Wold
From: Xiaofeng Yan [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

[OE-core] MINUTES: OE-TSC meeting 4 August, 2011

2011-08-11 Thread Jeff Osier-Mixon
OE-TSC meeting 4 August, 2011 Note: There was no meeting on July 28 due to a lack of quorum Attendees: Richard, Khem, Tom, Mark Apologies: Koen Note: Jefro Minutes: 01) choose a meeting chair RP 02) new topics a. request for post 1.1 focus areas for yocto 03) action items from last week -

Re: [OE-core] [PATCH] bluez4: Added new recipe version 4.96

2011-08-11 Thread Phil Blundell
On Thu, 2011-08-11 at 21:00 +0500, Noor, Ahsan wrote: > From: Noor Ahsan > > * Added new recipe version 4.96. Is there a particular reason why we need both this and the old 4.82? p. ___ Openembedded-core mailing list Openembedded-core@lists.openemb

Re: [OE-core] sscache signature?

2011-08-11 Thread Richard Purdie
On Wed, 2011-08-10 at 12:51 -0500, Kumar Gala wrote: > the yocto wiki references mentions a bitbake-diffsigs > > https://wiki.yoctoproject.org/wiki/Enable_sstate_cache > > but not seeing that. How can one compare signature or try and figure > out why a cache item isn't being reused between cfgs.

[OE-core] [PATCH] bluez4: Added new recipe version 4.96

2011-08-11 Thread Noor, Ahsan
From: Noor Ahsan * Added new recipe version 4.96. Signed-off-by: Noor Ahsan --- .../bluez/bluez4-4.96/bluetooth.conf | 16 meta/recipes-connectivity/bluez/bluez4_4.96.bb | 73 2 files changed, 89 insertions(+), 0 deletions(-) diff --git a/meta/

Re: [OE-core] [PATCH 2/3] Add basic Mips core tune config

2011-08-11 Thread Mark Hatle
On 8/11/11 6:25 AM, Phil Blundell wrote: > On Tue, 2011-07-26 at 13:44 +0100, Richard Purdie wrote: >> +# MIPS Architecture definition >> +# 12 defined ABIs, all combinations of: >> +# *) Big/Little Endian >> +# *) Hardware/Software Floating Point >> +# *) o32, n32, n64 ABI >> + >> +DEFAULTTUNE ?=

Re: [OE-core] [PATCH 5/7] multilib: remove MULTILIB_PACKAGE_ARCHS variable

2011-08-11 Thread Mark Hatle
On 8/10/11 7:44 PM, Xu, Dongxiao wrote: >> -Original Message- >> From: openembedded-core-boun...@lists.openembedded.org >> [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of >> Xu, Dongxiao >> Sent: Thursday, August 04, 2011 9:00 AM >> To: Patches and discussions about t

[OE-core] [PATCH 2/2] package_rpm.bbclass: Update the platform config and --target

2011-08-11 Thread Mark Hatle
When constructing the /etc/rpm/platform file, we need to ensure that the any, all, and noarch platforms will allow any "linux" variant to be installable, not just matching variants.. i.e. arm-oe-linux-gnueabi should be able to install noarch-oe-linux Also ensure that we pass the full canonical ar

[OE-core] [PATCH 1/2] rpm: Fix the canonical arch --target processing and cleanup

2011-08-11 Thread Mark Hatle
[YOCTO #1352] Fix the canonical arch --target processor to work with the way OE handles the GNU canonical arch. Also cleanup a number of files that are no longer used, and refactor the no-loop patch into the "no-loopmsg" patch. Signed-off-by: Mark Hatle --- .../recipes-devtools/rpm/rpm/export-

[OE-core] [PATCH 0/2] Fix on-target RPM platform mismatch

2011-08-11 Thread Mark Hatle
This fixes the Yocto bug #1352. When trying to install an arm package on the target, the platform no longer matched properly. The platform was being set to arm*-oe-linux-gnu, instead of the proper arm*-oe-linux-gnueabi. The following changes since commit 87456db10d6e615e5f49453befedaa5957dfe292:

Re: [OE-core] [PATCH] gcc: use ${base_lib} to match gcc default configuration

2011-08-11 Thread Richard Purdie
On Thu, 2011-08-11 at 01:47 -0500, Kumar Gala wrote: > revert this is not acceptable as that will break ppc64 builds. > > I think you need to look at 64bithack.patch and if we really should be using > it for multilib builds. This just sounds like gcc totally ignores the the library directory we'

Re: [OE-core] [PATCH] gcc: use ${base_lib} to match gcc default configuration

2011-08-11 Thread Khem Raj
On Thursday, August 11, 2011 03:45:01 PM Yu Ke wrote: > Ok, CC Richard to see if it is OK to not use 64bithack.patch > > Regards > Ke > > on 2011-8-11 14:47, Kumar Gala wrote: > > revert this is not acceptable as that will break ppc64 builds. > > > > I think you need to look at 64bithack.patch a

Re: [OE-core] [PATCH 2/3] Add basic Mips core tune config

2011-08-11 Thread Khem Raj
On Thursday, August 11, 2011 01:29:38 PM Phil Blundell wrote: > On Thu, 2011-08-11 at 13:08 +0100, Richard Purdie wrote: > > On Thu, 2011-08-11 at 12:25 +0100, Phil Blundell wrote: > > > On Tue, 2011-07-26 at 13:44 +0100, Richard Purdie wrote: > > > > +# MIPS Architecture definition > > > > +# 12 d

Re: [OE-core] [PATCH 1/2] image: populate site config files into roootfs.

2011-08-11 Thread Phil Blundell
On Thu, 2011-08-11 at 22:31 +0800, Lianhao Lu wrote: > [YOCTO #892] populate the site config files content into the file in > {target}/cross_site_config in rootfs, which can be used by the cross > toolchain in meta-toolchain when the rootfs is used as sysroot. Is that going to cause ${datadir}/cro

[OE-core] [PATCH 2/2] meta-toolchain/environment: Use site config in rootfs.

2011-08-11 Thread Lianhao Lu
[YOCTO #892] Use the site config file in rootfs to set up the build environment. Signed-off-by: Lianhao Lu --- meta/classes/populate_sdk.bbclass |2 +- meta/recipes-core/meta/meta-environment.bb |6 +- meta/recipes-core/meta/meta-toolchain.bb |4 +--- 3 files changed,

[OE-core] [PATCH 1/2] image: populate site config files into roootfs.

2011-08-11 Thread Lianhao Lu
[YOCTO #892] populate the site config files content into the file in {target}/cross_site_config in rootfs, which can be used by the cross toolchain in meta-toolchain when the rootfs is used as sysroot. Signed-off-by: Lianhao Lu --- meta/classes/image.bbclass |1 + meta/classes/si

[OE-core] [PATCH 0/2] Populate site config files content to rootfs

2011-08-11 Thread Lianhao Lu
This series of patches fixed the bug #892. Currently, the site config files used in the cross compiling environment generated by meta-toolchain partly come from SITECONFIG_SYSROOT_CACHE, where each package will put their own site config cache file during their populate-sysroot task. However, th

Re: [OE-core] [PATCH 2/3] Add basic Mips core tune config

2011-08-11 Thread Richard Purdie
On Thu, 2011-08-11 at 13:29 +0100, Phil Blundell wrote: > On Thu, 2011-08-11 at 13:08 +0100, Richard Purdie wrote: > > You sound like you're doing this backwards. Pick a tune that either sets > > TUNE_FEATURES to either contain or not contain "bigendian". TARGET_ARCH > > then should get set appropr

Re: [OE-core] X11 as DISTRO_FEATURE

2011-08-11 Thread Andreas Oberritter
On 11.08.2011 14:17, Phil Blundell wrote: > Right now, there are a bunch of recipes (e.g. dbus, cairo) which always > build against X11 even though the underlying software can work without > it. This makes it somewhat painful to build a display system using > clutter (for example) without X. > >

Re: [OE-core] X11 as DISTRO_FEATURE

2011-08-11 Thread Phil Blundell
On Thu, 2011-08-11 at 15:27 +0200, Anders Darander wrote: > The opposite of objections, at least from me... This is something that > I've wanted to do for a long time (but I never seem to get the time for > it). > > Once again, I'm fighting against not only building X-related stuff, but > also pre

Re: [OE-core] X11 as DISTRO_FEATURE

2011-08-11 Thread Anders Darander
* Phil Blundell [110811 14:17]: > Right now, there are a bunch of recipes (e.g. dbus, cairo) which always > build against X11 even though the underlying software can work without > it. This makes it somewhat painful to build a display system using > clutter (for example) without X. > It's also m

Re: [OE-core] [PATCH 2/3] Add basic Mips core tune config

2011-08-11 Thread Phil Blundell
On Thu, 2011-08-11 at 13:08 +0100, Richard Purdie wrote: > On Thu, 2011-08-11 at 12:25 +0100, Phil Blundell wrote: > > On Tue, 2011-07-26 at 13:44 +0100, Richard Purdie wrote: > > > +# MIPS Architecture definition > > > +# 12 defined ABIs, all combinations of: > > > +# *) Big/Little Endian > > > +#

Re: [OE-core] bitbake -b busted again?

2011-08-11 Thread Martin Jansa
es-3.0.14-r69: task do_cleansstate: Started NOTE: package base-files-3.0.14-r69: task do_cleansstate: Succeeded NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn't need to be rerun and 0 failed. .. try to unpack some recipe with file:// in SRC_URI

[OE-core] X11 as DISTRO_FEATURE

2011-08-11 Thread Phil Blundell
Right now, there are a bunch of recipes (e.g. dbus, cairo) which always build against X11 even though the underlying software can work without it. This makes it somewhat painful to build a display system using clutter (for example) without X. It's also moderately fiddly to stop X11 from leaking i

Re: [OE-core] [PATCH 2/3] Add basic Mips core tune config

2011-08-11 Thread Richard Purdie
On Thu, 2011-08-11 at 12:25 +0100, Phil Blundell wrote: > On Tue, 2011-07-26 at 13:44 +0100, Richard Purdie wrote: > > +# MIPS Architecture definition > > +# 12 defined ABIs, all combinations of: > > +# *) Big/Little Endian > > +# *) Hardware/Software Floating Point > > +# *) o32, n32, n64 ABI > >

Re: [OE-core] bitbake -b busted again?

2011-08-11 Thread Richard Purdie
On Thu, 2011-08-11 at 08:44 +0200, Martin Jansa wrote: > On Wed, Aug 10, 2011 at 11:48:33AM +0100, Phil Blundell wrote: > > On Wed, 2011-06-29 at 16:11 +0100, Phil Blundell wrote: > > > Also, it does seem that "bitbake -e -b ..." really is broken. I get: > > > > > > ERROR: Command execution faile

Re: [OE-core] bitbake -b busted again?

2011-08-11 Thread Phil Blundell
On Wed, 2011-08-10 at 14:26 +0100, Richard Purdie wrote: > On Wed, 2011-08-10 at 11:48 +0100, Phil Blundell wrote: > > On Wed, 2011-06-29 at 16:11 +0100, Phil Blundell wrote: > > > Also, it does seem that "bitbake -e -b ..." really is broken. I get: > > I've posted a patch to fix this to the bitba

Re: [OE-core] [PATCH 2/3] Add basic Mips core tune config

2011-08-11 Thread Phil Blundell
On Tue, 2011-07-26 at 13:44 +0100, Richard Purdie wrote: > +# MIPS Architecture definition > +# 12 defined ABIs, all combinations of: > +# *) Big/Little Endian > +# *) Hardware/Software Floating Point > +# *) o32, n32, n64 ABI > + > +DEFAULTTUNE ?= "mips" > + > +# Endianess > +TUNEVALID[bigendian]

Re: [OE-core] [PATCH 1/1] libsdl: Add libSDL.so into Sato image

2011-08-11 Thread Phil Blundell
Something like that, yeah. I don't think you want/need to do anything with RDEPENDS since that should all be automatic. If SDL can use GLES as well as GL then it might be worth adding support for both. They should probably be separate DISTRO_FEATUREs (and possibly we should have separate featur

Re: [OE-core] [PATCH] gcc: move --enable-target-optspace workaround to just gcc-4.5.1

2011-08-11 Thread Kumar Gala
On Aug 9, 2011, at 11:12 PM, Kumar Gala wrote: > For ppc we disable '--enable-target-optspace' because of a bug in gcc > 4.5.x. gcc 4.6.x fixes this issue so no need to do this. > > Signed-off-by: Kumar Gala > --- > meta/recipes-devtools/gcc/gcc-4.5.1.inc|8 > meta/reci

Re: [OE-core] [PATCH] gcc: use ${base_lib} to match gcc default configuration

2011-08-11 Thread Yu Ke
Ok, CC Richard to see if it is OK to not use 64bithack.patch Regards Ke on 2011-8-11 14:47, Kumar Gala wrote: revert this is not acceptable as that will break ppc64 builds. I think you need to look at 64bithack.patch and if we really should be using it for multilib builds. - k On Aug 11, 20

Re: [OE-core] [PATCH 1/1] libsdl: Add libSDL.so into Sato image

2011-08-11 Thread Xu, Jiajun
Thanks for your suggestions, Richard, Phil. Just want to double confirm, is it OK if I add a check for "opengl" in DISTRO_FEATURES in libsdl.bb? If it's set, we could add virtual/libgl into DEPENDS and RDEPENDS_virtclass-nativesdk, and enable opengl in EXTRA_OECONF. > Hi Jiajun, > > On Fri, 201