Files
openwrt/package/kernel
Matt Eaton 112c235940 kernel: fix kmod-fb/kmod-backlight dependency direction on 6.18
Since 6.18, fb.ko calls into the backlight class rather than the
reverse, so it depends on backlight.ko when CONFIG_FB_BACKLIGHT is set,
which in-tree only happens via FB_TFT's select. Building kmod-fb-tft on
a 6.18 target with DISPLAY_SUPPORT therefore fails with:

 Package kmod-fb is missing dependencies for the following libraries:
 backlight.ko

Declare the dependency on kmod-fb, conditional on kmod-backlight being
built. An unconditional +kmod-backlight would form a recursive
dependency with KernelPackage/backlight's +kmod-fb, both as a kconfig
select cycle and as a circular PACK_ prerequisite that make resolves by
dropping an edge.

backlight.ko only references fb.ko on 6.12, so narrow that reverse
dependency to +LINUX_6_12:kmod-fb, which leaves a single edge on 6.18.

Signed-off-by: Matt Eaton <git@divinehawk.com>
Link: https://github.com/openwrt/openwrt/pull/24765
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-08-19 14:00:33 +02:00
..
2026-01-21 22:42:20 +01:00
2026-05-14 19:05:45 +02:00
2026-05-14 21:19:22 +02:00