[meta-freescale] [meta-fsl-arm][v3 06/12] imx-gpu-viv: Add kernel loadable module support
Lauren Post
lauren.post at freescale.com
Fri Jul 24 08:40:46 PDT 2015
Add kernel loadable module support to bring in
kernel loadable graphics dependency with RDEPENDS.
Signed-off-by: Lauren Post <lauren.post at freescale.com>
---
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
More information about the meta-freescale
mailing list