summaryrefslogtreecommitdiffstats
path: root/templates/machine/raspberrypi2/50_local.conf.inc
diff options
context:
space:
mode:
Diffstat (limited to 'templates/machine/raspberrypi2/50_local.conf.inc')
-rw-r--r--templates/machine/raspberrypi2/50_local.conf.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/machine/raspberrypi2/50_local.conf.inc b/templates/machine/raspberrypi2/50_local.conf.inc
index 343768e91..0739defbd 100644
--- a/templates/machine/raspberrypi2/50_local.conf.inc
+++ b/templates/machine/raspberrypi2/50_local.conf.inc
@@ -1,2 +1,20 @@
MACHINE = "raspberrypi2"
+GPU_MEM = "128"
+
+CORE_IMAGE_EXTRA_INSTALL += "wayland weston"
+
+MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
+IMAGE_CLASSES = "sdcard_image-rpi-gdp"
+KERNEL_DEVICETREE_append = " overlays/vc4-kms-v3d-overlay.dtb"
+PREFERRED_VERSION_linux-raspberrypi = "4.4.%"
+PREFERRED_VERSION_mesa = "11.%"
+
+PREFERRED_PROVIDER_virtual/egl = "mesa"
+PREFERRED_PROVIDER_virtual/libgles2 = "mesa"
+PREFERRED_PROVIDER_virtual/libgl = "mesa"
+PREFERRED_PROVIDER_virtual/mesa = "mesa"
+PREFERRED_PROVIDER_jpeg = "jpeg"
+
+# For libomxil
+#LICENSE_FLAGS_WHITELIST = "commercial"