[OE-core] [PATCH 0/4 V2] Share gcc work directories

2011-06-15 Thread Robert Yang
Changes of V2: 1) Fix the Makefile.in to read the t-oe in ${B}/gcc/ 2) Fix the confiure to read the defaults.in ${B}/gcc/ 3) Now the only command that would modify ${S} is gnu-configize, but this is compatible, it would do nothing in the second run once config.sub and config.guess were

[OE-core] [PATCH 4/4 V2] gcc-4.6.0: share work directories

2011-06-15 Thread Robert Yang
Fix configure and Makefile to read the defaults.h and t-oe from ${B}, so that the ${S} can be shared. Signed-off-by: Robert Yang liezhi.y...@windriver.com --- meta/recipes-devtools/gcc/gcc-4.6.0.inc|1 + .../gcc-4.6.0/use-defaults.h-and-t-oe-in-B.patch | 80

[OE-core] [PATCH 1/4 V2] bitbake: share source directory

2011-06-15 Thread Robert Yang
This patch is derived from Richard, it is a quick proof of concept to show how source code could be shared between recipes which use ${B} to have a separate build directory compared to source directory ${S}. Signed-off-by: Robert Yang liezhi.y...@windriver.com --- bitbake/lib/bb/build.py|

[OE-core] [PATCH 2/4 V2] Share gcc work directories

2011-06-15 Thread Robert Yang
This patched is derived from Richard, make gcc use the shared source directory during the different building: 1) Make gcc-cross, gcc-cross-initial, gcc-cross-intermediate and gcc-runtime share the same source directory. 2) The source directory is ${TMPDIR}/work-shared/gcc-${PV}, for example:

Re: [OE-core] [PATCH V2] allarch.bbclass: Set FEED_ARCH to original value of BASE_PACKAGE_ARCH and then set BASE_PACKAGE_ARCH to 'all'

2011-06-15 Thread Koen Kooi
Op 15 jun 2011, om 01:12 heeft Khem Raj het volgende geschreven: On Tue, Jun 14, 2011 at 2:44 PM, Koen Kooi k...@dominion.thruhere.net wrote: Op 14 jun 2011, om 23:40 heeft Khem Raj het volgende geschreven: On Tue, Jun 14, 2011 at 2:32 PM, Koen Kooi k...@dominion.thruhere.net wrote:

[OE-core] [PATCH 0/2] fix the mesa-dri build failure after upgrading to newer glproto and dri2proto

2011-06-15 Thread Dexuan Cui
Please review them. The following changes since commit 6719d1e245234767bb5409c30dd34388ab935550: are available in the git repository at: git://git.pokylinux.org/poky-contrib dcui/fix_mesa-dri http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/fix_mesa-dri Dexuan Cui (2): glproto:

Re: [OE-core] [PATCH 0/2] fix the mesa-dri build failure after upgrading to newer glproto and dri2proto

2011-06-15 Thread Martin Jansa
On Wed, Jun 15, 2011 at 9:19 AM, Dexuan Cui dexuan@intel.com wrote: Please review them. Acked-by: Martin.Jansa martin.ja...@gmail.com with sort of deja vu :) http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=de74afec8a067071d17365438d6c462664bc5054

Re: [OE-core] [PATCH 0/2] fix the mesa-dri build failure after upgrading to newer glproto and dri2proto

2011-06-15 Thread Koen Kooi
Op 15 jun 2011, om 09:19 heeft Dexuan Cui het volgende geschreven: Please review them. This is more elegant than my solution of keeping dri2proto 2.3 in meta-oe :) Acked-by: Koen Kooi k...@dominion.thruhere.net The following changes since commit 6719d1e245234767bb5409c30dd34388ab935550:

Re: [OE-core] [PATCH 0/2] fix the mesa-dri build failure after upgrading to newer glproto and dri2proto

2011-06-15 Thread Cui, Dexuan
Martin Jansa wrote: On Wed, Jun 15, 2011 at 9:19 AM, Dexuan Cui dexuan@intel.com wrote: Please review them. Acked-by: Martin.Jansa martin.ja...@gmail.com with sort of deja vu :) http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=de74afec8a067071d17365438d6c462664bc5054

