summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-04-14 18:10:45 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-14 10:23:27 +0100
commit70f1fd06439fc0d340639cfe1e90ba8f4d9298fa (patch)
treeca86b04f28a6703d0c170e0223f551678b45cb71 /meta/recipes-devtools/gcc/gcc-cross-canadian.inc
parent89c12fc8de6b80e0e9add7f012553eb4e38dac7f (diff)
downloadpoky-70f1fd06439fc0d340639cfe1e90ba8f4d9298fa.tar.gz
gcc: Add recipes for gcc-7
Switch default compiler to gcc 7 (From OE-Core rev: 03bb12008891cf1a023aaddb6547da6d41d0cab0) Signed-off-by: Khem Raj <raj.khem@gmail.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.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index 91a6fa6994..6d77620dfa 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -60,6 +60,7 @@ do_configure () {
60 60
61do_compile () { 61do_compile () {
62 oe_runmake all-host configure-target-libgcc 62 oe_runmake all-host configure-target-libgcc
63 (cd ${B}/${TARGET_SYS}/libgcc; oe_runmake enable-execute-stack.c unwind.h md-unwind-support.h sfp-machine.h gthr-default.h)
63} 64}
64 65
65# Having anything auto depending on gcc-cross-sdk is a really bad idea... 66# Having anything auto depending on gcc-cross-sdk is a really bad idea...
@@ -96,7 +97,7 @@ EXEEXT = ""
96BINRELPATH = "${@os.path.relpath(d.expand("${bindir}"), d.expand("${libexecdir}/gcc/${TARGET_SYS}/${BINV}"))}" 97BINRELPATH = "${@os.path.relpath(d.expand("${bindir}"), d.expand("${libexecdir}/gcc/${TARGET_SYS}/${BINV}"))}"
97 98
98do_install () { 99do_install () {
99 ( cd ${B}/${TARGET_SYS}/libgcc; oe_runmake 'DESTDIR=${D}' install-unwind_h ) 100 ( cd ${B}/${TARGET_SYS}/libgcc; oe_runmake 'DESTDIR=${D}' install-unwind_h-forbuild install-unwind_h )
100 oe_runmake 'DESTDIR=${D}' install-host 101 oe_runmake 'DESTDIR=${D}' install-host
101 102
102 # Cleanup some of the ${libdir}{,exec}/gcc stuff ... 103 # Cleanup some of the ${libdir}{,exec}/gcc stuff ...