diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-02-21 17:44:26 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-01 23:27:06 +0000 |
commit | 1242c7eae70f8d745e50b7414d32c0e0f599d6a8 (patch) | |
tree | 0d9b33bb893d46e7563c5000e16c6c93e168d810 /meta/recipes-devtools/strace/strace_4.16.bb | |
parent | 9b175c060276926d31ae358dac0ad7b30229482c (diff) | |
download | poky-1242c7eae70f8d745e50b7414d32c0e0f599d6a8.tar.gz |
strace: 4.15 -> 4.16
* The license cheksum is changed becuase a new line is added:
Copyright (C) 2001-2017 The strace developers.
* Remove use-asm-sgidefs.h.patch, it doesn't check sgidefs.h any more, it was
use for building on mips, I checked it built well.
* Update Makefile-ptest.patch and disable-git-version-gen.patch.
(From OE-Core rev: 204e0e9916f6acfa02d7a49bf5e33678abb0578d)
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.16.bb')
-rw-r--r-- | meta/recipes-devtools/strace/strace_4.16.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-devtools/strace/strace_4.16.bb b/meta/recipes-devtools/strace/strace_4.16.bb new file mode 100644 index 0000000000..b6cd2ac9b9 --- /dev/null +++ b/meta/recipes-devtools/strace/strace_4.16.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=488acb3aaaf5d14a2e1a852d13668a70" | ||
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://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 | " | ||
17 | |||
18 | SRC_URI[md5sum] = "2873366cac98770efcbed6e748d5ef23" | ||
19 | SRC_URI[sha256sum] = "98487cb5178ec1259986cc9f6e2a844f50e5d1208c112cc22431a1e4d9adf0ef" | ||
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" | ||