evdi: fix KVER

This commit is contained in:
Шашкин Николай 2024-03-04 17:16:13 +03:00
parent 130ee745b8
commit f78c8f6700
2 changed files with 15 additions and 0 deletions

View File

@ -33,6 +33,10 @@ MODULE_NAMES="evdi(video:${S}/module)"
#CONFIG_CHECK="~FB_VIRTUAL ~!INTEL_IOMMU" #CONFIG_CHECK="~FB_VIRTUAL ~!INTEL_IOMMU"
CONFIG_CHECK="~FB_VIRTUAL ~I2C DRM ~USB_SUPPORT USB_ARCH_HAS_HCD" CONFIG_CHECK="~FB_VIRTUAL ~I2C DRM ~USB_SUPPORT USB_ARCH_HAS_HCD"
PATCHES=(
"${FILESDIR}"/linux_src_path.patch
)
pkg_setup() { pkg_setup() {
linux-mod_pkg_setup linux-mod_pkg_setup
} }

View File

@ -0,0 +1,11 @@
--- a/module/Makefile 2024-03-04 17:04:34.102345590 +0300
+++ b/module/Makefile 2024-03-04 17:04:40.026271116 +0300
@@ -75,7 +75,7 @@
endif
ifeq ($(KDIR),)
- KDIR := /lib/modules/$(KVER)/build
+ KDIR := /usr/src/linux
endif
MOD_KERNEL_PATH := /kernel/drivers/gpu/drm/evdi