]> code.ossystems Code Review - meta-freescale.git/commitdiff
waffle: Configure for i.MX GPU
authorTom Hochstein <tom.hochstein@nxp.com>
Thu, 12 Jul 2018 20:41:21 +0000 (15:41 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 31 Aug 2018 00:57:08 +0000 (21:57 -0300)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/waffle/waffle_%.bbappend [new file with mode: 0644]

diff --git a/recipes-graphics/waffle/waffle_%.bbappend b/recipes-graphics/waffle/waffle_%.bbappend
new file mode 100644 (file)
index 0000000..9a9de0e
--- /dev/null
@@ -0,0 +1,7 @@
+PACKAGECONFIG_X11                 = ""
+PACKAGECONFIG_X11_append_imxgpu3d = " x11-egl glx"
+PACKAGECONFIG_imxgpu = " \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'gbm', \
+       bb.utils.contains('DISTRO_FEATURES',     'x11', '${PACKAGECONFIG_X11}', \
+                                                       '', d), d)} \
+"