diff options
| author | Khem Raj <raj.khem@gmail.com> | 2018-09-06 11:50:16 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2018-09-09 10:46:29 -0700 |
| commit | 973578148d343222e8a6a89076f515a4094a7844 (patch) | |
| tree | d2c48d8a909271ddb226bc7b1c19a451321c4204 /meta-oe/recipes-devtools/uftrace/uftrace_0.8.3.bb | |
| parent | 5cb9dae677066a0367a3eeef1953814d0c1fb6ca (diff) | |
| download | meta-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.bb | 35 |
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 @@ | |||
| 1 | SUMMARY = "Trace and analyze execution of a program written in C/C++" | ||
| 2 | HOMEPAGE = "https://github.com/namhyung/uftrace" | ||
| 3 | BUGTRACKER = "https://github.com/namhyung/uftrace/issues" | ||
| 4 | SECTION = "devel" | ||
| 5 | LICENSE = "GPLv2" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
| 7 | |||
| 8 | DEPENDS = "elfutils" | ||
| 9 | DEPENDS_append_libc-musl = " argp-standalone" | ||
| 10 | |||
| 11 | inherit autotools | ||
| 12 | |||
| 13 | # v0.8.3 | ||
| 14 | SRCREV = "8b723a6fae2ef30495cd6279774fba9c95cd9c88" | ||
| 15 | SRC_URI = "git://github.com/namhyung/${BPN} \ | ||
| 16 | file://0001-include-dlfcn.h-for-RTLD_DEFAULT.patch \ | ||
| 17 | " | ||
| 18 | S = "${WORKDIR}/git" | ||
| 19 | |||
| 20 | LDFLAGS_append_libc-musl = " -largp" | ||
| 21 | EXTRA_UFTRACE_OECONF = "ARCH=${TARGET_ARCH} \ | ||
| 22 | with_elfutils=/use/libelf/from/sysroot" | ||
| 23 | |||
| 24 | do_configure() { | ||
| 25 | ${S}/configure ${EXTRA_UFTRACE_OECONF} | ||
| 26 | } | ||
| 27 | |||
| 28 | FILES_SOLIBSDEV = "" | ||
| 29 | FILES_${PN} += "${libdir}/*.so" | ||
| 30 | |||
| 31 | COMPATIBLE_HOST = "(x86_64|aarch64|arm)" | ||
| 32 | |||
| 33 | # uftrace supports armv6 and above | ||
| 34 | COMPATIBLE_HOST_armv4 = 'null' | ||
| 35 | COMPATIBLE_HOST_armv5 = 'null' | ||
