summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/recipeutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py
index c8570acf9e..2f818bcbaa 100644
--- a/meta/lib/oe/recipeutils.py
+++ b/meta/lib/oe/recipeutils.py
@@ -801,7 +801,7 @@ def bbappend_recipe(rd, destlayerdir, srcfiles, install=None, wildcardver=False,
801 801
802def find_layerdir(fn): 802def find_layerdir(fn):
803 """ Figure out the path to the base of the layer containing a file (e.g. a recipe)""" 803 """ Figure out the path to the base of the layer containing a file (e.g. a recipe)"""
804 pth = fn 804 pth = os.path.abspath(fn)
805 layerdir = '' 805 layerdir = ''
806 while pth: 806 while pth:
807 if os.path.exists(os.path.join(pth, 'conf', 'layer.conf')): 807 if os.path.exists(os.path.join(pth, 'conf', 'layer.conf')):