diff options
Diffstat (limited to 'meta/packages/gcc/gcc-package-cross.inc')
-rw-r--r-- | meta/packages/gcc/gcc-package-cross.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/packages/gcc/gcc-package-cross.inc b/meta/packages/gcc/gcc-package-cross.inc index 54294f4fa6..b95ef88e6f 100644 --- a/meta/packages/gcc/gcc-package-cross.inc +++ b/meta/packages/gcc/gcc-package-cross.inc | |||
@@ -2,11 +2,13 @@ INHIBIT_PACKAGE_STRIP ?= "" | |||
2 | OLD_INHIBIT_PACKAGE_STRIP := "${INHIBIT_PACKAGE_STRIP}" | 2 | OLD_INHIBIT_PACKAGE_STRIP := "${INHIBIT_PACKAGE_STRIP}" |
3 | INHIBIT_PACKAGE_STRIP = "1" | 3 | INHIBIT_PACKAGE_STRIP = "1" |
4 | 4 | ||
5 | PACKAGES = "libgcc libstdc++ libg2c libgfortran" | 5 | PACKAGES = "libgcc libssp libstdc++ libg2c libgfortran" |
6 | 6 | ||
7 | # Called from within gcc-cross, so libdir is set wrong | 7 | # Called from within gcc-cross, so libdir is set wrong |
8 | FILES_libg2c = "${target_libdir}/libg2c.so.*" | 8 | FILES_libg2c = "${target_libdir}/libg2c.so.*" |
9 | 9 | ||
10 | FILES_libssp = "${target_libdir}/libssp.so.*" | ||
11 | |||
10 | FILES_libgfortran = "${target_libdir}/libgfortran.so.*" | 12 | FILES_libgfortran = "${target_libdir}/libgfortran.so.*" |
11 | 13 | ||
12 | FILES_libgcc = "${target_base_libdir}/libgcc_s.so.1" | 14 | FILES_libgcc = "${target_base_libdir}/libgcc_s.so.1" |
@@ -40,11 +42,13 @@ do_install () { | |||
40 | mv -f ${D}${prefix}/*/lib/nof/libstdc++.so* ${D}${target_libdir} || true | 42 | mv -f ${D}${prefix}/*/lib/nof/libstdc++.so* ${D}${target_libdir} || true |
41 | mv -f ${D}${prefix}/*/lib/nof/libg2c.so* ${D}${target_libdir} || true | 43 | mv -f ${D}${prefix}/*/lib/nof/libg2c.so* ${D}${target_libdir} || true |
42 | mv -f ${D}${prefix}/*/lib/nof/libgfortran*.so* ${D}${target_libdir} || true | 44 | mv -f ${D}${prefix}/*/lib/nof/libgfortran*.so* ${D}${target_libdir} || true |
45 | mv -f ${D}${prefix}/*/lib/nof/libssp*.so* ${D}${target_libdir} || true | ||
43 | 46 | ||
44 | else | 47 | else |
45 | mv -f ${D}${prefix}/*/lib/libstdc++.so* ${D}${target_libdir} || true | 48 | mv -f ${D}${prefix}/*/lib/libstdc++.so* ${D}${target_libdir} || true |
46 | mv -f ${D}${prefix}/*/lib/libg2c.so* ${D}${target_libdir} || true | 49 | mv -f ${D}${prefix}/*/lib/libg2c.so* ${D}${target_libdir} || true |
47 | mv -f ${D}${prefix}/*/lib/libgfortran*.so* ${D}${target_libdir} || true | 50 | mv -f ${D}${prefix}/*/lib/libgfortran*.so* ${D}${target_libdir} || true |
51 | mv -f ${D}${prefix}/*/lib/libssp*.so* ${D}${target_libdir} || true | ||
48 | fi | 52 | fi |
49 | 53 | ||
50 | 54 | ||