summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-configure-cross.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc/gcc-configure-cross.inc')
-rw-r--r--meta/packages/gcc/gcc-configure-cross.inc29
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/packages/gcc/gcc-configure-cross.inc b/meta/packages/gcc/gcc-configure-cross.inc
index 8a47a45bc9..569d4b7a82 100644
--- a/meta/packages/gcc/gcc-configure-cross.inc
+++ b/meta/packages/gcc/gcc-configure-cross.inc
@@ -19,33 +19,4 @@ do_compile_prepend () {
19LIBGCCS_VAR = "-lgcc_s" 19LIBGCCS_VAR = "-lgcc_s"
20LIBGCCS_VAR_avr32 = "" 20LIBGCCS_VAR_avr32 = ""
21 21
22do_stage_append () {
23 for d in info man share/doc share/locale ; do
24 rm -rf ${CROSS_DIR}/$d
25 done
26
27 # We use libiberty from binutils
28 rm -f ${CROSS_DIR}/lib/libiberty.a
29
30 # We probably don't need these
31 rmdir ${CROSS_DIR}/include || :
32
33 # Move libssp into staging
34 install -d ${STAGING_DIR_TARGET}${target_base_libdir}/
35 mv ${CROSS_DIR}/${TARGET_SYS}/lib/libssp* ${STAGING_DIR_TARGET}${target_base_libdir}/ || true
36
37 # We don't really need to keep this around
38 # rm -rf ${CROSS_DIR}/share but leave java there
39 for d in share/man share/info;
40 do
41 rm -rf ${CROSS_DIR}/$d
42 done
43
44 #fix up libsupc++ and libstdc++ la files
45 for d in lib lib/nof; do
46 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
47 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
48 done
49}
50
51do_package_write_ipk[depends] += "virtual/libc:do_package" 22do_package_write_ipk[depends] += "virtual/libc:do_package"