git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6871064
)
base.bbclass: Add note about base_path_relative
author
Chris Larson
<chris_larson@mentor.com>
Wed, 17 Mar 2010 20:35:05 +0000
(13:35 -0700)
committer
Chris Larson
<chris_larson@mentor.com>
Fri, 19 Mar 2010 17:36:13 +0000
(10:36 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
classes/base.bbclass
patch
|
blob
|
history
diff --git
a/classes/base.bbclass
b/classes/base.bbclass
index
2f36312
..
09eb709
100644
(file)
--- 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.