summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/recipes-multimedia/gstreamer
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2022-12-13 12:04:16 -0800
committerMark Hatle <mark.hatle@amd.com>2023-04-10 09:03:22 -0700
commit07796f5f395261d825b0d271e47678cddb662512 (patch)
tree351f7aadadfb6e9ca789cefea1f3e242d3abf6a7 /meta-xilinx-core/recipes-multimedia/gstreamer
parent75b8d05040228b91f859f37dcfd81781831908f1 (diff)
downloadmeta-xilinx-07796f5f395261d825b0d271e47678cddb662512.tar.gz
various: Refactor mali400 related bbappends
Combination of MACHINE_FEATURES = 'mali400' and DISTRO_FEATURES = 'libmali'. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/recipes-multimedia/gstreamer')
-rw-r--r--meta-xilinx-core/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-xilinx-core/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend b/meta-xilinx-core/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend
index d430b63e..83fd7fa6 100644
--- a/meta-xilinx-core/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend
+++ b/meta-xilinx-core/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend
@@ -1,4 +1,4 @@
1# OpenGL comes from libmali on ev/eg, when egl is enabled 1# Links to libmali-xlnx, so it becomes MACHINE_ARCH specific
2DEPENDS:append:mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' libmali-xlnx', '', d)}" 2DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}"
3 3MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}"
4PACKAGE_ARCH:mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${MACHINE_ARCH}', '${TUNE_PKGARCH}', d)}" 4PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}"