diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2016-08-02 01:51:28 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-04 15:22:23 +0100 |
| commit | 46d59011cb29bb2b82217919df76b0bc7af7a0e2 (patch) | |
| tree | a6dd719b073402fc3ea4a4547abd29bd785fe71c /meta/recipes-devtools/strace/strace_4.13.bb | |
| parent | 7dbfe6f73d052e806240a8026fc6cc00b3082350 (diff) | |
| download | poky-46d59011cb29bb2b82217919df76b0bc7af7a0e2.tar.gz | |
strace: 4.12 -> 4.13
Updated Makefile-ptest.patch
(From OE-Core rev: 56d3ead9da83e1116c5c6e78441275e079e466b2)
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.13.bb')
| -rw-r--r-- | meta/recipes-devtools/strace/strace_4.13.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/recipes-devtools/strace/strace_4.13.bb b/meta/recipes-devtools/strace/strace_4.13.bb new file mode 100644 index 0000000000..1a576b3a04 --- /dev/null +++ b/meta/recipes-devtools/strace/strace_4.13.bb | |||
| @@ -0,0 +1,47 @@ | |||
| 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 | " | ||
| 16 | |||
| 17 | SRC_URI[md5sum] = "4b78c7febdd24c79d5147824d1a080a3" | ||
| 18 | SRC_URI[sha256sum] = "d48f732576c91ece36a5843d63f9be054c40ef59f1e4773986042636861625d7" | ||
| 19 | |||
| 20 | inherit autotools ptest bluetooth | ||
| 21 | |||
| 22 | RDEPENDS_${PN}-ptest += "make coreutils grep gawk sed" | ||
| 23 | |||
| 24 | PACKAGECONFIG_class-target ??= "\ | ||
| 25 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ | ||
| 26 | " | ||
| 27 | |||
| 28 | PACKAGECONFIG[bluez] = "ac_cv_header_bluetooth_bluetooth_h=yes,ac_cv_header_bluetooth_bluetooth_h=no,${BLUEZ}" | ||
| 29 | PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind" | ||
| 30 | |||
| 31 | TESTDIR = "tests" | ||
| 32 | |||
| 33 | do_install_append() { | ||
| 34 | # We don't ship strace-graph here because it needs perl | ||
| 35 | rm ${D}${bindir}/strace-graph | ||
| 36 | } | ||
| 37 | |||
| 38 | do_compile_ptest() { | ||
| 39 | oe_runmake -C ${TESTDIR} buildtest-TESTS | ||
| 40 | } | ||
| 41 | |||
| 42 | do_install_ptest() { | ||
| 43 | oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR} | ||
| 44 | sed -i -e '/^src/s/strace.*[1-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile | ||
| 45 | } | ||
| 46 | |||
| 47 | BBCLASSEXTEND = "native" | ||
