summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/gcc/gcc-4.3.0.inc2
-rw-r--r--meta/packages/gcc/gcc-configure-cross.inc6
-rw-r--r--meta/packages/gcc/gcc-cross_4.3.0.bb2
-rw-r--r--meta/packages/gcc/gcc-package-cross.inc6
4 files changed, 11 insertions, 5 deletions
diff --git a/meta/packages/gcc/gcc-4.3.0.inc b/meta/packages/gcc/gcc-4.3.0.inc
index 02ceea7364..96b7d02501 100644
--- a/meta/packages/gcc/gcc-4.3.0.inc
+++ b/meta/packages/gcc/gcc-4.3.0.inc
@@ -67,5 +67,5 @@ SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 "
67FORTRAN = "" 67FORTRAN = ""
68JAVA = "" 68JAVA = ""
69 69
70EXTRA_OECONF_BASE = " --disable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap" 70EXTRA_OECONF_BASE = " --enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap"
71 71
diff --git a/meta/packages/gcc/gcc-configure-cross.inc b/meta/packages/gcc/gcc-configure-cross.inc
index 13c76f976d..68b8fd1ccf 100644
--- a/meta/packages/gcc/gcc-configure-cross.inc
+++ b/meta/packages/gcc/gcc-configure-cross.inc
@@ -49,8 +49,10 @@ do_stage_append () {
49 done 49 done
50 50
51 #fix up libsupc++ and libstdc++ la files 51 #fix up libsupc++ and libstdc++ la files
52 sed -i "s|dependency_libs\s*=\s*.*|dependency_libs='-L${CROSS_DIR}/${TARGET_SYS}/lib ${LIBGCCS_VAR} -lc -lm '|" ${CROSS_DIR}/${TARGET_SYS}/lib/libsupc++.la || true 52 for d in lib lib/nof; do
53 sed -i "s|dependency_libs\s*=\s*.*|dependency_libs='-L${CROSS_DIR}/${TARGET_SYS}/lib ${LIBGCCS_VAR} -lc -lm '|" ${CROSS_DIR}/${TARGET_SYS}/lib/libstdc++.la || true 53 sed -i "s|dependency_libs\s*=\s*.*|dependency_libs='-L${CROSS_DIR}/${TARGET_SYS}/$d ${LIBGCCS_VAR} -lc -lm '|" ${CROSS_DIR}/${TARGET_SYS}/$d/libsupc++.la || true
54 sed -i "s|dependency_libs\s*=\s*.*|dependency_libs='-L${CROSS_DIR}/${TARGET_SYS}/$d ${LIBGCCS_VAR} -lc -lm '|" ${CROSS_DIR}/${TARGET_SYS}/$d/libstdc++.la || true
55 done
54} 56}
55 57
56do_package_write_ipk[depends] += "virtual/libc:do_package" 58do_package_write_ipk[depends] += "virtual/libc:do_package"
diff --git a/meta/packages/gcc/gcc-cross_4.3.0.bb b/meta/packages/gcc/gcc-cross_4.3.0.bb
index f51e60ce13..9821d3cd83 100644
--- a/meta/packages/gcc/gcc-cross_4.3.0.bb
+++ b/meta/packages/gcc/gcc-cross_4.3.0.bb
@@ -1,4 +1,4 @@
1PR = "r4" 1PR = "r5"
2 2
3require gcc-${PV}.inc 3require gcc-${PV}.inc
4require gcc-cross4.inc 4require gcc-cross4.inc
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 ?= ""
2OLD_INHIBIT_PACKAGE_STRIP := "${INHIBIT_PACKAGE_STRIP}" 2OLD_INHIBIT_PACKAGE_STRIP := "${INHIBIT_PACKAGE_STRIP}"
3INHIBIT_PACKAGE_STRIP = "1" 3INHIBIT_PACKAGE_STRIP = "1"
4 4
5PACKAGES = "libgcc libstdc++ libg2c libgfortran" 5PACKAGES = "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
8FILES_libg2c = "${target_libdir}/libg2c.so.*" 8FILES_libg2c = "${target_libdir}/libg2c.so.*"
9 9
10FILES_libssp = "${target_libdir}/libssp.so.*"
11
10FILES_libgfortran = "${target_libdir}/libgfortran.so.*" 12FILES_libgfortran = "${target_libdir}/libgfortran.so.*"
11 13
12FILES_libgcc = "${target_base_libdir}/libgcc_s.so.1" 14FILES_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