diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/libgcc_4.5.1.bb')
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc_4.5.1.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/libgcc_4.5.1.bb b/meta/recipes-devtools/gcc/libgcc_4.5.1.bb new file mode 100644 index 0000000000..a99fdeffd4 --- /dev/null +++ b/meta/recipes-devtools/gcc/libgcc_4.5.1.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | require gcc-${PV}.inc | ||
2 | |||
3 | PR = "r0" | ||
4 | |||
5 | INHIBIT_DEFAULT_DEPS = "1" | ||
6 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" | ||
7 | |||
8 | PACKAGES = "\ | ||
9 | ${PN} \ | ||
10 | ${PN}-dev \ | ||
11 | " | ||
12 | |||
13 | FILES_${PN} = "${base_libdir}/libgcc*.so.*" | ||
14 | FILES_${PN}-dev = " \ | ||
15 | ${base_libdir}/libgcc*.so \ | ||
16 | ${libdir}/${TARGET_SYS}/${BINV}/crt* \ | ||
17 | ${libdir}/${TARGET_SYS}/${BINV}/libgcc*" | ||
18 | |||
19 | do_fetch[noexec] = "1" | ||
20 | do_unpack[noexec] = "1" | ||
21 | do_patch[noexec] = "1" | ||
22 | do_configure[noexec] = "1" | ||
23 | do_compile[noexec] = "1" | ||
24 | |||
25 | do_install () { | ||
26 | target=`echo ${MULTIMACH_TARGET_SYS} | sed -e s#-nativesdk##` | ||
27 | |||
28 | # Install libgcc from our gcc-cross saved data | ||
29 | install -d ${D}${base_libdir} ${D}${libdir} | ||
30 | cp -fpPR ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$target/* ${D} | ||
31 | |||
32 | # Move libgcc_s into /lib | ||
33 | mkdir -p ${D}${base_libdir} | ||
34 | if [ -f ${D}${libdir}/nof/libgcc_s.so ]; then | ||
35 | mv ${D}${libdir}/nof/libgcc* ${D}${base_libdir} | ||
36 | else | ||
37 | mv ${D}${libdir}/libgcc* ${D}${base_libdir} || true | ||
38 | fi | ||
39 | } | ||
40 | |||
41 | BBCLASSEXTEND = "nativesdk" | ||
42 | |||