Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | require libgcc-common.inc |
| 2 | |
| 3 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" |
| 4 | |
| 5 | PACKAGES = "\ |
| 6 | ${PN} \ |
| 7 | ${PN}-dev \ |
| 8 | ${PN}-dbg \ |
| 9 | " |
| 10 | |
| 11 | # All libgcc source is marked with the exception. |
| 12 | # |
| 13 | LICENSE_${PN} = "GPL-3.0-with-GCC-exception" |
| 14 | LICENSE_${PN}-dev = "GPL-3.0-with-GCC-exception" |
| 15 | LICENSE_${PN}-dbg = "GPL-3.0-with-GCC-exception" |
| 16 | |
| 17 | |
| 18 | FILES_${PN} = "${base_libdir}/libgcc*.so.*" |
| 19 | FILES_${PN}-dev = "\ |
| 20 | ${base_libdir}/libgcc*.so \ |
| 21 | ${libdir}/${TARGET_SYS}/${BINV}/*crt* \ |
| 22 | ${libdir}/${TARGET_SYS}/${BINV}/64 \ |
| 23 | ${libdir}/${TARGET_SYS}/${BINV}/32 \ |
| 24 | ${libdir}/${TARGET_SYS}/${BINV}/x32 \ |
| 25 | ${libdir}/${TARGET_SYS}/${BINV}/n32 \ |
| 26 | ${libdir}/${TARGET_SYS}/${BINV}/libgcc* \ |
| 27 | ${@base_conditional('BASETARGET_SYS', '${TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \ |
| 28 | ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \ |
| 29 | " |
| 30 | |
| 31 | FILES_${PN}-dbg += "${base_libdir}/.debug/" |
| 32 | |
| 33 | LIBGCCBUILDTREENAME = "gcc-build-internal-" |
| 34 | |
| 35 | do_package[depends] += "virtual/${MLPREFIX}libc:do_packagedata" |
| 36 | do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata" |
| 37 | do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata" |
| 38 | do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_packagedata" |
| 39 | |
| 40 | INSANE_SKIP_${PN}-dev = "staticdev" |
| 41 | |