summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-09-20 12:03:39 +1200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-11 12:14:26 +0000
commit05d1e6995697ff27ee719a386bd8ec92b9468374 (patch)
tree58bdf404c54af75a3320d3a3b83e62943c54fb9b
parente94115bc08654232931a525ae773de5e6f0e8ba5 (diff)
downloadpoky-05d1e6995697ff27ee719a386bd8ec92b9468374.tar.gz
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>
-rw-r--r--scripts/lib/recipetool/create.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py
index ca474fce99..1532735ab8 100644
--- a/scripts/lib/recipetool/create.py
+++ b/scripts/lib/recipetool/create.py
@@ -613,9 +613,9 @@ def create_recipe(args):
613 613
614 if args.src_subdir: 614 if args.src_subdir:
615 srcsubdir = os.path.join(srcsubdir, args.src_subdir) 615 srcsubdir = os.path.join(srcsubdir, args.src_subdir)
616 srctree_use = os.path.join(srctree, args.src_subdir) 616 srctree_use = os.path.abspath(os.path.join(srctree, args.src_subdir))
617 else: 617 else:
618 srctree_use = srctree 618 srctree_use = os.path.abspath(srctree)
619 619
620 if args.outfile and os.path.isdir(args.outfile): 620 if args.outfile and os.path.isdir(args.outfile):
621 outfile = None 621 outfile = None