mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
ktap: add initial recipe
Ktap is a new scripting dynamic tracing tool for Linux. >From kernel v3.13 it'll live inside the kernel tree, but for earlier kernels, this recipe will be usefull. Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
a4657e4395
commit
adb7af3fe9
19
meta-oe/recipes-kernel/ktap/ktap-module_0.3.bb
Normal file
19
meta-oe/recipes-kernel/ktap/ktap-module_0.3.bb
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||
|
||||
require ktap.inc
|
||||
|
||||
DESCRIPTION = "KTAP is a scripting dynamic tracing tool for Linux"
|
||||
|
||||
inherit module
|
||||
|
||||
# Only build the module
|
||||
MAKE_TARGETS = "mod"
|
||||
|
||||
# Kernel module packages MUST begin with 'kernel-module-', otherwise
|
||||
# multilib image generation can fail.
|
||||
#
|
||||
# The following line is only necessary if the recipe name does not begin
|
||||
# with kernel-module-.
|
||||
#
|
||||
PKG_${PN} = "kernel-module-${PN}"
|
||||
|
||||
11
meta-oe/recipes-kernel/ktap/ktap.inc
Normal file
11
meta-oe/recipes-kernel/ktap/ktap.inc
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||
|
||||
HOMEPAGE = "http://www.ktap.org"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE-GPL;md5=eb723b61539feef013de476e68b5c50a"
|
||||
|
||||
SRCREV = "6a5100b77321ce5792dfea34fa500ea537b1858c"
|
||||
SRC_URI = "git://github.com/ktap/ktap.git"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
17
meta-oe/recipes-kernel/ktap/ktap_0.3.bb
Normal file
17
meta-oe/recipes-kernel/ktap/ktap_0.3.bb
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||
|
||||
require ktap.inc
|
||||
|
||||
SUMMARY = "KTAP is a scripting dynamic tracing tool for Linux"
|
||||
DEPENDS = "ktap-module"
|
||||
|
||||
# Only build the userspace app
|
||||
EXTRA_OEMAKE = "ktap"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 ${S}/ktap ${D}${bindir}/
|
||||
}
|
||||
|
||||
RDEPENDS_${PN} = "kernel-module-ktapvm"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user