mirror of
https://git.yoctoproject.org/poky
synced 2026-02-08 18:02:12 +01:00
The trace-cmd source includes a graphical trace viewer, but we don't want to make the trace-cmd recipe depend on gtk+. This patch adds a second recipe in the meta/recipes-kernel/trace-cmd directory which uses the trace-cmd SRCREV and RDEPENDS on trace-cmd to ensure compatibility. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: Richard Purdie <richard.purdie@linuxfoundation.org> CC: Saul Wold <sgw@linux.intel.com>
22 lines
620 B
BlitzBasic
22 lines
620 B
BlitzBasic
DESCRIPTION = "Graphical trace viewer for Ftrace"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
|
|
file://kernel-shark.c;beginline=6;endline=8;md5=2c22c965a649ddd7973d7913c5634a5e"
|
|
|
|
PR = r0
|
|
PV = "1.0.4+git${SRCPV}"
|
|
|
|
DEPENDS = "gtk+"
|
|
RDEPENDS_${PN} = "trace-cmd"
|
|
|
|
inherit pkgconfig
|
|
|
|
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;protocol=git"
|
|
S = "${WORKDIR}/git"
|
|
|
|
EXTRA_OEMAKE = "'CC=${CC}' 'AR=${AR}' 'prefix=${prefix}' gui"
|
|
|
|
do_install() {
|
|
oe_runmake CC="${CC}" AR="${AR}" prefix="${prefix}" DESTDIR="${D}" install_gui
|
|
}
|