From 0a21d1471199fa57dfc58d14625ccd0cd185f85d Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Sun, 2 Sep 2018 12:09:51 +0000 Subject: sys-kernel/cryptodev: Use KV_OUT_DIR for building Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- sys-kernel/cryptodev/cryptodev-1.9.ebuild | 1 + sys-kernel/cryptodev/cryptodev-9999.ebuild | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'sys-kernel') 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 -- cgit v1.2.3-65-gdbad