diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-03-18 00:26:09 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-03-18 11:26:33 -0700 |
commit | 04e2f6b543c3f47a2b88256f7476d2eb746bf176 (patch) | |
tree | 557b8b960694817ae9436e5c2da1f82f07b3e342 /meta-oe/recipes-kernel/oprofile/oprofile.inc | |
parent | d19ffdf625a520cebc032b5f3f489c4542685c4d (diff) | |
download | meta-openembedded-04e2f6b543c3f47a2b88256f7476d2eb746bf176.tar.gz |
oprofile: Upgrade to 1.4.0 release
Drop upstreamed patches
Backport musl fix and deterministic build patches from master
Release notes - https://oprofile.sourceforge.io/release-notes/oprofile-1.4.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-kernel/oprofile/oprofile.inc')
-rw-r--r-- | meta-oe/recipes-kernel/oprofile/oprofile.inc | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/meta-oe/recipes-kernel/oprofile/oprofile.inc b/meta-oe/recipes-kernel/oprofile/oprofile.inc deleted file mode 100644 index 0863a8fd3..000000000 --- a/meta-oe/recipes-kernel/oprofile/oprofile.inc +++ /dev/null | |||
@@ -1,67 +0,0 @@ | |||
1 | SUMMARY = "System-Wide Profiler" | ||
2 | DESCRIPTION = "OProfile is a system-wide profiler for Linux systems, capable \ | ||
3 | of profiling all running code at low overhead." | ||
4 | HOMEPAGE = "http://oprofile.sourceforge.net/news/" | ||
5 | BUGTRACKER = "http://sourceforge.net/tracker/?group_id=16191&atid=116191" | ||
6 | |||
7 | LICENSE = "LGPLv2.1+ & GPLv2" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
9 | file://libopagent/opagent.h;beginline=5;endline=26;md5=4f16f72c7a493d8a4704aa18d03d15c6 \ | ||
10 | " | ||
11 | SECTION = "devel" | ||
12 | |||
13 | DEPENDS = "popt binutils" | ||
14 | RDEPENDS_${PN} = "binutils-symlinks" | ||
15 | |||
16 | FILES_${PN} = "${bindir} ${libdir}/${BPN}/lib*${SOLIBS} ${datadir}/${BPN}" | ||
17 | FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la" | ||
18 | FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a" | ||
19 | |||
20 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ | ||
21 | file://acinclude.m4 \ | ||
22 | file://automake-foreign.patch \ | ||
23 | file://oprofile-cross-compile-tests.patch \ | ||
24 | file://run-ptest \ | ||
25 | file://root-home-dir.patch \ | ||
26 | file://0001-Add-rmb-definition-for-NIOS2-architecture.patch \ | ||
27 | file://0001-replace-sym_iterator-0-with-sym_iterator.patch \ | ||
28 | file://0001-Use-new-bfd-APIs-from-2.34.patch \ | ||
29 | file://include_limits.patch \ | ||
30 | " | ||
31 | UPSTREAM_CHECK_REGEX = "oprofile-(?P<pver>\d+(\.\d+)+)/" | ||
32 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/oprofile/files/oprofile/" | ||
33 | |||
34 | SRC_URI_append_libc-musl = " file://musl.patch \ | ||
35 | " | ||
36 | |||
37 | inherit autotools pkgconfig ptest | ||
38 | |||
39 | EXTRA_OECONF = "--with-kernel=${STAGING_DIR_HOST}${prefix} --without-x ac_cv_prog_XSLTPROC=" | ||
40 | do_configure () { | ||
41 | cp ${WORKDIR}/acinclude.m4 ${S}/ | ||
42 | autotools_do_configure | ||
43 | } | ||
44 | |||
45 | EXTRA_OEMAKE = "SRCDIR=${PTEST_PATH}/libutil++/tests" | ||
46 | do_compile_ptest() { | ||
47 | oe_runmake check | ||
48 | } | ||
49 | |||
50 | do_install_ptest() { | ||
51 | subdirs="libdb/tests libutil++/tests libregex/tests libutil/tests libop/tests libdb/tests " | ||
52 | for tooltest in ${subdirs} | ||
53 | do | ||
54 | find ${tooltest} -perm /u=x -type f| cpio -pvdu ${D}${PTEST_PATH} | ||
55 | done | ||
56 | |||
57 | # needed by some libop tests | ||
58 | cp -r events ${D}${PTEST_PATH} | ||
59 | |||
60 | # needed by libregex regex_test | ||
61 | cp libregex/stl.pat ${D}${PTEST_PATH}/libregex | ||
62 | cp libregex/tests/mangled-name ${D}${PTEST_PATH}/libregex/tests | ||
63 | |||
64 | # needed by litutil++ file_manip_tests | ||
65 | cp ${S}/libutil++/tests/file_manip_tests.cpp \ | ||
66 | libutil++/tests/file_manip_tests.o ${D}${PTEST_PATH}/libutil++/tests | ||
67 | } | ||