diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2022-12-13 12:04:16 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2023-04-10 09:03:22 -0700 |
| commit | 07796f5f395261d825b0d271e47678cddb662512 (patch) | |
| tree | 351f7aadadfb6e9ca789cefea1f3e242d3abf6a7 /meta-xilinx-core/recipes-multimedia/gstreamer | |
| parent | 75b8d05040228b91f859f37dcfd81781831908f1 (diff) | |
| download | meta-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_%.bbappend | 8 |
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 |
| 2 | DEPENDS:append:mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' libmali-xlnx', '', d)}" | 2 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
| 3 | 3 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | |
| 4 | PACKAGE_ARCH:mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${MACHINE_ARCH}', '${TUNE_PKGARCH}', d)}" | 4 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" |
