summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libunwind
diff options
context:
space:
mode:
authorChong Lu <Chong.Lu@windriver.com>2014-09-08 12:58:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-10 11:33:22 +0100
commit9204cacefe37bec7a4d90b7f16a9734f57610921 (patch)
treefdfa31066a2c1bd2700fddd64ffd672dd58db2ad /meta/recipes-support/libunwind
parent69e7936b1b0cb4de62071f31e24b2cd2aa5f95b7 (diff)
downloadpoky-9204cacefe37bec7a4d90b7f16a9734f57610921.tar.gz
libunwind: add recipes
Add libunwind from meta-oe to oe-core, since perf depends on it. (From OE-Core rev: aefddc23eeda9b46c1bb3ac776c8bff15f89707c) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libunwind')
-rw-r--r--meta/recipes-support/libunwind/libunwind.inc30
-rw-r--r--meta/recipes-support/libunwind/libunwind_1.1.bb4
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 @@
1DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program"
2HOMEPAGE = "http://www.nongnu.org/libunwind"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3fced11d6df719b47505837a51c16ae5"
5
6SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
7
8inherit autotools
9
10PACKAGECONFIG ??= ""
11PACKAGECONFIG[lzma] = "--enable-minidebuginfo,--disable-minidebuginfo,lzma"
12
13EXTRA_OECONF_arm = "--enable-debug-frame"
14
15CFLAGS += "${ATOMICOPS}"
16ATOMICOPS_armv5 = "-DAO_USE_PTHREAD_DEFS=1"
17ATOMICOPS_armv4 = "-DAO_USE_PTHREAD_DEFS=1"
18ATOMICOPS ?= ""
19
20LDFLAGS += "${LIBATOMICS}"
21LIBATOMICS_armv5 = "-latomic_ops"
22LIBATOMICS_armv4 = "-latomic_ops"
23LIBATOMICS ?= ""
24
25DEPENDS += "${DEPLIBATOMICS}"
26DEPLIBATOMICS_armv5 = "libatomics-ops"
27DEPLIBATOMICS_armv4 = "libatomics-ops"
28DEPLIBATOMICS ?= ""
29
30BBCLASSEXTEND = "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 @@
1require libunwind.inc
2
3SRC_URI[md5sum] = "fb4ea2f6fbbe45bf032cd36e586883ce"
4SRC_URI[sha256sum] = "9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a"