aboutsummaryrefslogtreecommitdiffstats
path: root/templates/machine/dra7xx-evm/50_local.conf.inc
diff options
context:
space:
mode:
Diffstat (limited to 'templates/machine/dra7xx-evm/50_local.conf.inc')
-rw-r--r--templates/machine/dra7xx-evm/50_local.conf.inc24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/machine/dra7xx-evm/50_local.conf.inc b/templates/machine/dra7xx-evm/50_local.conf.inc
index adf577e8b..05a15c971 100644
--- a/templates/machine/dra7xx-evm/50_local.conf.inc
+++ b/templates/machine/dra7xx-evm/50_local.conf.inc
@@ -1,5 +1,29 @@
MACHINE = "dra7xx-evm"
+PACKAGES_GFX_${MACHINE} = "omapdrm-pvr"
+
+# Enable Gfx Pkgs
+MACHINE_FEATURES_append = " sgx"
+MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
+
+DEPENDS_remove = "virtual/libgl"
+
+# Preferred providers
+PREFERRED_PROVIDER_virtual/libgles1 = ""
+PREFERRED_PROVIDER_virtual/libgles2 = "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/egl = "ti-sgx-ddk-um"
+PREFERRED_PROVIDER_virtual/mesa = "mesa-gl"
+PREFERRED_PROVIDER_libgbm = "libgbm"
+
+#Preferred versions
+PREFERRED_VERSION_libgbm = "10.0.0"
+
+
+# Distribution-specific runtime components
+IMAGE_INSTALL_append = " \
+ ${PACKAGES_GFX} \
+"
+
## ATTENTION, this is needed right now to build meta-ti with AGL: ##
## due to meta-ti being based on YP 1.8 instead of YP 2.0
BBMASK = "meta-ti/.*eudev"