Re: [OE-core] [PATCH RFC] binutils: allow distro to select gold as default cross-linker

2011-06-15 Thread Phil Blundell
On Tue, 2011-06-14 at 17:38 +0200, Koen Kooi wrote: Out of curiousity, how well does gold work nowadays? Last I remember hearing of it was in its x86-only days. It works for arm, x86 and amd64 which are the only targets that I've tried for myself. I suspect it doesn't support some of the more

Re: [OE-core] [PATCH V2] allarch.bbclass: Set FEED_ARCH to original value of BASE_PACKAGE_ARCH and then set BASE_PACKAGE_ARCH to 'all'

2011-06-15 Thread Koen Kooi
Op 14 jun 2011, om 23:24 heeft Richard Purdie het volgende geschreven: On Tue, 2011-06-14 at 14:13 -0700, Khem Raj wrote: Signed-off-by: Khem Raj raj.k...@gmail.com --- meta/classes/allarch.bbclass |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git

Re: [OE-core] [PATCH V2] allarch.bbclass: Set FEED_ARCH to original value of BASE_PACKAGE_ARCH and then set BASE_PACKAGE_ARCH to 'all'

2011-06-15 Thread Richard Purdie
On Wed, 2011-06-15 at 10:56 +0200, Koen Kooi wrote: Op 14 jun 2011, om 23:24 heeft Richard Purdie het volgende geschreven: On Tue, 2011-06-14 at 14:13 -0700, Khem Raj wrote: Signed-off-by: Khem Raj raj.k...@gmail.com --- meta/classes/allarch.bbclass |5 +++-- 1 files changed, 3

Re: [OE-core] [PATCH 0/1] linux-yocto: update meta branch SRCREV

2011-06-15 Thread Richard Purdie
On Wed, 2011-06-15 at 00:05 -0400, Bruce Ashfield wrote: Richard/Saul, The patch really says it all, so I'm repeating it here: [ Updating the meta SRCREV to fix a bad commit which resulted in the tree being dirty after checkpoint, and hence a failure during the patch phase. The

Re: [OE-core] [PATCH V2] allarch.bbclass: Set FEED_ARCH to original value of BASE_PACKAGE_ARCH and then set BASE_PACKAGE_ARCH to 'all'

2011-06-15 Thread Richard Purdie
On Wed, 2011-06-15 at 09:00 +0200, Koen Kooi wrote: Op 15 jun 2011, om 01:12 heeft Khem Raj het volgende geschreven: On Tue, Jun 14, 2011 at 2:44 PM, Koen Kooi k...@dominion.thruhere.net wrote: Op 14 jun 2011, om 23:40 heeft Khem Raj het volgende geschreven: On Tue, Jun 14, 2011

Re: [OE-core] [PATCH V2] allarch.bbclass: Set FEED_ARCH to original value of BASE_PACKAGE_ARCH and then set BASE_PACKAGE_ARCH to 'all'

2011-06-15 Thread Koen Kooi
Op 15 jun 2011, om 12:16 heeft Richard Purdie het volgende geschreven: On Wed, 2011-06-15 at 09:00 +0200, Koen Kooi wrote: Op 15 jun 2011, om 01:12 heeft Khem Raj het volgende geschreven: On Tue, Jun 14, 2011 at 2:44 PM, Koen Kooi k...@dominion.thruhere.net wrote: Op 14 jun 2011, om

[OE-core] criteria for oe-core?

2011-06-15 Thread Phil Blundell
I'm still a bit unclear on what exactly are the criteria for determining whether a given recipe should go into oe-core, some other layer (e.g. meta-oe) or both places. Is there a document somewhere which explains this? thanks p. ___

Re: [OE-core] [PATCH RFC] binutils: allow distro to select gold as default cross-linker

2011-06-15 Thread Phil Blundell
On Tue, 2011-06-14 at 19:42 -0700, Khem Raj wrote: I think we need to document this distro feature somewhere as well. Yeah, agreed. Any suggestions for somewhere? Traditionally this kind of thing has been sort-of-documented in local.conf.sample{.extended} but that doesn't seem like a terribly

