diff options
| author | Anders Darander <anders@chargestorm.se> | 2013-10-18 05:14:55 +0000 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-10-21 12:15:04 +0200 |
| commit | adb7af3fe95668a85c79acc6f0a2dafc0a96f7e1 (patch) | |
| tree | c2f865a1fe4e65a970893b5083b8dce80c93b5f9 /meta-oe | |
| parent | a4657e4395e0714198c34f02c54043edb8baeafb (diff) | |
| download | meta-openembedded-adb7af3fe95668a85c79acc6f0a2dafc0a96f7e1.tar.gz | |
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>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-kernel/ktap/ktap-module_0.3.bb | 19 | ||||
| -rw-r--r-- | meta-oe/recipes-kernel/ktap/ktap.inc | 11 | ||||
| -rw-r--r-- | meta-oe/recipes-kernel/ktap/ktap_0.3.bb | 17 |
3 files changed, 47 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/ktap/ktap-module_0.3.bb b/meta-oe/recipes-kernel/ktap/ktap-module_0.3.bb new file mode 100644 index 0000000000..12167ea16c --- /dev/null +++ b/meta-oe/recipes-kernel/ktap/ktap-module_0.3.bb | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
| 2 | |||
| 3 | require ktap.inc | ||
| 4 | |||
| 5 | DESCRIPTION = "KTAP is a scripting dynamic tracing tool for Linux" | ||
| 6 | |||
| 7 | inherit module | ||
| 8 | |||
| 9 | # Only build the module | ||
| 10 | MAKE_TARGETS = "mod" | ||
| 11 | |||
| 12 | # Kernel module packages MUST begin with 'kernel-module-', otherwise | ||
| 13 | # multilib image generation can fail. | ||
| 14 | # | ||
| 15 | # The following line is only necessary if the recipe name does not begin | ||
| 16 | # with kernel-module-. | ||
| 17 | # | ||
| 18 | PKG_${PN} = "kernel-module-${PN}" | ||
| 19 | |||
diff --git a/meta-oe/recipes-kernel/ktap/ktap.inc b/meta-oe/recipes-kernel/ktap/ktap.inc new file mode 100644 index 0000000000..7fde165ad1 --- /dev/null +++ b/meta-oe/recipes-kernel/ktap/ktap.inc | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
| 2 | |||
| 3 | HOMEPAGE = "http://www.ktap.org" | ||
| 4 | LICENSE = "GPLv2" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE-GPL;md5=eb723b61539feef013de476e68b5c50a" | ||
| 6 | |||
| 7 | SRCREV = "6a5100b77321ce5792dfea34fa500ea537b1858c" | ||
| 8 | SRC_URI = "git://github.com/ktap/ktap.git" | ||
| 9 | |||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
diff --git a/meta-oe/recipes-kernel/ktap/ktap_0.3.bb b/meta-oe/recipes-kernel/ktap/ktap_0.3.bb new file mode 100644 index 0000000000..f5dd62f849 --- /dev/null +++ b/meta-oe/recipes-kernel/ktap/ktap_0.3.bb | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
| 2 | |||
| 3 | require ktap.inc | ||
| 4 | |||
| 5 | SUMMARY = "KTAP is a scripting dynamic tracing tool for Linux" | ||
| 6 | DEPENDS = "ktap-module" | ||
| 7 | |||
| 8 | # Only build the userspace app | ||
| 9 | EXTRA_OEMAKE = "ktap" | ||
| 10 | |||
| 11 | do_install() { | ||
| 12 | install -d ${D}${bindir} | ||
| 13 | install -m 0755 ${S}/ktap ${D}${bindir}/ | ||
| 14 | } | ||
| 15 | |||
| 16 | RDEPENDS_${PN} = "kernel-module-ktapvm" | ||
| 17 | |||
