Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-block/btrace/btrace-1.0.0.ebuild,v 1.2 2009/09/23 20:29:31 patrick Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-block/btrace/btrace-1.0.0.ebuild,v 1.2 2009/09/23 20:29:31 patrick Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI="2" |
6 |
|
5 |
inherit eutils toolchain-funcs flag-o-matic linux-info |
7 |
inherit eutils toolchain-funcs flag-o-matic linux-info |
6 |
|
8 |
|
7 |
DESCRIPTION="btrace can show detailed info about what is happening on a block device io queue." |
9 |
DESCRIPTION="btrace can show detailed info about what is happening on a block device io queue." |
Lines 24-32
Link Here
|
24 |
CONFIG_CHECK="~BLK_DEV_IO_TRACE" |
26 |
CONFIG_CHECK="~BLK_DEV_IO_TRACE" |
25 |
WARNING_BLK_DEV_IO_TRACE="you need to enable BLK_DEV_IO_TRACE kernel option if you want to gather traces from this machine" |
27 |
WARNING_BLK_DEV_IO_TRACE="you need to enable BLK_DEV_IO_TRACE kernel option if you want to gather traces from this machine" |
26 |
|
28 |
|
27 |
src_unpack() { |
29 |
src_prepare() { |
28 |
unpack ${A} |
|
|
29 |
epatch "${FILESDIR}"/${PN}-1.0.0-parallel-make.patch |
30 |
epatch "${FILESDIR}"/${PN}-1.0.0-parallel-make.patch |
|
|
31 |
sed -i \ |
32 |
-e '/filter /s/-o/$(LDFLAGS) -o/' \ |
33 |
Makefile btt/Makefile btreplay/Makefile |
30 |
} |
34 |
} |
31 |
|
35 |
|
32 |
src_compile() { |
36 |
src_compile() { |