recipetool: pass absolute source tree path to plugins

We shouldn't be passing a relative path to the plugins if that's what's
been specified on the recipetool command line.

(From OE-Core rev: 949067384c5166058ebc76f931cc492dad1db645)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Paul Eggleton
2017-09-20 12:03:39 +12:00
committed by Richard Purdie
parent e94115bc08
commit 05d1e69956

View File

@@ -613,9 +613,9 @@ def create_recipe(args):
if args.src_subdir:
srcsubdir = os.path.join(srcsubdir, args.src_subdir)
srctree_use = os.path.join(srctree, args.src_subdir)
srctree_use = os.path.abspath(os.path.join(srctree, args.src_subdir))
else:
srctree_use = srctree
srctree_use = os.path.abspath(srctree)
if args.outfile and os.path.isdir(args.outfile):
outfile = None