summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace_4.25.bb
diff options
context:
space:
mode:
authorRandy MacLeod <Randy.MacLeod@windriver.com>2019-01-11 22:00:51 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-14 11:35:56 +0000
commit6efdcaa5cd597cf90421ef785c9ccc89fd9f207e (patch)
tree7c38ad6c347d4d81a2a0441eef0b68c1ead66174 /meta/recipes-devtools/strace/strace_4.25.bb
parent8a0940eb503d7ff30ed21103c9e90efd533c3b83 (diff)
downloadpoky-6efdcaa5cd597cf90421ef785c9ccc89fd9f207e.tar.gz
strace: update from 4.25 to 4.26
Refresh patches using devtool. Update license since the main code is now covered by LGPL-2.1+ and the tests under GPL-2. Fix a MIPS build error with an upstream patch. (From OE-Core rev: 874c5d4cd4902545b0fb924d0313488521fb91e2) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/strace/strace_4.25.bb')
-rw-r--r--meta/recipes-devtools/strace/strace_4.25.bb56
1 files changed, 0 insertions, 56 deletions
diff --git a/meta/recipes-devtools/strace/strace_4.25.bb b/meta/recipes-devtools/strace/strace_4.25.bb
deleted file mode 100644
index 028aa71729..0000000000
--- a/meta/recipes-devtools/strace/strace_4.25.bb
+++ /dev/null
@@ -1,56 +0,0 @@
1SUMMARY = "System call tracing tool"
2HOMEPAGE = "http://strace.io"
3SECTION = "console/utils"
4LICENSE = "BSD"
5LIC_FILES_CHKSUM = "file://COPYING;md5=6ddb91734b9c705f3e87362e97e5f64b"
6
7SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
8 file://disable-git-version-gen.patch \
9 file://more-robust-test-for-m32-mx32-compile-support.patch \
10 file://update-gawk-paths.patch \
11 file://Makefile-ptest.patch \
12 file://run-ptest \
13 file://0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch \
14 file://mips-SIGEMT.patch \
15 file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \
16 file://0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch \
17 "
18SRC_URI[md5sum] = "fa5ac841e9ce6af133061822898d49a9"
19SRC_URI[sha256sum] = "d685f8e65470b7832c3aff60c57ab4459f26ff89f07c10f92bd70ee89efac701"
20
21inherit autotools ptest bluetooth
22
23PACKAGECONFIG_class-target ??= "\
24 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
25"
26
27PACKAGECONFIG[bluez] = "ac_cv_header_bluetooth_bluetooth_h=yes,ac_cv_header_bluetooth_bluetooth_h=no,${BLUEZ}"
28PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind"
29
30EXTRA_OECONF += "--enable-mpers=no"
31
32CFLAGS_append_libc-musl = " -Dsigcontext_struct=sigcontext"
33
34TESTDIR = "tests"
35PTEST_BUILD_HOST_PATTERN = "^(DEB_CHANGELOGTIME|RPM_CHANGELOGTIME|WARN_CFLAGS_FOR_BUILD|LDFLAGS_FOR_BUILD)"
36
37do_install_append() {
38 # We don't ship strace-graph here because it needs perl
39 rm ${D}${bindir}/strace-graph
40}
41
42do_compile_ptest() {
43 oe_runmake -C ${TESTDIR} buildtest-TESTS
44}
45
46do_install_ptest() {
47 oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR}
48 install -m 755 ${S}/test-driver ${D}${PTEST_PATH}
49 install -m 644 ${B}/config.h ${D}${PTEST_PATH}
50 sed -i -e '/^src/s/strace.*[1-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile
51}
52
53RDEPENDS_${PN}-ptest += "make coreutils grep gawk sed"
54
55BBCLASSEXTEND = "native"
56TOOLCHAIN = "gcc"