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>
This commit is contained in:
parent
87c0839402
commit
5c41fdbad4
1 changed files with 3 additions and 1 deletions
|
@ -197,7 +197,9 @@ define KernelPackage/fb-sys-fops
|
||||||
SUBMENU:=$(VIDEO_MENU)
|
SUBMENU:=$(VIDEO_MENU)
|
||||||
TITLE:=Framebuffer software sys ops support
|
TITLE:=Framebuffer software sys ops support
|
||||||
DEPENDS:=+kmod-fb
|
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
|
FILES:=$(LINUX_DIR)/drivers/video/fbdev/core/fb_sys_fops.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,07,fb_sys_fops)
|
AUTOLOAD:=$(call AutoLoad,07,fb_sys_fops)
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue