blob: 95fa3f40b025bd221d6b990f63dafb182011251e [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
24FILES_${PN}-dbg += "${base_libdir}/.debug/"
25
26LIBGCCBUILDTREENAME = "gcc-build-internal-"
27
28do_package[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
29do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
30do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
31do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
32
33INSANE_SKIP_${PN}-dev = "staticdev"
34