diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-02-09 19:23:12 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 20:06:43 -0800 |
commit | d832aec0b93791512b3d4227c41d187760e0e2ff (patch) | |
tree | d93042516a28f8131ec8850d09aee4f7cdf30620 /meta/recipes-devtools/strace/strace_4.15.bb | |
parent | 7fd31fa226fca38232de099f8ad593be2fa250c0 (diff) | |
download | poky-d832aec0b93791512b3d4227c41d187760e0e2ff.tar.gz |
strace: 4.14 -> 4.15
(From OE-Core rev: e24a98f703472a3893e241601bc21a3bb0eb58e1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/strace/strace_4.15.bb')
-rw-r--r-- | meta/recipes-devtools/strace/strace_4.15.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-devtools/strace/strace_4.15.bb b/meta/recipes-devtools/strace/strace_4.15.bb new file mode 100644 index 0000000000..2b9d19a42b --- /dev/null +++ b/meta/recipes-devtools/strace/strace_4.15.bb | |||
@@ -0,0 +1,49 @@ | |||
1 | SUMMARY = "System call tracing tool" | ||
2 | HOMEPAGE = "http://strace.sourceforge.net" | ||
3 | SECTION = "console/utils" | ||
4 | LICENSE = "BSD" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=124500c21e856f0912df29295ba104c7" | ||
6 | |||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/strace/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://use-asm-sgidefs.h.patch \ | ||
12 | file://Makefile-ptest.patch \ | ||
13 | file://run-ptest \ | ||
14 | file://0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch \ | ||
15 | file://mips-SIGEMT.patch \ | ||
16 | " | ||
17 | |||
18 | SRC_URI[md5sum] = "1ff96209fec19914c920608ed0791864" | ||
19 | SRC_URI[sha256sum] = "c0cdc094d6141fd9dbf6aaad605142d651ae10998b660fda57fc61f7ad583ca9" | ||
20 | |||
21 | inherit autotools ptest bluetooth | ||
22 | |||
23 | RDEPENDS_${PN}-ptest += "make coreutils grep gawk sed" | ||
24 | |||
25 | PACKAGECONFIG_class-target ??= "\ | ||
26 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ | ||
27 | " | ||
28 | |||
29 | PACKAGECONFIG[bluez] = "ac_cv_header_bluetooth_bluetooth_h=yes,ac_cv_header_bluetooth_bluetooth_h=no,${BLUEZ}" | ||
30 | PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind" | ||
31 | |||
32 | TESTDIR = "tests" | ||
33 | |||
34 | do_install_append() { | ||
35 | # We don't ship strace-graph here because it needs perl | ||
36 | rm ${D}${bindir}/strace-graph | ||
37 | } | ||
38 | |||
39 | do_compile_ptest() { | ||
40 | oe_runmake -C ${TESTDIR} buildtest-TESTS | ||
41 | } | ||
42 | |||
43 | do_install_ptest() { | ||
44 | oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR} | ||
45 | sed -i -e '/^src/s/strace.*[1-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile | ||
46 | } | ||
47 | |||
48 | BBCLASSEXTEND = "native" | ||
49 | TOOLCHAIN = "gcc" | ||