summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/machine/raspberrypi3/50_local.conf.inc4
-rw-r--r--templates/machine/raspberrypi4/50_local.conf.inc3
2 files changed, 7 insertions, 0 deletions
diff --git a/templates/machine/raspberrypi3/50_local.conf.inc b/templates/machine/raspberrypi3/50_local.conf.inc
index e47637178..dcaf5e9d4 100644
--- a/templates/machine/raspberrypi3/50_local.conf.inc
+++ b/templates/machine/raspberrypi3/50_local.conf.inc
@@ -1,3 +1,7 @@
MACHINE = "raspberrypi3"
#see meta-agl/meta-agl-bsp/conf/include/agl_raspberrypi3.inc
require conf/include/agl_raspberrypi3.inc
+
+# Set appropriate version of Mesa for Raspberry Pi 3 and
+# ignore the newer version with has been added for Raspberry Pi 4
+PREFERRED_VERSION_mesa_raspberrypi3 = "18.1%"
diff --git a/templates/machine/raspberrypi4/50_local.conf.inc b/templates/machine/raspberrypi4/50_local.conf.inc
index 3dd12fa19..27a8bf2af 100644
--- a/templates/machine/raspberrypi4/50_local.conf.inc
+++ b/templates/machine/raspberrypi4/50_local.conf.inc
@@ -3,3 +3,6 @@ MACHINE = "raspberrypi4"
require conf/include/agl_raspberrypi3.inc
PREFERRED_VERSION_linux-raspberrypi_raspberrypi4 = "4.19%"
+
+# Set appropriate version of Mesa for Raspberry Pi 4
+PREFERRED_VERSION_mesa_raspberrypi4 = "19.1%"