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