diff options
author | Chong Lu <Chong.Lu@windriver.com> | 2014-09-08 12:58:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-10 11:33:22 +0100 |
commit | 9204cacefe37bec7a4d90b7f16a9734f57610921 (patch) | |
tree | fdfa31066a2c1bd2700fddd64ffd672dd58db2ad /meta | |
parent | 69e7936b1b0cb4de62071f31e24b2cd2aa5f95b7 (diff) | |
download | poky-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')
-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" | ||