summaryrefslogtreecommitdiff
path: root/dev-util/lttng-modules/lttng-modules-2.8.0.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-08-25 20:06:05 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-08-25 20:06:05 +0100
commit5fdd950c7ae03e12746a45c86d85861beaacc846 (patch)
treebb0ea5fb1ec311961f3b60265ea0381872324448 /dev-util/lttng-modules/lttng-modules-2.8.0.ebuild
parent43793fab84041cfc5c60c0151d1591b8a69fb24a (diff)
gentoo resync : 25.08.2018
Diffstat (limited to 'dev-util/lttng-modules/lttng-modules-2.8.0.ebuild')
-rw-r--r--dev-util/lttng-modules/lttng-modules-2.8.0.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-util/lttng-modules/lttng-modules-2.8.0.ebuild b/dev-util/lttng-modules/lttng-modules-2.8.0.ebuild
index d7f32b7b99d1..33312ef7bf42 100644
--- a/dev-util/lttng-modules/lttng-modules-2.8.0.ebuild
+++ b/dev-util/lttng-modules/lttng-modules-2.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -33,6 +33,10 @@ pkg_pretend() {
fi
}
+src_compile() {
+ BUILD_FIXES="KERNELDIR=$KERNEL_DIR" linux-mod_src_compile
+}
+
src_install() {
for i in $(find "${S}" -name "*.ko" -print); do
local val=${i##${S}/}