summaryrefslogtreecommitdiff
path: root/poky/meta/lib/bblayers/buildconf.py
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/lib/bblayers/buildconf.py')
-rw-r--r--poky/meta/lib/bblayers/buildconf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poky/meta/lib/bblayers/buildconf.py b/poky/meta/lib/bblayers/buildconf.py
index e07fc534e1..ccab332adf 100644
--- a/poky/meta/lib/bblayers/buildconf.py
+++ b/poky/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])