diff options
author | Tom Zanussi <tom.zanussi@intel.com> | 2010-11-23 00:01:10 -0600 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-11-22 22:34:39 -0800 |
commit | 998ceaeaf1ec9b71eb630cc6e3dd3ba612316e8c (patch) | |
tree | 8d999dafea23c9688265c3dcfe8f94dc5fb28817 /meta/recipes-kernel/blktrace/blktrace_git.bb | |
parent | 34660ef99020b9e3386df7b388f866fc7aa47d5c (diff) | |
download | poky-998ceaeaf1ec9b71eb630cc6e3dd3ba612316e8c.tar.gz |
blktrace: new package
Add blktrace, a tool for generating traces of the I/O traffic on block
devices.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'meta/recipes-kernel/blktrace/blktrace_git.bb')
-rw-r--r-- | meta/recipes-kernel/blktrace/blktrace_git.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-kernel/blktrace/blktrace_git.bb b/meta/recipes-kernel/blktrace/blktrace_git.bb new file mode 100644 index 0000000000..5690f1463b --- /dev/null +++ b/meta/recipes-kernel/blktrace/blktrace_git.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | DESCRIPTION = "blktrace - generate traces of the I/O traffic on block devices" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" | ||
4 | |||
5 | DEPENDS = "libaio" | ||
6 | |||
7 | PR = r0 | ||
8 | PV = "1.0.1+git${SRCPV}" | ||
9 | |||
10 | SRC_URI = "git://git.kernel.dk/blktrace.git;protocol=git \ | ||
11 | file://blktrace-makefile.patch" | ||
12 | |||
13 | SRC_URI[md5sum] = "588aa9ab8a14d1766ab3f061d728ed89" | ||
14 | SRC_URI[sha256sum] = "f3cb6a3df1b3dc67369c7c4da3444a7897aa8a18e55937b368e0a6aa2f64b3aa" | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | do_compile() { | ||
19 | oe_runmake ARCH="${ARCH}" CC="${CC}" LD="${LD}" prefix=${prefix} | ||
20 | } | ||
21 | |||
22 | do_install() { | ||
23 | oe_runmake ARCH="${ARCH}" CC="${CC}" LD="${LD}" \ | ||
24 | prefix=${prefix} DESTDIR=${D} install | ||
25 | } | ||