Re: [OE-core] [PATCH V2] allarch.bbclass: Set FEED_ARCH to original value of BASE_PACKAGE_ARCH and then set BASE_PACKAGE_ARCH to 'all'

2011-06-15 Thread Richard Purdie
On Wed, 2011-06-15 at 12:37 +0200, Koen Kooi wrote: Op 15 jun 2011, om 12:22 heeft Richard Purdie het volgende geschreven: On Wed, 2011-06-15 at 12:15 +0200, Koen Kooi wrote: Op 15 jun 2011, om 12:07 heeft Richard Purdie het volgende geschreven: I know, but we have two choices: a)

Re: [OE-core] [PATCH V2] allarch.bbclass: Set FEED_ARCH to original value of BASE_PACKAGE_ARCH and then set BASE_PACKAGE_ARCH to 'all'

2011-06-15 Thread Koen Kooi
Op 15 jun 2011, om 13:36 heeft Richard Purdie het volgende geschreven: On Wed, 2011-06-15 at 12:37 +0200, Koen Kooi wrote: Op 15 jun 2011, om 12:22 heeft Richard Purdie het volgende geschreven: On Wed, 2011-06-15 at 12:15 +0200, Koen Kooi wrote: Op 15 jun 2011, om 12:07 heeft Richard

Re: [OE-core] tinylogin unfetchable

2011-06-15 Thread Koen Kooi
Op 15 jun 2011, om 14:06 heeft Phil Blundell het volgende geschreven: The SRC_URI http://tinylogin.busybox.net/downloads/tinylogin-1.4.tar.bz2 doesn't seem to work anymore. Does anybody know an alternate URL that could be used in the recipe?

Re: [OE-core] [PATCH] eglibc_2.12.bb: Remove already upstreamed fix-for-make-3.82.diff

2011-06-15 Thread Richard Purdie
On Tue, 2011-06-14 at 11:53 -0700, Khem Raj wrote: This patch is already applied to eglibc 2.12 branch as seen here http://www.eglibc.org/cgi-bin/viewcvs.cgi/branches/eglibc-2_12/libc/manual/Makefile?rev=12230sortby=dater2=12230r1=10495 Signed-off-by: Khem Raj raj.k...@gmail.com ---

Re: [OE-core] [PATCH] eglibc: bump PR for SRCREV changes

2011-06-15 Thread Richard Purdie
On Tue, 2011-06-14 at 21:23 +0200, Koen Kooi wrote: Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- meta/recipes-core/eglibc/eglibc_2.12.bb |2 +- meta/recipes-core/eglibc/eglibc_2.13.bb |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Applied to master, thanks.

[OE-core] [PATCH] tinylogin: use angstrom mirror for SRC_URI

2011-06-15 Thread Phil Blundell
since busybox.net no longer seems to be hosting the tarball Signed-off-by: Phil Blundell ph...@gnu.org --- meta/recipes-core/tinylogin/tinylogin_1.4.bb |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta/recipes-core/tinylogin/tinylogin_1.4.bb

Re: [OE-core] [patch] bind: adjust hardcoded install path references

2011-06-15 Thread Richard Purdie
On Wed, 2011-06-15 at 15:26 +0100, Phil Blundell wrote: Fixes do_install() on micro, which otherwise fails for obvious reasons. Signed-off-by: Phil Blundell ph...@gnu.org --- meta/recipes-connectivity/bind/bind_9.7.2-P3.bb | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-)

Re: [OE-core] [PATCH RFC] binutils: allow distro to select gold as default cross-linker

2011-06-15 Thread Phil Blundell
On Wed, 2011-06-15 at 09:04 +0100, Phil Blundell wrote: One slightly annoying thing is that (e)glibc isn't buildable with gold because the linker scripts don't work. So a little bit of patching is going to be needed to have it use ld.bfd there. There might be some other packages with similar

Re: [OE-core] tinylogin unfetchable

