aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2016-04-09 03:47:22 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-04-09 17:33:16 +0000
commit373d217cee37d60bcf4bd15c96c5955d376ad370 (patch)
tree1f2bb16ffe10fad7d19ae8af0c3ffe857c7f62e4
parent45126ad7016c2981a1d9f9f343c157517560b2e2 (diff)
RDEPEND libgbm-dev in the gles-user-module
To keep core-image-minimal clean of the 3rdparty components, we need to add the requirements where they are needed and not globally in the local.conf.sample - fix this. Change-Id: I202fd35a5d081f0634a4b22a7f7ad55a80a34260 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
-rw-r--r--meta-rcar-gen2/conf/local.conf.sample3
-rw-r--r--meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module.bb2
2 files changed, 3 insertions, 2 deletions
diff --git a/meta-rcar-gen2/conf/local.conf.sample b/meta-rcar-gen2/conf/local.conf.sample
index 85fefa0..ae9266a 100644
--- a/meta-rcar-gen2/conf/local.conf.sample
+++ b/meta-rcar-gen2/conf/local.conf.sample
@@ -67,7 +67,8 @@ IMAGE_INSTALL_append = " \
# TODO: When booting weston, someone try to load 'libgbm_kms.so' then
# fail to boot. It should be 'libgbm_kms.so.1'.
# Tentatively, it is to install 'libgbm-dev' pkg.
-IMAGE_INSTALL_append = "libgbm-dev"
+#IMAGE_INSTALL_append = "libgbm-dev"
+# this is not recommended and should be done in the recipe requiring this module (gles-user-module)
LICENSE_FLAGS_WHITELIST = "commercial"
diff --git a/meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module.bb b/meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module.bb
index f9f8864..1845c98 100644
--- a/meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module.bb
+++ b/meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module.bb
@@ -6,7 +6,7 @@ LICENSE = "CLOSED"
PN = "gles-user-module"
PR = "r0"
-RDEPENDS_${PN} = "gles-kernel-module"
+RDEPENDS_${PN} = "gles-kernel-module libgbm"
COMPATIBLE_MACHINE = "(r8a7790|r8a7791|r8a7793|r8a7794)"
PACKAGE_ARCH = "${MACHINE_ARCH}"