bitbake.conf: Change WORKDIR to split by PN and version into seperate directories
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
@@ -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}"
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.
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_worksin 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]
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_worksin particular) and it seems to be an improvement in general.
Quoted 6 lines
Last time I was using
rm_old_workswithout this change
https://github.com/shr-distribution/meta-smartphone/commit/0d4c17de1ba7343d82bb10c311754e29d573c485I'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