summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf/include/agl_rcar.inc
diff options
context:
space:
mode:
authorDuy Dang <duy.dang.yw@renesas.com>2020-02-26 15:34:38 +0700
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-03-18 12:40:52 +0000
commit2fe60ed6b40ae96e43d1edd9c3da978dc6e8db0c (patch)
tree4df13eb28040bacaffb502a0db19437016f4e695 /meta-agl-bsp/conf/include/agl_rcar.inc
parentfbb9935ee800146d931dbdb53a9626e5d90db27c (diff)
Support Salvator-X/XS board
Add new machines to build with AGL: - h3-salvator-x-nogfx - h3-salvator-x - m3-salvator-x-nogfx - m3-salvator-x Bug-AGL: SPEC-3169 Change-Id: I0cfa838ad40f8afda01aeb693fbf595bad8b4730 Signed-off-by: Duy Dang <duy.dang.yw@renesas.com>
Diffstat (limited to 'meta-agl-bsp/conf/include/agl_rcar.inc')
-rw-r--r--meta-agl-bsp/conf/include/agl_rcar.inc38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-agl-bsp/conf/include/agl_rcar.inc b/meta-agl-bsp/conf/include/agl_rcar.inc
new file mode 100644
index 000000000..a21931a02
--- /dev/null
+++ b/meta-agl-bsp/conf/include/agl_rcar.inc
@@ -0,0 +1,38 @@
+require conf/include/agl_rcar-nogfx.inc
+
+# Enable AGL virtualization features
+MACHINE_FEATURES_append = " agl-egvirt"
+
+# Enable Gfx Pkgs
+MACHINE_FEATURES_append = " gsx"
+MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
+
+# for Wayland/Weston
+PREFERRED_PROVIDER_virtual/libgles1 = ""
+PREFERRED_PROVIDER_virtual/libgles2 = "virtual-gles-user-module"
+PREFERRED_PROVIDER_virtual/egl = "virtual-gles-user-module"
+PREFERRED_PROVIDER_virtual/libgl = ""
+PREFERRED_PROVIDER_virtual/mesa = "mesa"
+PREFERRED_PROVIDER_libgbm = "libgbm"
+PREFERRED_RPROVIDER_libgbm-dev = "libgbm"
+
+PREFERRED_RPROVIDER_libomxil = "omx-user-module"
+
+# Add for gstreamer plugins ugly
+LICENSE_FLAGS_WHITELIST = "commercial"
+
+MACHINE_FEATURES_append = " multimedia"
+
+DISTRO_FEATURES_append = " use_eva_pkg"
+
+#DISTRO_FEATURES_append = " h265dec_lib mpeg2dec_lib"
+DISTRO_FEATURES_append = " h264dec_lib h264enc_lib aaclcdec_lib aaclcdec_mdw"
+
+IMAGE_INSTALL_append_rcar-gen3 = " \
+ kernel-devicetree \
+ kernel-module-pvrsrvkm \
+ kernel-module-vsp2 \
+ kernel-module-vspm \
+ kernel-module-vspm-if \
+ omx-user-module \
+"