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 165230b15f..27ebcf6485 100644
--- a/meta/recipes-devtools/gcc/gcc-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross.inc
@@ -41,7 +41,7 @@ do_compile () {
41 export CXXFLAGS_FOR_TARGET="${TARGET_CXXFLAGS}" 41 export CXXFLAGS_FOR_TARGET="${TARGET_CXXFLAGS}"
42 export LDFLAGS_FOR_TARGET="${TARGET_LDFLAGS}" 42 export LDFLAGS_FOR_TARGET="${TARGET_LDFLAGS}"
43 43
44 oe_runmake all-host all-target-libgcc 44 oe_runmake all-host configure-target-libgcc
45 # now generate script to drive testing 45 # now generate script to drive testing
46 echo "#!/usr/bin/env sh" >${B}/${TARGET_PREFIX}testgcc 46 echo "#!/usr/bin/env sh" >${B}/${TARGET_PREFIX}testgcc
47 set >> ${B}/${TARGET_PREFIX}testgcc 47 set >> ${B}/${TARGET_PREFIX}testgcc
@@ -141,6 +141,7 @@ INHIBIT_PACKAGE_STRIP = "1"
141BINRELPATH = "${@os.path.relpath(d.expand("${STAGING_DIR_NATIVE}${prefix_native}/bin/${MULTIMACH_TARGET_SYS}"), d.expand("${libexecdir}/gcc/${TARGET_SYS}/${BINV}"))}" 141BINRELPATH = "${@os.path.relpath(d.expand("${STAGING_DIR_NATIVE}${prefix_native}/bin/${MULTIMACH_TARGET_SYS}"), d.expand("${libexecdir}/gcc/${TARGET_SYS}/${BINV}"))}"
142 142
143do_install () { 143do_install () {
144 ( cd ${B}/${TARGET_SYS}/libgcc; oe_runmake 'DESTDIR=${D}' install-unwind_h )
144 oe_runmake 'DESTDIR=${D}' install-host 145 oe_runmake 'DESTDIR=${D}' install-host
145 146
146 install -d ${D}${target_base_libdir} 147 install -d ${D}${target_base_libdir}