diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2023-01-23 17:33:06 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2023-04-10 09:03:22 -0700 |
| commit | 579151c3961d2123d204069f353de4d7de5b70f4 (patch) | |
| tree | 97cb2061b29cc6bf611294dfbbb86bfc4604ab75 | |
| parent | d52f4b0e57127fd7e0d5c0e43576260484696111 (diff) | |
| download | meta-xilinx-579151c3961d2123d204069f353de4d7de5b70f4.tar.gz | |
cairo: Preserve stock configuration for lima, only override for libmali
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| -rw-r--r-- | meta-xilinx-core/recipes-graphics/cairo/cairo_%.bbappend | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-xilinx-core/recipes-graphics/cairo/cairo_%.bbappend b/meta-xilinx-core/recipes-graphics/cairo/cairo_%.bbappend index 3ee90344..c46e8550 100644 --- a/meta-xilinx-core/recipes-graphics/cairo/cairo_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/cairo/cairo_%.bbappend | |||
| @@ -1,9 +1,14 @@ | |||
| 1 | # OpenGL comes from libmali on ev/eg, when egl is enabled | 1 | # OpenGL comes from libmali on ev/eg, when egl is enabled |
| 2 | PACKAGECONFIG = " \ | 2 | # Adjust the configuration if we're using libmali for this distro |
| 3 | DEFAULT_PACKAGECONFIG := "${PACKAGECONFIG}" | ||
| 4 | |||
| 5 | PACKAGECONFIG_LIBMALI = " \ | ||
| 3 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \ | 6 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \ |
| 4 | egl glesv2 \ | 7 | egl glesv2 \ |
| 5 | " | 8 | " |
| 6 | 9 | ||
| 10 | PACKAGECONFIG = "${@'${PACKAGECONFIG_LIBMALI}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGECONFIG}'}" | ||
| 11 | |||
| 7 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | 12 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific |
| 8 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | 13 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
| 9 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | 14 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" |
