blob: 68377869ca8c8d19ead0c7fa232863fbeb2d7c4c [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001require libgcc-common.inc
2
3DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
4
5PACKAGES = "\
6 ${PN} \
7 ${PN}-dev \
8 ${PN}-dbg \
9"
10
11# All libgcc source is marked with the exception.
12#
13LICENSE_${PN} = "GPL-3.0-with-GCC-exception"
14LICENSE_${PN}-dev = "GPL-3.0-with-GCC-exception"
15LICENSE_${PN}-dbg = "GPL-3.0-with-GCC-exception"
16
17
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018FILES_${PN}-dev = "\
19 ${base_libdir}/libgcc*.so \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020 ${@base_conditional('BASETARGET_SYS', '${TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \
Patrick Williamsf1e5d692016-03-30 15:21:19 -050021 ${libdir}/${TARGET_SYS}/${BINV}* \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022"
23
Patrick Williamsc124f4f2015-09-15 14:41:29 -050024LIBGCCBUILDTREENAME = "gcc-build-internal-"
25
26do_package[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
27do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
28do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
29do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
30
31INSANE_SKIP_${PN}-dev = "staticdev"
32