Openembedded Core Discussions
 help / color / mirror / Atom feed
* [RFC PATCH] bitbake.conf: Change WORKDIR to split by PN and version into seperate directories
@ 2012-09-21 14:24 Richard Purdie
  2012-09-21 14:27 ` Phil Blundell
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2012-09-21 14:24 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

As per the previous patch, this is really a request for comments, I can
see pros and cons...

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 4b6fdb7..bc870e7 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -334,7 +334,7 @@ HGDIR = "${CO_DIR}/hg"
 
 STAMP = "${TMPDIR}/stamps/${MULTIMACH_TARGET_SYS}/${PN}/${EXTENDPE}${PV}-${PR}"
 STAMPCLEAN = "${TMPDIR}/stamps/${MULTIMACH_TARGET_SYS}/${PN}/*-*"
-WORKDIR = "${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PF}"
+WORKDIR = "${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PN}/${EXTENDPE}${PV}-${PR}"
 T = "${WORKDIR}/temp"
 D = "${WORKDIR}/image"
 S = "${WORKDIR}/${BP}"





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [RFC PATCH] bitbake.conf: Change WORKDIR to split by PN and version into seperate directories
  2012-09-21 14:24 [RFC PATCH] bitbake.conf: Change WORKDIR to split by PN and version into seperate directories Richard Purdie
@ 2012-09-21 14:27 ` Phil Blundell
  2012-09-21 15:18   ` Martin Jansa
  0 siblings, 1 reply; 4+ messages in thread
From: Phil Blundell @ 2012-09-21 14:27 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core

On Fri, 2012-09-21 at 15:24 +0100, Richard Purdie wrote:
> As per the previous patch, this is really a request for comments, I can
> see pros and cons...

I've been using this configuration locally for quite some time (it's
needed for rm_old_works in particular) and it seems to be an improvement
in general.

p.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC PATCH] bitbake.conf: Change WORKDIR to split by PN and version into seperate directories
  2012-09-21 14:27 ` Phil Blundell
@ 2012-09-21 15:18   ` Martin Jansa
  2012-09-22 11:43     ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2012-09-21 15:18 UTC (permalink / raw)
  To: Phil Blundell; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 810 bytes --]

On Fri, Sep 21, 2012 at 03:27:48PM +0100, Phil Blundell wrote:
> On Fri, 2012-09-21 at 15:24 +0100, Richard Purdie wrote:
> > As per the previous patch, this is really a request for comments, I can
> > see pros and cons...
> 
> I've been using this configuration locally for quite some time (it's
> needed for rm_old_works in particular) and it seems to be an improvement
> in general.

Last time I was using rm_old_works without this change
https://github.com/shr-distribution/meta-smartphone/commit/0d4c17de1ba7343d82bb10c311754e29d573c485

I've seen a lot of /usr/src/debug/${EXTENDPE}${PV}-${PR}" on target from
-dbg packages, which doesn't look right, was this fixed in whatever packs 
source code to -dbg packages?

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC PATCH] bitbake.conf: Change WORKDIR to split by PN and version into seperate directories
  2012-09-21 15:18   ` Martin Jansa
@ 2012-09-22 11:43     ` Richard Purdie
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2012-09-22 11:43 UTC (permalink / raw)
  To: Martin Jansa, Mark Hatle; +Cc: Phil Blundell, openembedded-core

On Fri, 2012-09-21 at 17:18 +0200, Martin Jansa wrote:
> On Fri, Sep 21, 2012 at 03:27:48PM +0100, Phil Blundell wrote:
> > On Fri, 2012-09-21 at 15:24 +0100, Richard Purdie wrote:
> > > As per the previous patch, this is really a request for comments, I can
> > > see pros and cons...
> > 
> > I've been using this configuration locally for quite some time (it's
> > needed for rm_old_works in particular) and it seems to be an improvement
> > in general.
> 
> Last time I was using rm_old_works without this change
> https://github.com/shr-distribution/meta-smartphone/commit/0d4c17de1ba7343d82bb10c311754e29d573c485
> 
> I've seen a lot of /usr/src/debug/${EXTENDPE}${PV}-${PR}" on target from
> -dbg packages, which doesn't look right, was this fixed in whatever packs 
> source code to -dbg packages?

Probably from the way splitfile2 works in package.bbclass. I think this
should be using ${PF} explicitly if that is what it wants...

Cheers,

Richard





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-22 11:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-21 14:24 [RFC PATCH] bitbake.conf: Change WORKDIR to split by PN and version into seperate directories Richard Purdie
2012-09-21 14:27 ` Phil Blundell
2012-09-21 15:18   ` Martin Jansa
2012-09-22 11:43     ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox