summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-03-17 13:35:05 -0700
committerChris Larson <chris_larson@mentor.com>2010-03-19 10:36:13 -0700
commite0503768af714c4e8c7fc75e462d4e58e34042a7 (patch)
treeee1b84bbefafe244854789e19660065bc3ac5780 /classes
parent68710643f05c1127a2a30523d1f8de9c98e2bf3d (diff)
base.bbclass: Add note about base_path_relative
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/base.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 2f363127c6..09eb70989a 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -10,6 +10,7 @@ def base_path_join(a, *p):
path += '/' + b
return path
+# Note: Python 2.6+ has os.path.relpath, no need for this there
def base_path_relative(src, dest):
""" Return a relative path from src to dest.