diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-03-05 19:00:26 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-03-06 18:47:10 -0800 |
commit | e337dcc00b1fd7bb05703e010dfc7f697e75825d (patch) | |
tree | ea3e34e8c5d65306ffaced1b65a751eaff3c2b6c /meta-oe/recipes-extended | |
parent | 07a5c027e04a92b91839c93ad8e6acca87e99d84 (diff) | |
download | meta-openembedded-e337dcc00b1fd7bb05703e010dfc7f697e75825d.tar.gz |
libbacktrace: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r-- | meta-oe/recipes-extended/libbacktrace/libbacktrace_git.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/libbacktrace/libbacktrace_git.bb b/meta-oe/recipes-extended/libbacktrace/libbacktrace_git.bb new file mode 100644 index 000000000..1f3cb97c1 --- /dev/null +++ b/meta-oe/recipes-extended/libbacktrace/libbacktrace_git.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | # Copyright (C) 2021 Khem Raj <raj.khem@gmail.com> | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | SUMMARY = "A C library that may be linked into a C/C++ program to produce symbolic backtraces" | ||
5 | HOMEPAGE = "https://github.com/ianlancetaylor/libbacktrace" | ||
6 | LICENSE = "BSD-3-Clause" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=24b5b3feec63c4be0975e1fea5100440" | ||
8 | |||
9 | DEPENDS += "libunwind" | ||
10 | |||
11 | SRC_URI = "git://github.com/ianlancetaylor/libbacktrace;protocol=https" | ||
12 | |||
13 | PV = "1.0+git${SRCPV}" | ||
14 | SRCREV = "4f57c999716847e45505b3df170150876b545088" | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | inherit autotools | ||
19 | |||
20 | EXTR_OECONF += "--with-system-libunwind" | ||
21 | |||
22 | CFLAGS += "-fPIC" | ||
23 | |||
24 | do_configure() { | ||
25 | oe_runconf | ||
26 | } | ||
27 | |||
28 | # libunwind does not support RISCV yet | ||
29 | COMPATIBLE_HOST_riscv64 = "null" | ||
30 | COMPATIBLE_HOST_riscv32 = "null" | ||