Skip to contentSkip to conversation

bitbake.conf: Change WORKDIR to split by PN and version into seperate directories

RFC PATCH In review Richard Purdie 3 participants 4 messages Sep 21, 2012 – Sep 22, 2012

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 bitbake.conf: Change WORKDIR to split by PN and version into seperate directories

---

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

meta/conf/bitbake.conf +1 -1
index 4b6fdb7..bc870e7 100644
@@ -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}"
#1 lore raw
Quoted 2 lines · Richard Purdie

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.

#2 lore raw
Quoted 7 lines · Phil Blundell
Quoted 2 lines · Richard Purdie

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,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw
Quoted 9 lines · Martin Jansa
Quoted 7 lines · Phil Blundell
Quoted 2 lines · Richard Purdie

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.

Quoted 6 lines

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