diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-oe/recipes-support/libunwind | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-support/libunwind')
-rw-r--r-- | meta-oe/recipes-support/libunwind/libunwind.inc | 32 | ||||
-rw-r--r-- | meta-oe/recipes-support/libunwind/libunwind_1.1.bb | 4 |
2 files changed, 36 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libunwind/libunwind.inc b/meta-oe/recipes-support/libunwind/libunwind.inc new file mode 100644 index 0000000000..a70ec2ed90 --- /dev/null +++ b/meta-oe/recipes-support/libunwind/libunwind.inc | |||
@@ -0,0 +1,32 @@ | |||
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 = "http://download.savannah.nongnu.org/releases/${BPN}/${BPN}-${PV}.tar.gz" | ||
7 | |||
8 | MIRRORS += "http://download.savannah.nongnu.org/releases/ http://download-mirror.savannah.gnu.org/releases/ \n" | ||
9 | |||
10 | inherit autotools | ||
11 | |||
12 | PACKAGECONFIG ??= "" | ||
13 | PACKAGECONFIG[lzma] = "--enable-minidebuginfo,--disable-minidebuginfo,lzma" | ||
14 | |||
15 | EXTRA_OECONF_arm = "--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 += "${LIBATOMICS}" | ||
23 | LIBATOMICS_armv5 = "-latomic_ops" | ||
24 | LIBATOMICS_armv4 = "-latomic_ops" | ||
25 | LIBATOMICS ?= "" | ||
26 | |||
27 | DEPENDS += "${DEPLIBATOMICS}" | ||
28 | DEPLIBATOMICS_armv5 = "libatomics-ops" | ||
29 | DEPLIBATOMICS_armv4 = "libatomics-ops" | ||
30 | DEPLIBATOMICS ?= "" | ||
31 | |||
32 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-oe/recipes-support/libunwind/libunwind_1.1.bb b/meta-oe/recipes-support/libunwind/libunwind_1.1.bb new file mode 100644 index 0000000000..bc38e36440 --- /dev/null +++ b/meta-oe/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" | ||