summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2018-08-09 13:16:47 +0800
committerKhem Raj <raj.khem@gmail.com>2018-08-11 20:16:53 -0700
commit30bbde3d09ebdf1ad2eac7764abeae0990f4cea2 (patch)
tree6adac89b9ea43758599d8214c26620d8f435ee96 /meta-oe/recipes-kernel
parenta6b72344a20a641bb4bd624a9104c5063cf6711f (diff)
downloadmeta-openembedded-30bbde3d09ebdf1ad2eac7764abeae0990f4cea2.tar.gz
oprofile: upgrade 1.2.0 -> 1.3.0
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-kernel')
-rw-r--r--meta-oe/recipes-kernel/oprofile/oprofile.inc1
-rw-r--r--meta-oe/recipes-kernel/oprofile/oprofile/0001-fix-musl-libc-compile-error.patch30
-rw-r--r--meta-oe/recipes-kernel/oprofile/oprofile_1.2.0.bb10
-rw-r--r--meta-oe/recipes-kernel/oprofile/oprofile_1.3.0.bb10
4 files changed, 10 insertions, 41 deletions
diff --git a/meta-oe/recipes-kernel/oprofile/oprofile.inc b/meta-oe/recipes-kernel/oprofile/oprofile.inc
index dabc30b36..349e2bf54 100644
--- a/meta-oe/recipes-kernel/oprofile/oprofile.inc
+++ b/meta-oe/recipes-kernel/oprofile/oprofile.inc
@@ -30,7 +30,6 @@ UPSTREAM_CHECK_REGEX = "oprofile-(?P<pver>\d+(\.\d+)+)/"
30UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/oprofile/files/oprofile/" 30UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/oprofile/files/oprofile/"
31 31
32SRC_URI_append_libc-musl = " file://musl.patch \ 32SRC_URI_append_libc-musl = " file://musl.patch \
33 file://0001-fix-musl-libc-compile-error.patch \
34" 33"
35 34
36inherit autotools pkgconfig ptest 35inherit autotools pkgconfig ptest
diff --git a/meta-oe/recipes-kernel/oprofile/oprofile/0001-fix-musl-libc-compile-error.patch b/meta-oe/recipes-kernel/oprofile/oprofile/0001-fix-musl-libc-compile-error.patch
deleted file mode 100644
index c21a10575..000000000
--- a/meta-oe/recipes-kernel/oprofile/oprofile/0001-fix-musl-libc-compile-error.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1From 512f1b3a4727a3a18f8fa55f196eedcacdd4a872 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Wed, 18 Jul 2018 13:01:03 +0800
4Subject: [PATCH] fix musl libc compile error
5
6use op_basename instead of basename to fix below error:
7../../oprofile-1.2.0/pp/oparchive.cpp:264:20: error: 'basename'
8was not declared in this scope
9
10Signed-off-by: Changqing Li <changqing.li@windriver.com>
11---
12 pp/oparchive.cpp | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/pp/oparchive.cpp b/pp/oparchive.cpp
16index 6221e14..274152b 100644
17--- a/pp/oparchive.cpp
18+++ b/pp/oparchive.cpp
19@@ -261,7 +261,7 @@ int oparchive(options::spec const & spec)
20 /* determine the session name of sample file */
21 int offset = sample_name.find('{');
22 string base_samples_dir = sample_name.substr(0, offset-1);
23- string session = basename(base_samples_dir.c_str());
24+ string session = op_basename(base_samples_dir.c_str());
25 /* Get rid of the the archive_path from the name */
26 string sample_base = sample_name.substr(offset);
27 string sample_archive_file = dest_samples_dir + "/" + session + "/" + sample_base;
28--
292.7.4
30
diff --git a/meta-oe/recipes-kernel/oprofile/oprofile_1.2.0.bb b/meta-oe/recipes-kernel/oprofile/oprofile_1.2.0.bb
deleted file mode 100644
index e85e805c3..000000000
--- a/meta-oe/recipes-kernel/oprofile/oprofile_1.2.0.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1require oprofile.inc
2
3DEPENDS += "virtual/kernel"
4DEPENDS_append_powerpc64 = " libpfm4"
5
6SRC_URI[md5sum] = "4fcd3920984dcb607314b2e225086c3a"
7SRC_URI[sha256sum] = "eb95f98c40b7d0ee29b45fba3565d9f8381747528aa6b6159e37d4fa0c8ca57d"
8
9S = "${WORKDIR}/oprofile-${PV}"
10
diff --git a/meta-oe/recipes-kernel/oprofile/oprofile_1.3.0.bb b/meta-oe/recipes-kernel/oprofile/oprofile_1.3.0.bb
new file mode 100644
index 000000000..1dc535ed8
--- /dev/null
+++ b/meta-oe/recipes-kernel/oprofile/oprofile_1.3.0.bb
@@ -0,0 +1,10 @@
1require oprofile.inc
2
3DEPENDS += "virtual/kernel"
4DEPENDS_append_powerpc64 = " libpfm4"
5
6SRC_URI[md5sum] = "bd998df5521ebedae31e71cd3fb6200b"
7SRC_URI[sha256sum] = "95ded8bde1ec39922f0af015981a67aec63e025a501e4dc04cd65d38f73647e6"
8
9S = "${WORKDIR}/oprofile-${PV}"
10