diff options
Diffstat (limited to 'toolchain-layer/recipes-devtools/gcc/libgcc_4.5.bb')
-rw-r--r-- | toolchain-layer/recipes-devtools/gcc/libgcc_4.5.bb | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/toolchain-layer/recipes-devtools/gcc/libgcc_4.5.bb b/toolchain-layer/recipes-devtools/gcc/libgcc_4.5.bb deleted file mode 100644 index 3f63931d8..000000000 --- a/toolchain-layer/recipes-devtools/gcc/libgcc_4.5.bb +++ /dev/null | |||
@@ -1,71 +0,0 @@ | |||
1 | require recipes-devtools/gcc/gcc-${PV}.inc | ||
2 | |||
3 | INHIBIT_DEFAULT_DEPS = "1" | ||
4 | |||
5 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" | ||
6 | |||
7 | PKGSUFFIX = "" | ||
8 | PKGSUFFIX_virtclass-nativesdk = "-nativesdk" | ||
9 | |||
10 | PACKAGES = "\ | ||
11 | ${PN} \ | ||
12 | ${PN}-dev \ | ||
13 | ${PN}-dbg \ | ||
14 | libgcov${PKGSUFFIX}-dev \ | ||
15 | " | ||
16 | |||
17 | FILES_${PN} = "${base_libdir}/libgcc*.so.*" | ||
18 | FILES_${PN}-dev = " \ | ||
19 | ${base_libdir}/libgcc*.so \ | ||
20 | ${libdir}/${TARGET_SYS}/${BINV}/crt* \ | ||
21 | ${libdir}/${TARGET_SYS}/${BINV}/libgcc*" | ||
22 | FILES_libgcov${PKGSUFFIX}-dev = " \ | ||
23 | ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \ | ||
24 | " | ||
25 | FILES_${PN}-dbg += "${base_libdir}/.debug/" | ||
26 | |||
27 | do_configure () { | ||
28 | target=`echo ${MULTIMACH_TARGET_SYS} | sed -e s#-nativesdk##` | ||
29 | install -d ${D}${base_libdir} ${D}${libdir} | ||
30 | cp -fpPR ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$target/* ${B} | ||
31 | mkdir -p ${B}/${BPN} | ||
32 | cd ${B}/${BPN} | ||
33 | chmod a+x ${S}/${BPN}/configure | ||
34 | ${S}/${BPN}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} | ||
35 | } | ||
36 | |||
37 | do_compile () { | ||
38 | target=`echo ${TARGET_SYS} | sed -e s#-nativesdk##` | ||
39 | cd ${B}/${BPN} | ||
40 | oe_runmake MULTIBUILDTOP=${B}/$target/${BPN}/ | ||
41 | } | ||
42 | |||
43 | do_install () { | ||
44 | target=`echo ${TARGET_SYS} | sed -e s#-nativesdk##` | ||
45 | cd ${B}/${BPN} | ||
46 | oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/$target/${BPN}/ install | ||
47 | |||
48 | # Move libgcc_s into /lib | ||
49 | mkdir -p ${D}${base_libdir} | ||
50 | if [ -f ${D}${libdir}/nof/libgcc_s.so ]; then | ||
51 | mv ${D}${libdir}/nof/libgcc* ${D}${base_libdir} | ||
52 | else | ||
53 | mv ${D}${libdir}/libgcc* ${D}${base_libdir} || true | ||
54 | fi | ||
55 | |||
56 | # install the runtime in /usr/lib/ not in /usr/lib/gcc on target | ||
57 | # so that cross-gcc can find it in the sysroot | ||
58 | |||
59 | mv ${D}${libdir}/gcc/* ${D}${libdir} | ||
60 | rm -rf ${D}${libdir}/gcc/ | ||
61 | } | ||
62 | |||
63 | do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_package" | ||
64 | do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_package" | ||
65 | do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_package" | ||
66 | |||
67 | BBCLASSEXTEND = "nativesdk" | ||
68 | |||
69 | INSANE_SKIP_${PN}-dev = "staticdev" | ||
70 | INSANE_SKIP_libgcov${PKGSUFFIX}-dev = "staticdev" | ||
71 | |||