Skip to content

Commit

Permalink
dev-util/sysdig: Fix building kernel module when using Ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Nov 15, 2016
1 parent d6c3bee commit b3485d7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions dev-util/sysdig/sysdig-0.12.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit b3485d7

Please sign in to comment.