as this will clear WORKDIR and create race conditions
across various handling tasks
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sourcedir = d.getVar("S")
builddir = d.getVar("B")
workdir = d.getVar("WORKDIR")
+ unpackdir = d.getVar("UNPACKDIR")
if sourcedir == workdir:
bb.fatal("Using S = ${WORKDIR} is no longer supported")
if builddir == workdir:
bb.fatal("Using B = ${WORKDIR} is no longer supported")
+ if unpackdir == workdir:
+ bb.fatal("Using UNPACKDIR = ${WORKDIR} is not supported")
if sourcedir[-1] == '/':
bb.warn("Recipe %s sets S variable with trailing slash '%s', remove it" % (d.getVar("PN"), d.getVar("S")))
if builddir[-1] == '/':