diff options
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 2 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross.inc | 2 |
2 files changed, 2 insertions, 2 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 |
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc index 5c4319fb32..777c970217 100644 --- a/meta/recipes-devtools/gcc/gcc-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-cross.inc | |||
| @@ -138,7 +138,7 @@ STOP | |||
| 138 | INHIBIT_PACKAGE_STRIP = "1" | 138 | INHIBIT_PACKAGE_STRIP = "1" |
| 139 | 139 | ||
| 140 | # Compute how to get from libexecdir to bindir in python (easier than shell) | 140 | # Compute how to get from libexecdir to bindir in python (easier than shell) |
| 141 | BINRELPATH = "${@oe.path.relative(d.expand("${libexecdir}/gcc/${TARGET_SYS}/${BINV}"), d.expand("${STAGING_DIR_NATIVE}${prefix_native}/bin/${MULTIMACH_TARGET_SYS}"))}" | 141 | BINRELPATH = "${@os.path.relpath(d.expand("${STAGING_DIR_NATIVE}${prefix_native}/bin/${MULTIMACH_TARGET_SYS}"), d.expand("${libexecdir}/gcc/${TARGET_SYS}/${BINV}"))}" |
| 142 | 142 | ||
| 143 | do_install () { | 143 | do_install () { |
| 144 | oe_runmake 'DESTDIR=${D}' install-host | 144 | oe_runmake 'DESTDIR=${D}' install-host |
