diff options
-rw-r--r-- | meta/recipes-support/libunwind/libunwind.inc | 30 | ||||
-rw-r--r-- | meta/recipes-support/libunwind/libunwind_1.1.bb | 4 |
2 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc new file mode 100644 index 0000000000..b27b9e5994 --- /dev/null +++ b/meta/recipes-support/libunwind/libunwind.inc | |||
@@ -0,0 +1,30 @@ | |||
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 | |||
6 | SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz" | ||
7 | |||
8 | inherit autotools | ||
9 | |||
10 | PACKAGECONFIG ??= "" | ||
11 | PACKAGECONFIG[lzma] = "--enable-minidebuginfo,--disable-minidebuginfo,lzma" | ||
12 | |||
13 | EXTRA_OECONF_arm = "--enable-debug-frame" | ||
14 | |||
15 | CFLAGS += "${ATOMICOPS}" | ||
16 | ATOMICOPS_armv5 = "-DAO_USE_PTHREAD_DEFS=1" | ||
17 | ATOMICOPS_armv4 = "-DAO_USE_PTHREAD_DEFS=1" | ||
18 | ATOMICOPS ?= "" | ||
19 | |||
20 | LDFLAGS += "${LIBATOMICS}" | ||
21 | LIBATOMICS_armv5 = "-latomic_ops" | ||
22 | LIBATOMICS_armv4 = "-latomic_ops" | ||
23 | LIBATOMICS ?= "" | ||
24 | |||
25 | DEPENDS += "${DEPLIBATOMICS}" | ||
26 | DEPLIBATOMICS_armv5 = "libatomics-ops" | ||
27 | DEPLIBATOMICS_armv4 = "libatomics-ops" | ||
28 | DEPLIBATOMICS ?= "" | ||
29 | |||
30 | BBCLASSEXTEND = "native" | ||
diff --git a/meta/recipes-support/libunwind/libunwind_1.1.bb b/meta/recipes-support/libunwind/libunwind_1.1.bb new file mode 100644 index 0000000000..bc38e36440 --- /dev/null +++ b/meta/recipes-support/libunwind/libunwind_1.1.bb | |||
@@ -0,0 +1,4 @@ | |||
1 | require libunwind.inc | ||
2 | |||
3 | SRC_URI[md5sum] = "fb4ea2f6fbbe45bf032cd36e586883ce" | ||
4 | SRC_URI[sha256sum] = "9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a" | ||