summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-06-21 18:35:36 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-06-21 18:35:36 +0200
commit6c6afac39a9f29378bfa43ea830518a59113c99c (patch)
tree3c41e959c26268f15932adfa551130a7077d1d01 /media-video/droidcam
parentsci-libs/linux-gpib-modules: also set KV_OUT_DIR module makearg (diff)
downloadgentoo-6c6afac39a9f29378bfa43ea830518a59113c99c.tar.gz
gentoo-6c6afac39a9f29378bfa43ea830518a59113c99c.tar.bz2
gentoo-6c6afac39a9f29378bfa43ea830518a59113c99c.zip
media-video/droidcam: properly set which kernel to compile for
KV_OUT_DIR is the var that is set by the linux-info eclass Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'media-video/droidcam')
-rw-r--r--media-video/droidcam/droidcam-2.0.0-r3.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/media-video/droidcam/droidcam-2.0.0-r3.ebuild b/media-video/droidcam/droidcam-2.0.0-r3.ebuild
index a5924d0a08de..e243b0248cff 100644
--- a/media-video/droidcam/droidcam-2.0.0-r3.ebuild
+++ b/media-video/droidcam/droidcam-2.0.0-r3.ebuild
@@ -75,7 +75,11 @@ src_compile() {
local modlist=(
v4l2loopback-dc=video:v4l2loopback:v4l2loopback:all
)
- export KERNEL_DIR || die
+
+ local modargs=(
+ KERNEL_DIR="${KV_OUT_DIR}"
+ )
+
linux-mod-r1_src_compile
}