This was never a good idea and would have mostly happened from S = WORKDIR however explictly disallow it and error if anyone tries.
Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> --- meta/classes-global/insane.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index eeef43d00e2..42ed1a24a74 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass @@ -1603,9 +1603,12 @@ python () { oe.qa.handle_error("uppercase-pn", 'PN: %s is upper case, this can result in unexpected behavior.' % pn, d) sourcedir = d.getVar("S") + builddir = d.getVar("B") workdir = d.getVar("WORKDIR") if sourcedir == workdir: bb.fatal("Using S = ${WORKDIR} is no longer supported") + if builddir == workdir: + bb.fatal("Using B = ${WORKDIR} is no longer supported") # Some people mistakenly use DEPENDS:${PN} instead of DEPENDS and wonder # why it doesn't work. -- 2.40.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#199780): https://lists.openembedded.org/g/openembedded-core/message/199780 Mute This Topic: https://lists.openembedded.org/mt/106258797/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-