summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-graphics/images/core-image-weston.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen3/recipes-graphics/images/core-image-weston.inc')
-rw-r--r--meta-rcar-gen3/recipes-graphics/images/core-image-weston.inc42
1 files changed, 42 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-graphics/images/core-image-weston.inc b/meta-rcar-gen3/recipes-graphics/images/core-image-weston.inc
new file mode 100644
index 0000000..28e28d4
--- /dev/null
+++ b/meta-rcar-gen3/recipes-graphics/images/core-image-weston.inc
@@ -0,0 +1,42 @@
+require include/gles-control.inc
+require core-image-renesas-mmp-base.inc
+
+# Wayland basic packages
+WAYLAND_BASE_PKGS = " \
+ weston-bin \
+ alsa-utils \
+ alsa-tools \
+ libdrm-tests \
+ libdrm-kms \
+"
+
+# GFX for Wayland packages
+WAYLAND_GLES_PKGS = "libgbm-dev"
+
+# GFX driver and library packages
+GLES_PKGS = " \
+ kernel-module-gles \
+ gles-user-module \
+"
+
+# Gstreamer Packages
+GSTREAMER_PKGS = "packagegroup-gstreamer1.0-plugins"
+
+# 32bit packages for wayland env
+WAYLAND_32BIT_PKGS = " \
+ lib32-weston \
+ lib32-libdrm \
+ lib32-libdrm-kms \
+ ${@base_conditional("USE_GLES", "1", "lib32-gles-user-module", "", d)} \
+"
+
+# Install packages for Wayland Env
+# default: Basic packages, Gstreamer packages
+# optional: GFX packages
+IMAGE_INSTALL_append = " \
+ ${WAYLAND_BASE_PKGS} \
+ ${GSTREAMER_PKGS} \
+ ${@base_conditional("USE_GLES", "1", "${GLES_PKGS}", "", d)} \
+ ${@base_conditional("USE_GLES_WAYLAND", "1", "${WAYLAND_GLES_PKGS}", "", d)} \
+ ${@base_conditional("USE_32BIT_WAYLAND", "1", "${WAYLAND_32BIT_PKGS}", "", d)} \
+"