diff options
| author | Mieczyslaw Nalewaj | 2025-04-27 16:51:57 +0000 |
|---|---|---|
| committer | Christian Marangi | 2025-04-30 14:26:45 +0000 |
| commit | 5c41fdbad444e9c54df4bab2cebee29ca23c1512 (patch) | |
| tree | a40915fcf77cb7b09239b7c74e2841fd9cfffed2 | |
| parent | 87c083940201f75099929b94aff3ae7167afe073 (diff) | |
| download | openwrt-5c41fdbad444e9c54df4bab2cebee29ca23c1512.tar.gz | |
kernel: update fb-sys-fops package for kernel 6.12
For kernel 6.12 the fb-sys-fops module setting has been renamed
from CONFIG_FB_SYS_FOPS to CONFIG_FB_SYSMEM_FOPS.
This patch sets the KCONFIG value depending on the kernel version.
Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=27ad64eac10fcb25fcbfb813921f4d30b3458e13
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
| -rw-r--r-- | package/kernel/linux/modules/video.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk index 66aa22d26d..0916a085ba 100644 --- a/package/kernel/linux/modules/video.mk +++ b/package/kernel/linux/modules/video.mk @@ -197,7 +197,9 @@ define KernelPackage/fb-sys-fops SUBMENU:=$(VIDEO_MENU) TITLE:=Framebuffer software sys ops support DEPENDS:=+kmod-fb - KCONFIG:=CONFIG_FB_SYS_FOPS + KCONFIG:= \ + CONFIG_FB_SYS_FOPS@lt6.12 \ + CONFIG_FB_SYSMEM_FOPS@ge6.12 FILES:=$(LINUX_DIR)/drivers/video/fbdev/core/fb_sys_fops.ko AUTOLOAD:=$(call AutoLoad,07,fb_sys_fops) endef |