xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-support/libunwind/libunwind.inc (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "Library for obtaining the call-chain of a program"
2DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program"
3HOMEPAGE = "http://www.nongnu.org/libunwind"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=2d80c8ed4062b8339b715f90fa68cc9f"
6DEPENDS += "libatomic-ops"
7DEPENDS:append:libc-musl = " libucontext"
8
9inherit autotools multilib_header
10
11PACKAGECONFIG ??= ""
12PACKAGECONFIG[lzma] = "--enable-minidebuginfo,--disable-minidebuginfo,xz"
13PACKAGECONFIG[latexdocs] = "--enable-documentation, --disable-documentation, latex2man-native"
14
15EXTRA_OECONF:arm = "--enable-debug-frame"
16EXTRA_OECONF:armeb = "--enable-debug-frame"
17EXTRA_OECONF:aarch64 = "--enable-debug-frame"
18
19do_install:append () {
20	oe_multilib_header libunwind.h
21}
22
23BBCLASSEXTEND = "native"
24