summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/uftrace/uftrace_0.8.3.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-09-06 11:50:16 -0700
committerKhem Raj <raj.khem@gmail.com>2018-09-09 10:46:29 -0700
commit973578148d343222e8a6a89076f515a4094a7844 (patch)
treed2c48d8a909271ddb226bc7b1c19a451321c4204 /meta-oe/recipes-devtools/uftrace/uftrace_0.8.3.bb
parent5cb9dae677066a0367a3eeef1953814d0c1fb6ca (diff)
downloadmeta-openembedded-973578148d343222e8a6a89076f515a4094a7844.tar.gz
uftrace: Upgrade to 0.8.3
* Deliberately provide a non existing path to with_elfutils so it does not copy libelf.so into its staged install and become a provider for that library while elfutils should be the legit provider and this package should just list it in its rdeps * Fix build with musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/uftrace/uftrace_0.8.3.bb')
-rw-r--r--meta-oe/recipes-devtools/uftrace/uftrace_0.8.3.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/uftrace/uftrace_0.8.3.bb b/meta-oe/recipes-devtools/uftrace/uftrace_0.8.3.bb
new file mode 100644
index 0000000000..e377a5c9d5
--- /dev/null
+++ b/meta-oe/recipes-devtools/uftrace/uftrace_0.8.3.bb
@@ -0,0 +1,35 @@
1SUMMARY = "Trace and analyze execution of a program written in C/C++"
2HOMEPAGE = "https://github.com/namhyung/uftrace"
3BUGTRACKER = "https://github.com/namhyung/uftrace/issues"
4SECTION = "devel"
5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
7
8DEPENDS = "elfutils"
9DEPENDS_append_libc-musl = " argp-standalone"
10
11inherit autotools
12
13# v0.8.3
14SRCREV = "8b723a6fae2ef30495cd6279774fba9c95cd9c88"
15SRC_URI = "git://github.com/namhyung/${BPN} \
16 file://0001-include-dlfcn.h-for-RTLD_DEFAULT.patch \
17 "
18S = "${WORKDIR}/git"
19
20LDFLAGS_append_libc-musl = " -largp"
21EXTRA_UFTRACE_OECONF = "ARCH=${TARGET_ARCH} \
22 with_elfutils=/use/libelf/from/sysroot"
23
24do_configure() {
25 ${S}/configure ${EXTRA_UFTRACE_OECONF}
26}
27
28FILES_SOLIBSDEV = ""
29FILES_${PN} += "${libdir}/*.so"
30
31COMPATIBLE_HOST = "(x86_64|aarch64|arm)"
32
33# uftrace supports armv6 and above
34COMPATIBLE_HOST_armv4 = 'null'
35COMPATIBLE_HOST_armv5 = 'null'