From 6c6afac39a9f29378bfa43ea830518a59113c99c Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Wed, 21 Jun 2023 18:35:36 +0200 Subject: 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 --- media-video/droidcam/droidcam-2.0.0-r3.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'media-video/droidcam') 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 } -- cgit v1.2.3-65-gdbad