diff options
author | Ross Burton <ross.burton@intel.com> | 2014-03-04 16:46:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-07 14:58:44 +0000 |
commit | baa8b031f2640a60467652625856529d9a57c6fb (patch) | |
tree | 447c44665ea6d5f1fb149312751022b715f08f62 /meta/recipes-devtools/gcc/gcc-cross-canadian.inc | |
parent | b4455d8c612df975c3f279486a29f6b5572e7f8c (diff) | |
download | poky-baa8b031f2640a60467652625856529d9a57c6fb.tar.gz |
gcc-cross: don't use oe.path.relative
Instead of using oe.path.relative, use the Python Standard Library function
os.path.relpath.
(From OE-Core rev: 90c3a0401c566e26d89a5c0410b2a51fe27b95b2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-canadian.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 2 |
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 = "\ | |||
95 | EXEEXT = "" | 95 | EXEEXT = "" |
96 | 96 | ||
97 | # Compute how to get from libexecdir to bindir in python (easier than shell) | 97 | # Compute how to get from libexecdir to bindir in python (easier than shell) |
98 | BINRELPATH = "${@oe.path.relative(d.expand("${libexecdir}/gcc/${TARGET_SYS}/${BINV}"), d.expand("${bindir}"))}" | 98 | BINRELPATH = "${@os.path.relpath(d.expand("${bindir}"), d.expand("${libexecdir}/gcc/${TARGET_SYS}/${BINV}"))}" |
99 | 99 | ||
100 | do_install () { | 100 | do_install () { |
101 | oe_runmake 'DESTDIR=${D}' install-host | 101 | oe_runmake 'DESTDIR=${D}' install-host |