summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <sudinave@gmail.com>2021-03-22 00:21:26 -0400
committerSam James <sam@gentoo.org>2021-03-22 05:18:13 +0000
commita9f74c458168cee87861b41b174af8325f522782 (patch)
tree18b04b12f2d974ae1f57c2585b4f9dfe558ce000
parentx11-drivers/nvidia-drivers: fix using KERNEL_DIR as output dir (diff)
downloadgentoo-a9f74c458168cee87861b41b174af8325f522782.tar.gz
gentoo-a9f74c458168cee87861b41b174af8325f522782.tar.bz2
gentoo-a9f74c458168cee87861b41b174af8325f522782.zip
games-util/xpadneo: fix using KERNEL_DIR as output dir
Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/20051 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--games-util/xpadneo/xpadneo-0.9.ebuild2
-rw-r--r--games-util/xpadneo/xpadneo-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/games-util/xpadneo/xpadneo-0.9.ebuild b/games-util/xpadneo/xpadneo-0.9.ebuild
index 33ed81817a28..c6cc408ad126 100644
--- a/games-util/xpadneo/xpadneo-0.9.ebuild
+++ b/games-util/xpadneo/xpadneo-0.9.ebuild
@@ -15,7 +15,7 @@ KEYWORDS="~amd64 ~x86"
S+="/hid-${PN}"
MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
-BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KERNEL_DIR}"'
+BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
BUILD_TARGETS="modules"
CONFIG_CHECK="INPUT_FF_MEMLESS"
diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-9999.ebuild
index a40a337a9918..e47959acf20e 100644
--- a/games-util/xpadneo/xpadneo-9999.ebuild
+++ b/games-util/xpadneo/xpadneo-9999.ebuild
@@ -22,7 +22,7 @@ SLOT="0"
S+="/hid-${PN}"
MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)"
-BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KERNEL_DIR}"'
+BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"'
BUILD_TARGETS="src/version.h modules"
CONFIG_CHECK="INPUT_FF_MEMLESS"