aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/conf/machine/include/r8a7791.inc
diff options
context:
space:
mode:
authorStephen Lawrence <stephen.lawrence@renesas.com>2015-06-09 16:54:13 +0100
committerStephen Lawrence <stephen.lawrence@renesas.com>2015-06-19 22:07:28 +0100
commitd3eafa63999cc90351e0831c6178947c6d881fb1 (patch)
treee62afff6c7c5235043d796ec30212dbe254bc132 /meta-rcar-gen2/conf/machine/include/r8a7791.inc
parent6e829fe6e422793bbb05ec563c8544154c0e9bd8 (diff)
r-car m2: set PREFERRED_VERSION_gstreamer1.0* to 1.2.% when h/w acceleration enabled
The R-Car M2 multimedia acceleration provides acceleration support for GStreamer 1.2.3, so set the preferred version to 1.2.%. Required for meta-ivi which supports both 1.2.3 and 1.4.x but defaults to 1.4.x. Both M2 Koelsch and M2 Porter boards are supported, so generalise the previous Kolesch only setting to all M2 boards. Also make the setting dependent on h/w acceleration being enabled, else use 1.4.x. This solves a build issue when the s/w rendered 1.2.x was built when h/w acceleration was not enabled.
Diffstat (limited to 'meta-rcar-gen2/conf/machine/include/r8a7791.inc')
-rw-r--r--meta-rcar-gen2/conf/machine/include/r8a7791.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-rcar-gen2/conf/machine/include/r8a7791.inc b/meta-rcar-gen2/conf/machine/include/r8a7791.inc
index d831024..4f91462 100644
--- a/meta-rcar-gen2/conf/machine/include/r8a7791.inc
+++ b/meta-rcar-gen2/conf/machine/include/r8a7791.inc
@@ -2,6 +2,7 @@ SOC_FAMILY = "rcar-gen2:r8a7791"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "cortexa15hf-neon"
require conf/machine/include/tune-cortexa15.inc
+require ../../../include/multimedia-control.inc
PREFERRED_PROVIDER_virtual/kernel ?= "linux-renesas"
PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers"
@@ -10,3 +11,11 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot"
KERNEL_IMAGETYPE ?= "uImage"
EXTRA_IMAGEDEPENDS += "u-boot"
+
+# multimedia acceleration uses Gst version 1.2.x, otherwise meta-ivi currently uses 1.4.x
+PREFERRED_VERSION_gstreamer1.0 = "${@base_conditional("USE_MULTIMEDIA", "1", "1.2.%", "1.4.%", d )}"
+PREFERRED_VERSION_gstreamer1.0-plugins-bad = '${@base_conditional("USE_MULTIMEDIA", "1", "1.2.%", "1.4.%", d )}'
+PREFERRED_VERSION_gstreamer1.0-plugins-base = '${@base_conditional("USE_MULTIMEDIA", "1", "1.2.%", "1.4.%", d )}'
+PREFERRED_VERSION_gstreamer1.0-plugins-good = '${@base_conditional("USE_MULTIMEDIA", "1", "1.2.%", "1.4.%", d )}'
+PREFERRED_VERSION_gstreamer1.0-plugins-ugly = '${@base_conditional("USE_MULTIMEDIA", "1", "1.2.%", "1.4.%", d )}'
+PREFERRED_VERSION_gstreamer1.0-libav = '${@base_conditional("USE_MULTIMEDIA", "1", "1.2.%", "1.4.%", d )}'