summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-cross.inc
diff options
context:
space:
mode:
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}