diff options
-rw-r--r-- | sys-kernel/cryptodev/cryptodev-1.9.ebuild | 1 | ||||
-rw-r--r-- | sys-kernel/cryptodev/cryptodev-9999.ebuild | 3 |
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 e4e62d997e60..db23339300ed 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 195433b58015..97182739422a 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 |