2011-06-15 Thread Saul Wold
On 06/15/2011 05:09 AM, Koen Kooi wrote: Op 15 jun 2011, om 14:06 heeft Phil Blundell het volgende geschreven: The SRC_URI http://tinylogin.busybox.net/downloads/tinylogin-1.4.tar.bz2 doesn't seem to work anymore. Does anybody know an alternate URL that could be used in the recipe? I am

Re: [OE-core] tinylogin unfetchable

2011-06-15 Thread Phil Blundell
On Wed, 2011-06-15 at 07:38 -0700, Saul Wold wrote: Is the fallback to MIRRORS not working? Which MIRRORS are you thinking of? If there's meant to be an appropriate one set in oe-core then I guess the answer is no, it isn't working :-} p. ___

Re: [OE-core] [PATCH V2] allarch.bbclass: Set FEED_ARCH to original value of BASE_PACKAGE_ARCH and then set BASE_PACKAGE_ARCH to 'all'

2011-06-15 Thread Khem Raj
On 06/15/2011 03:23 AM, Richard Purdie wrote: On Wed, 2011-06-15 at 12:18 +0200, Koen Kooi wrote: Op 15 jun 2011, om 12:16 heeft Richard Purdie het volgende geschreven: On Wed, 2011-06-15 at 09:00 +0200, Koen Kooi wrote: Op 15 jun 2011, om 01:12 heeft Khem Raj het volgende geschreven: On

Re: [OE-core] tinylogin unfetchable

2011-06-15 Thread Mark Hatle
On 6/15/11 9:42 AM, Phil Blundell wrote: On Wed, 2011-06-15 at 07:38 -0700, Saul Wold wrote: Is the fallback to MIRRORS not working? Which MIRRORS are you thinking of? If there's meant to be an appropriate one set in oe-core then I guess the answer is no, it isn't working :-} The FALLBACK

[OE-core] [RFC] DISTRO_MIRRORS / DISTRO_PREMIRRORS

2011-06-15 Thread Saul Wold
Folks, Recently we have seen a number of fetch failures, due to upstream sites being down or deprecated (tinylogin, pscmic and others). The issue is that oe-core as a non-distro does not have a default set of mirrors, which causes the fetcher to fail as there is no fall-back mirror to

Re: [OE-core] [RFC] DISTRO_MIRRORS / DISTRO_PREMIRRORS

2011-06-15 Thread Khem Raj
On 06/15/2011 09:05 AM, Saul Wold wrote: Folks, Recently we have seen a number of fetch failures, due to upstream sites being down or deprecated (tinylogin, pscmic and others). The issue is that oe-core as a non-distro does not have a default set of mirrors, which causes the fetcher to fail

Re: [OE-core] [RFC] DISTRO_MIRRORS / DISTRO_PREMIRRORS

2011-06-15 Thread Khem Raj
On 06/15/2011 09:11 AM, Mark Hatle wrote: On 6/15/11 11:05 AM, Saul Wold wrote: Folks, Recently we have seen a number of fetch failures, due to upstream sites being down or deprecated (tinylogin, pscmic and others). The issue is that oe-core as a non-distro does not have a default set of

Re: [OE-core] [PATCH RFC] binutils: allow distro to select gold as default cross-linker

2011-06-15 Thread Khem Raj
On 06/15/2011 07:32 AM, Phil Blundell wrote: On Wed, 2011-06-15 at 09:04 +0100, Phil Blundell wrote: One slightly annoying thing is that (e)glibc isn't buildable with gold because the linker scripts don't work. So a little bit of patching is going to be needed to have it use ld.bfd there.

Re: [OE-core] [RFC] DISTRO_MIRRORS / DISTRO_PREMIRRORS

2011-06-15 Thread Khem Raj
On 06/15/2011 09:26 AM, Saul Wold wrote: On 06/15/2011 09:13 AM, Khem Raj wrote: On 06/15/2011 09:05 AM, Saul Wold wrote: Folks, Recently we have seen a number of fetch failures, due to upstream sites being down or deprecated (tinylogin, pscmic and others). The issue is that oe-core as a

Re: [OE-core] [PATCH RFC] binutils: allow distro to select gold as default cross-linker

