summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2024-01-25 10:38:29 -0700
committerMark Hatle <mark.hatle@amd.com>2024-01-30 17:48:07 -0700
commit03fda2db91ec189180ce6cc8e0e75e1722648e32 (patch)
treeacebdc36e3e1d02fd00db1cc8128bc52f49feab5
parentb2c7622911d70a87ba7c0fbaf6bd876b01f0b264 (diff)
downloadmeta-xilinx-03fda2db91ec189180ce6cc8e0e75e1722648e32.tar.gz
cairo: bbappend no longer neded
Cairo no longer directly links to libgl/libgles. This avoids any mali specific dependencies. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-xilinx-core/recipes-graphics/cairo/cairo_%.bbappend19
1 files changed, 0 insertions, 19 deletions
diff --git a/meta-xilinx-core/recipes-graphics/cairo/cairo_%.bbappend b/meta-xilinx-core/recipes-graphics/cairo/cairo_%.bbappend
deleted file mode 100644
index 61b4d1da..00000000
--- a/meta-xilinx-core/recipes-graphics/cairo/cairo_%.bbappend
+++ /dev/null
@@ -1,19 +0,0 @@
1# OpenGL comes from libmali on ev/eg, when egl is enabled
2# Adjust the configuration if we're using libmali for this distro
3DEFAULT_PACKAGECONFIG := "${PACKAGECONFIG}"
4
5PACKAGECONFIG_LIBMALI = " \
6 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \
7 egl glesv2 \
8 trace \
9"
10
11PACKAGECONFIG = "${@'${PACKAGECONFIG_LIBMALI}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGECONFIG}'}"
12
13# Links to libmali-xlnx, so it becomes MACHINE_ARCH specific
14DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}"
15MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH"
16MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}"
17PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH"
18PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}"
19