Add kernel loadable module support to bring in
kernel loadable graphics dependency with RDEPENDS.

Signed-off-by: Lauren Post <[email protected]>
---
 recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc 
b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
index 401046f..bda3cd7 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
@@ -60,6 +60,9 @@ python __anonymous () {
                 PV = d.getVar("PV", True)
                 bb.debug(1, "Skipping %s (%s) as machine and package 
float-point does not match" % (PN, PV))
                 raise bb.parse.SkipPackage("Package Float-Point is not 
compatible with the machine")
+
+        if d.getVar('USE_GPU_VIV_MODULE', True) == '1':
+           d.appendVar('RDEPENDS_imx-gpu-viv', ' kernel-module-imx-gpu-viv ')
 }
 
 USE_X11 = "${@base_contains("DISTRO_FEATURES", "x11", "yes", "no", d)}"
-- 
1.7.9.5

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to