aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2021-04-17 20:04:48 +0200
committerDavid Bauer <mail@david-bauer.net>2021-04-18 14:41:02 +0200
commit4978e073cd7339e56033bbf7ba9e7d926df0e553 (patch)
treee85f5cf41fa1d5ed0e6d629e170c9bbc1d0c4e7b
parent7cea19c2ce1a416d5e06a4464a7b2c11903931f1 (diff)
downloadupstream-4978e073cd7339e56033bbf7ba9e7d926df0e553.tar.gz
upstream-4978e073cd7339e56033bbf7ba9e7d926df0e553.tar.bz2
upstream-4978e073cd7339e56033bbf7ba9e7d926df0e553.zip
kernel: select kmod-backlight as dependency for kmod-drm
Select kmod-backlight as dependency for kmod-drm in case kmod-backlight is compiled. This fixes kernel 5.10 build issues on x86-geode with all kmods enabled: Package kmod-drm is missing dependencies for the following libraries: backlight.ko Signed-off-by: David Bauer <mail@david-bauer.net>
-rw-r--r--package/kernel/linux/modules/video.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index c71f0760a6..394dff6239 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -225,7 +225,7 @@ define KernelPackage/drm
SUBMENU:=$(VIDEO_MENU)
TITLE:=Direct Rendering Manager (DRM) support
HIDDEN:=1
- DEPENDS:=+kmod-dma-buf +kmod-i2c-core
+ DEPENDS:=+kmod-dma-buf +kmod-i2c-core +PACKAGE_kmod-backlight:kmod-backlight
KCONFIG:=CONFIG_DRM
FILES:= \
$(LINUX_DIR)/drivers/gpu/drm/drm.ko \