summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-cross.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.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.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc
index 45985c3847..b08bc197ba 100644
--- a/meta/recipes-devtools/gcc/gcc-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross.inc
@@ -57,6 +57,7 @@ do_compile () {
57 export LDFLAGS_FOR_TARGET="${TARGET_LDFLAGS}" 57 export LDFLAGS_FOR_TARGET="${TARGET_LDFLAGS}"
58 58
59 oe_runmake all-host configure-target-libgcc 59 oe_runmake all-host configure-target-libgcc
60 (cd ${B}/${TARGET_SYS}/libgcc; oe_runmake enable-execute-stack.c unwind.h md-unwind-support.h sfp-machine.h gthr-default.h)
60 # now generate script to drive testing 61 # now generate script to drive testing
61 echo "#!/usr/bin/env sh" >${B}/${TARGET_PREFIX}testgcc 62 echo "#!/usr/bin/env sh" >${B}/${TARGET_PREFIX}testgcc
62 set >> ${B}/${TARGET_PREFIX}testgcc 63 set >> ${B}/${TARGET_PREFIX}testgcc
@@ -155,7 +156,7 @@ INHIBIT_PACKAGE_STRIP = "1"
155BINRELPATH = "${@os.path.relpath(d.expand("${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_SYS}"), d.expand("${libexecdir}/gcc/${TARGET_SYS}/${BINV}"))}" 156BINRELPATH = "${@os.path.relpath(d.expand("${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_SYS}"), d.expand("${libexecdir}/gcc/${TARGET_SYS}/${BINV}"))}"
156 157
157do_install () { 158do_install () {
158 ( cd ${B}/${TARGET_SYS}/libgcc; oe_runmake 'DESTDIR=${D}' install-unwind_h ) 159 ( cd ${B}/${TARGET_SYS}/libgcc; oe_runmake 'DESTDIR=${D}' install-unwind_h-forbuild install-unwind_h )
159 oe_runmake 'DESTDIR=${D}' install-host 160 oe_runmake 'DESTDIR=${D}' install-host
160 161
161 install -d ${D}${target_base_libdir} 162 install -d ${D}${target_base_libdir}