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 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 18 | FILES_${PN}-dev = "\ |
| 19 | ${base_libdir}/libgcc*.so \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 20 | ${@base_conditional('BASETARGET_SYS', '${TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \ |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 21 | ${libdir}/${TARGET_SYS}/${BINV}* \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | " |
| 23 | |
| 24 | FILES_${PN}-dbg += "${base_libdir}/.debug/" |
| 25 | |
| 26 | LIBGCCBUILDTREENAME = "gcc-build-internal-" |
| 27 | |
| 28 | do_package[depends] += "virtual/${MLPREFIX}libc:do_packagedata" |
| 29 | do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata" |
| 30 | do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata" |
| 31 | do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_packagedata" |
| 32 | |
| 33 | INSANE_SKIP_${PN}-dev = "staticdev" |
| 34 | |