summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-11-15 15:18:33 +0100
committerMichał Górny <mgorny@gentoo.org>2016-11-15 15:31:08 +0100
commitb3485d75ce04970914285b2efc1ecf34a081f4ca (patch)
tree75a15469aa0078bca36637cade896dce187c8596 /dev-util
parentsys-kernel/gentoo-sources-3.4.113-r0: stable on alpha (diff)
downloadgentoo-b3485d75ce04970914285b2efc1ecf34a081f4ca.tar.gz
gentoo-b3485d75ce04970914285b2efc1ecf34a081f4ca.tar.bz2
gentoo-b3485d75ce04970914285b2efc1ecf34a081f4ca.zip
dev-util/sysdig: Fix building kernel module when using Ninja
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/sysdig/sysdig-0.12.1.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-util/sysdig/sysdig-0.12.1.ebuild b/dev-util/sysdig/sysdig-0.12.1.ebuild
index 1a971978ba79..d8ff76105236 100644
--- a/dev-util/sysdig/sysdig-0.12.1.ebuild
+++ b/dev-util/sysdig/sysdig-0.12.1.ebuild
@@ -61,9 +61,15 @@ src_configure() {
cmake-utils_src_configure
# setup linux-mod ugliness
- MODULE_NAMES="sysdig-probe(extra:${BUILD_DIR}/driver:)"
+ MODULE_NAMES="sysdig-probe(extra:${S}/driver:)"
BUILD_PARAMS='KERNELDIR="${KERNEL_DIR}"'
- BUILD_TARGETS="driver"
+ BUILD_TARGETS="all"
+
+ if use modules; then
+ cmake-utils_src_make configure_driver
+
+ cp "${BUILD_DIR}"/driver/Makefile.dkms driver/Makefile || die
+ fi
}
src_compile() {