blob: 66407073829fbf45827e48da445bde67f5bc6471 [file] [log] [blame]
Andrew Geissler8fc454f2020-12-11 16:27:59 -06001SUMMARY = "User-space front-end command-line tool for ftrace"
2
Andrew Geissler9aee5002022-03-30 16:27:02 +00003LICENSE = "GPL-2.0-only & LGPL-2.1-only"
Andrew Geissler8fc454f2020-12-11 16:27:59 -06004LIC_FILES_CHKSUM = "file://COPYING;md5=873f48a813bded3de6ebc54e6880c4ac"
5
6SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;branch=master \
7 file://0001-trace-cmd-make-it-build-with-musl.patch"
8
9SRCREV = "530b1a0caef39466e16bbd49de5afef89656f03f"
10
11S = "${WORKDIR}/git"
12
13do_install() {
14 oe_runmake etcdir=${sysconfdir} DESTDIR=${D} install
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070015 mkdir -p ${D}${libdir}/traceevent/plugins/${BPN}
16 mv ${D}/${libdir}/traceevent/plugins/*.so ${D}${libdir}/traceevent/plugins/${BPN}/
Andrew Geissler8fc454f2020-12-11 16:27:59 -060017}
18
Patrick Williams213cb262021-08-07 19:21:33 -050019FILES:${PN} += "${libdir}/traceevent/plugins"