dev-util/bpftrace: Check kernel configuration

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
This commit is contained in:
Patrick McLean
2019-04-11 21:28:30 -07:00
parent e565ccfbea
commit 30a2bbeeff
2 changed files with 14 additions and 2 deletions
+7 -1
View File
@@ -3,7 +3,7 @@
EAPI=7
inherit toolchain-funcs cmake-utils
inherit toolchain-funcs linux-info cmake-utils
DESCRIPTION="High-level tracing language for eBPF"
HOMEPAGE="https://github.com/iovisor/bpftrace"
@@ -45,6 +45,12 @@ PATCHES=(
# lots of fixing needed
RESTRICT="test"
pkg_pretend() {
local CONFIG_CHECK="~BPF ~BPF_SYSCALL ~BPF_JIT ~EBPF_JIT BPF_EVENTS"
check_extra_config
}
src_prepare() {
cmake-utils_src_prepare
}
+7 -1
View File
@@ -3,7 +3,7 @@
EAPI=7
inherit toolchain-funcs cmake-utils
inherit toolchain-funcs linux-info cmake-utils
DESCRIPTION="High-level tracing language for eBPF"
HOMEPAGE="https://github.com/iovisor/bpftrace"
@@ -45,6 +45,12 @@ PATCHES=(
# lots of fixing needed
RESTRICT="test"
pkg_pretend() {
local CONFIG_CHECK="~BPF ~BPF_SYSCALL ~BPF_JIT ~EBPF_JIT BPF_EVENTS"
check_extra_config
}
src_prepare() {
cmake-utils_src_prepare
}