diff options
author | Adrian Freihofer <adrian.freihofer@gmail.com> | 2022-10-14 08:52:47 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2022-11-04 09:16:52 -1000 |
commit | 803975aff35c9423f4bde4c0201d0f61242389e0 (patch) | |
tree | fe6431abd5c81c2ecc2056a7f2ab1448be7616c8 | |
parent | 4814d5d8e7ff674ca812048c54f2f3e74ba35000 (diff) | |
download | openembedded-core-803975aff35c9423f4bde4c0201d0f61242389e0.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.
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit e0d45bcd34311ae248bac9378f46962198d148ef)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/lib/bblayers/buildconf.py | 2 |
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-{}""" oecore = None for l in layers: - if l[0] == os.path.abspath(args.layerpath): + if os.path.abspath(l[0]) == os.path.abspath(args.layerpath): targetlayer = l[0] if l[1] == 'meta': oecore = os.path.dirname(l[0]) |