Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program" |
| 2 | HOMEPAGE = "http://www.nongnu.org/libunwind" |
| 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3fced11d6df719b47505837a51c16ae5" |
| 5 | DEPENDS += "libatomic-ops" |
| 6 | |
| 7 | SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz" |
| 8 | |
| 9 | inherit autotools |
| 10 | |
| 11 | PACKAGECONFIG ??= "" |
| 12 | PACKAGECONFIG[lzma] = "--enable-minidebuginfo,--disable-minidebuginfo,xz" |
| 13 | |
| 14 | EXTRA_OECONF_arm = "--enable-debug-frame" |
| 15 | EXTRA_OECONF_aarch64 = "--enable-debug-frame" |
| 16 | |
| 17 | CFLAGS += "${ATOMICOPS}" |
| 18 | ATOMICOPS_armv5 = "-DAO_USE_PTHREAD_DEFS=1" |
| 19 | ATOMICOPS_armv4 = "-DAO_USE_PTHREAD_DEFS=1" |
| 20 | ATOMICOPS ?= "" |
| 21 | |
| 22 | LDFLAGS_append_x86 = " -fuse-ld=gold" |
| 23 | LDFLAGS_append_x86-64 = " -fuse-ld=gold" |
| 24 | |
| 25 | LDFLAGS_append_arm = " -fuse-ld=gold" |
| 26 | LDFLAGS_append_aarch64 = " -fuse-ld=gold" |
| 27 | |
| 28 | LDFLAGS_append_powerpc = " -fuse-ld=gold" |
| 29 | LDFLAGS_append_powerpc64 = " -fuse-ld=gold" |
| 30 | |
| 31 | BBCLASSEXTEND = "native" |