[LEDE-DEV] [PATCH 2/2] kernel: video: add kmod-i2c-core dependency to kmod-drm

Rafał Miłecki zajec5 at gmail.com
Sun Mar 19 12:26:34 PDT 2017


From: Rafał Miłecki <rafal at milecki.pl>

For targets with i2c not built-in this fixes following error:
Package kmod-drm is missing dependencies for the following libraries:
i2c-core.ko

Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 package/kernel/linux/modules/video.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index 3ccfaf622a..48ef45e3e2 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -186,7 +186,7 @@ define KernelPackage/drm
   SUBMENU:=$(VIDEO_MENU)
   TITLE:=Direct Rendering Manager (DRM) support
   HIDDEN:=1
-  DEPENDS:=+kmod-dma-buf
+  DEPENDS:=+kmod-dma-buf +kmod-i2c-core
   KCONFIG:=CONFIG_DRM \
 	CONFIG_DRM_FBDEV_EMULATION=n \
 	CONFIG_DRM_LOAD_EDID_FIRMWARE=n \
-- 
2.11.0




More information about the Lede-dev mailing list