2011-06-15 Thread Phil Blundell
On Wed, 2011-06-15 at 09:26 -0700, Khem Raj wrote: this might not work second time around when gcc-cross has been staged. Oh, I thought that mess was fixed nowadays. Doesn't eglibc always use the -intermediate compiler from the special tcbootstrap place? If it's just picking whatever was

Re: [OE-core] [PATCH RFC] binutils: allow distro to select gold as default cross-linker

2011-06-15 Thread Khem Raj
On 06/15/2011 09:31 AM, Phil Blundell wrote: On Wed, 2011-06-15 at 09:26 -0700, Khem Raj wrote: this might not work second time around when gcc-cross has been staged. Oh, I thought that mess was fixed nowadays. Doesn't eglibc always use the -intermediate compiler from the special tcbootstrap

Re: [OE-core] [PATCH RFC] binutils: allow distro to select gold as default cross-linker

2011-06-15 Thread Phil Blundell
On Wed, 2011-06-15 at 09:35 -0700, Khem Raj wrote: This will work. Do you know what problems eglibc has linking with gold ? may be we can fix it If I remember right, it relies on linker script functionality which gold just doesn't have. I suspect this would be hard to fix and, unless there is

Re: [OE-core] [PATCH RFC] binutils: allow distro to select gold as default cross-linker

2011-06-15 Thread Khem Raj
On 06/15/2011 09:42 AM, Phil Blundell wrote: On Wed, 2011-06-15 at 09:35 -0700, Khem Raj wrote: This will work. Do you know what problems eglibc has linking with gold ? may be we can fix it If I remember right, it relies on linker script functionality which gold just doesn't have. I suspect

Re: [OE-core] [PATCH RFC] binutils: allow distro to select gold as default cross-linker

2011-06-15 Thread Phil Blundell
On Wed, 2011-06-15 at 09:47 -0700, Khem Raj wrote: we probably need ld.bfd for kernel too. Yeah. That's easy though, because the kernel invokes ld directly rather than going through the compiler driver. Just need to set ${KERNEL_LD} appropriately and it should all be fine. p.

[OE-core] [PATCH] cmake: refactor recipe

2011-06-15 Thread Otavio Salvador
* use INC_PR; * show configure's failure on error; * gather major version from PV; Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- meta/recipes-devtools/cmake/cmake-native_2.8.3.bb |4 ++-- meta/recipes-devtools/cmake/cmake.inc |6 +- 2 files changed, 7

[OE-core] [PATCH 0/1] More LICENSE cleanup and additional common-licenses

2011-06-15 Thread Flanagan, Elizabeth
I've added some more licenses from the SPDX project as well as corrected some text. GCC's LICENSE field was problematic and I've corrected it to the actual GPL exception license text. I've also cleaned up gdb's LICENSE field. The following changes since commit

[OE-core] [PATCH] u-boot-mkimage: bump version to 2011.03

2011-06-15 Thread Ilya Yanok
This patch changes u-boot-mkimage version to 2011.03 and includes patches to build tools without configuring U-Boot for specific board. Signed-off-by: Ilya Yanok ya...@emcraft.com --- ...Drop-config.h-include-in-tools-imximage.h.patch | 39 ++

Re: [OE-core] [RFC] DISTRO_MIRRORS / DISTRO_PREMIRRORS

2011-06-15 Thread Tom Rini
On 06/15/2011 09:13 AM, Khem Raj wrote: On 06/15/2011 09:05 AM, Saul Wold wrote: Folks, Recently we have seen a number of fetch failures, due to upstream sites being down or deprecated (tinylogin, pscmic and others). The issue is that oe-core as a non-distro does not have a default set of

[OE-core] [PATCH 1/1] gconf-dbus: Fix SRC_URI to tarball

2011-06-15 Thread Saul Wold
Signed-off-by: Saul Wold s...@linux.intel.com --- .../gnome/{gconf-dbus_svn.bb = gconf-dbus_705.bb} | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) rename meta/recipes-gnome/gnome/{gconf-dbus_svn.bb = gconf-dbus_705.bb} (69%) diff --git