diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-09-20 12:03:39 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-04 17:23:58 +0000 |
commit | 611e4b43d8c9ba361805beb6e69147adf57f558f (patch) | |
tree | 8c373a320b24b46998bab9e80956cdbc0cdd3b87 | |
parent | d4e3893e2d738d1aa1f1bc3ece24f746afed22f5 (diff) | |
download | poky-611e4b43d8c9ba361805beb6e69147adf57f558f.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: 821742f48723a66fdafe5406bb57188b2f88889a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | scripts/lib/recipetool/create.py | 4 |
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 |