summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-03-04 16:46:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-07 14:55:26 +0000
commit90c3a0401c566e26d89a5c0410b2a51fe27b95b2 (patch)
treea4a59cbdaaaa9a3e95e1b3f155cbbd17ccfe7869 /meta/recipes-devtools/gcc/gcc-cross-canadian.inc
parent1a03cd16401d2926bba902ffc5df30911b5c9394 (diff)
downloadopenembedded-core-90c3a0401c566e26d89a5c0410b2a51fe27b95b2.tar.gz
openembedded-core-90c3a0401c566e26d89a5c0410b2a51fe27b95b2.tar.bz2
openembedded-core-90c3a0401c566e26d89a5c0410b2a51fe27b95b2.zip
gcc-cross: don't use oe.path.relative
Instead of using oe.path.relative, use the Python Standard Library function os.path.relpath. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-canadian.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index 477f499276..8d979b1144 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -95,7 +95,7 @@ FILES_${PN}-doc = "\
EXEEXT = ""
# Compute how to get from libexecdir to bindir in python (easier than shell)
-BINRELPATH = "${@oe.path.relative(d.expand("${libexecdir}/gcc/${TARGET_SYS}/${BINV}"), d.expand("${bindir}"))}"
+BINRELPATH = "${@os.path.relpath(d.expand("${bindir}"), d.expand("${libexecdir}/gcc/${TARGET_SYS}/${BINV}"))}"
do_install () {
oe_runmake 'DESTDIR=${D}' install-host