summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorAdrian Freihofer <adrian.freihofer@gmail.com>2022-10-14 08:52:47 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-10-26 12:28:39 +0100
commit9537b02838c343f67921d65ecea29e7d72cf3261 (patch)
treef817b0f124d2aaa78f2ed19e20715de7f806182f /meta/lib
parent36b9f4f3d06f074a872146588350fdd7936ec7f8 (diff)
downloadpoky-9537b02838c343f67921d65ecea29e7d72cf3261.tar.gz
buildconf: compare abspath
We have something like ${TOPDIR}/../../poky/meta in the bblayers.conf file. This does not work without normalizing the path for comparison. (From OE-Core rev: e0d45bcd34311ae248bac9378f46962198d148ef) Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/bblayers/buildconf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/bblayers/buildconf.py b/meta/lib/bblayers/buildconf.py
index e07fc534e1..ccab332adf 100644
--- a/meta/lib/bblayers/buildconf.py
+++ b/meta/lib/bblayers/buildconf.py
@@ -64,7 +64,7 @@ TEMPLATECONF={} . {}/oe-init-build-env build-try-{}"""
64 oecore = None 64 oecore = None
65 65
66 for l in layers: 66 for l in layers:
67 if l[0] == os.path.abspath(args.layerpath): 67 if os.path.abspath(l[0]) == os.path.abspath(args.layerpath):
68 targetlayer = l[0] 68 targetlayer = l[0]
69 if l[1] == 'meta': 69 if l[1] == 'meta':
70 oecore = os.path.dirname(l[0]) 70 oecore = os.path.dirname(l[0])