summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2018-09-02 12:09:51 +0000
committerSven Wegener <swegener@gentoo.org>2018-09-02 12:14:31 +0000
commit0a21d1471199fa57dfc58d14625ccd0cd185f85d (patch)
tree5f5793d48a4b1880308dcdd07a7914545e1b44b5 /sys-kernel/cryptodev
parentsys-kernel/cryptodev: Cleanup (diff)
downloadgentoo-0a21d1471199fa57dfc58d14625ccd0cd185f85d.tar.gz
gentoo-0a21d1471199fa57dfc58d14625ccd0cd185f85d.tar.bz2
gentoo-0a21d1471199fa57dfc58d14625ccd0cd185f85d.zip
sys-kernel/cryptodev: Use KV_OUT_DIR for building
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sys-kernel/cryptodev')
-rw-r--r--sys-kernel/cryptodev/cryptodev-1.9.ebuild1
-rw-r--r--sys-kernel/cryptodev/cryptodev-9999.ebuild3
2 files changed, 3 insertions, 1 deletions
diff --git a/sys-kernel/cryptodev/cryptodev-1.9.ebuild b/sys-kernel/cryptodev/cryptodev-1.9.ebuild
index e4e62d997e6..db23339300e 100644
--- a/sys-kernel/cryptodev/cryptodev-1.9.ebuild
+++ b/sys-kernel/cryptodev/cryptodev-1.9.ebuild
@@ -21,6 +21,7 @@ RESTRICT="test"
S=${WORKDIR}/${PN}-linux-${PV}
MODULE_NAMES="cryptodev(extra:${S})"
+BUILD_PARAMS="KERNEL_DIR=\"\${KV_OUT_DIR}\""
PATCHES="${FILESDIR}/cryptodev-1.9-fix-build-with-4.14-629958.patch"
diff --git a/sys-kernel/cryptodev/cryptodev-9999.ebuild b/sys-kernel/cryptodev/cryptodev-9999.ebuild
index 195433b5801..97182739422 100644
--- a/sys-kernel/cryptodev/cryptodev-9999.ebuild
+++ b/sys-kernel/cryptodev/cryptodev-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -27,6 +27,7 @@ DEPEND="virtual/linux-sources"
RESTRICT="test"
MODULE_NAMES="cryptodev(extra:${S})"
+BUILD_PARAMS="KERNEL_DIR=\"\${KV_OUT_DIR}\""
pkg_pretend() {
if use kernel_linux ; then