aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro/recipes-kernel
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2014-04-15 10:19:39 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2014-04-15 10:19:39 +0300
commit13d1c9553124f085779c4997c41eb75bc170722b (patch)
tree8519896f70342169aa36b339829d0c937516e484 /meta-linaro/recipes-kernel
parenta3b34eaf45233f8c15aa60a0a04b53967808d826 (diff)
downloadmeta-linaro-13d1c9553124f085779c4997c41eb75bc170722b.tar.gz
trace-cmd: update recipes to 2.3.2 release
The recipes are available in oe-core. Patches have been submitted. Until oe-core is updated, include the updated trace-cmd in Linaro's layer. Change-Id: I051ef9c6c9b0c0a83ba8a48d44eaa551503c8c96 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'meta-linaro/recipes-kernel')
-rw-r--r--meta-linaro/recipes-kernel/trace-cmd/kernelshark_2.3.2.bb23
-rw-r--r--meta-linaro/recipes-kernel/trace-cmd/trace-cmd_2.3.2.bb18
2 files changed, 41 insertions, 0 deletions
diff --git a/meta-linaro/recipes-kernel/trace-cmd/kernelshark_2.3.2.bb b/meta-linaro/recipes-kernel/trace-cmd/kernelshark_2.3.2.bb
new file mode 100644
index 00000000..dbc2a9d9
--- /dev/null
+++ b/meta-linaro/recipes-kernel/trace-cmd/kernelshark_2.3.2.bb
@@ -0,0 +1,23 @@
+SUMMARY = "Graphical trace viewer for Ftrace"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
+ file://kernel-shark.c;beginline=6;endline=8;md5=2c22c965a649ddd7973d7913c5634a5e"
+DEPENDS = "gtk+"
+SRCREV = "79e08f8edb38c4c5098486caaa87ca90ba00f547"
+PV = "2.3.2"
+
+SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;branch=trace-cmd-stable-v2.3"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+ ${MAKE} NO_PYTHON=1 prefix=${prefix} plugin_dir=${libdir}/trace-cmd/plugins DESTDIR=${D} install_gui
+ # remove files already shipped in trace-cmd package
+ rm -f ${D}${bindir}/trace-cmd
+ rm -rf ${D}${libdir}/trace-cmd
+ rmdir ${D}${libdir}
+}
+
+RDEPENDS_${PN} = "trace-cmd"
+
+FILESPATH = "${FILE_DIRNAME}/trace-cmd"
diff --git a/meta-linaro/recipes-kernel/trace-cmd/trace-cmd_2.3.2.bb b/meta-linaro/recipes-kernel/trace-cmd/trace-cmd_2.3.2.bb
new file mode 100644
index 00000000..798ee1b3
--- /dev/null
+++ b/meta-linaro/recipes-kernel/trace-cmd/trace-cmd_2.3.2.bb
@@ -0,0 +1,18 @@
+SUMMARY = "User interface to Ftrace"
+LICENSE = "GPLv2 & LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
+ file://trace-cmd.c;beginline=6;endline=8;md5=2c22c965a649ddd7973d7913c5634a5e \
+ file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff \
+ file://trace-input.c;beginline=5;endine=8;md5=dafd8a1cade30b847a8686dd3628cea4"
+SRCREV = "79e08f8edb38c4c5098486caaa87ca90ba00f547"
+PV = "2.3.2"
+
+SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;branch=trace-cmd-stable-v2.3"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+ ${MAKE} NO_PYTHON=1 prefix=${prefix} plugin_dir=${libdir}/trace-cmd/plugins DESTDIR=${D} install
+}
+
+FILES_${PN}-dbg += "${libdir}/trace-cmd/plugins/.debug/"