mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-13 17:38:48 +04:00
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>