summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2020-11-06 08:11:27 -0800
committerSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2020-11-17 13:17:12 -0800
commit42d7edcdc7d213725ca19cbae6154340e763fea5 (patch)
tree008086a41ba12583544f24541aa902deeab7a604 /meta-xilinx-bsp
parentc433470ca798a1802a581d0b299b613eb560d2c7 (diff)
downloadmeta-xilinx-42d7edcdc7d213725ca19cbae6154340e763fea5.tar.gz
Various: Packages using libGL may need to be declared SOC_VARIANT_ARCH
Issue: CR-1082769 libGL is either provided by mesa or libmali. Each of the modified recipes contains a direct library link to the provider of libGL. Due to this we need to specify precise dependencies and declare the package as the right architecture to break a potential install conflict. If we don't do this, the package will be generated as aarch64, but won't be installable as the dependency on libmali can't be satisfied unless the user has libmali, which is only available on zynqmpev and zyncmpeg. git cherry-pick 6c0b7e5 Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp')
-rw-r--r--meta-xilinx-bsp/recipes-graphics/cairo/cairo_%.bbappend7
-rw-r--r--meta-xilinx-bsp/recipes-graphics/mesa/mesa-demos_%.bbappend9
-rw-r--r--meta-xilinx-bsp/recipes-graphics/wayland/weston_%.bbappend9
-rw-r--r--meta-xilinx-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend9
4 files changed, 34 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-graphics/cairo/cairo_%.bbappend b/meta-xilinx-bsp/recipes-graphics/cairo/cairo_%.bbappend
index b2942a82..c3f12f63 100644
--- a/meta-xilinx-bsp/recipes-graphics/cairo/cairo_%.bbappend
+++ b/meta-xilinx-bsp/recipes-graphics/cairo/cairo_%.bbappend
@@ -1,2 +1,9 @@
1PACKAGECONFIG_zynqmp += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \ 1PACKAGECONFIG_zynqmp += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \
2 egl glesv2" 2 egl glesv2"
3
4# OpenGL comes from libmali on ev/eg
5DEPENDS_append_zynqmpev = " libmali-xlnx"
6DEPENDS_append_zynqmpeg = " libmali-xlnx"
7
8PACKAGE_ARCH_zynqmpev = "${SOC_VARIANT_ARCH}"
9PACKAGE_ARCH_zynqmpeg = "${SOC_VARIANT_ARCH}"
diff --git a/meta-xilinx-bsp/recipes-graphics/mesa/mesa-demos_%.bbappend b/meta-xilinx-bsp/recipes-graphics/mesa/mesa-demos_%.bbappend
new file mode 100644
index 00000000..febf1636
--- /dev/null
+++ b/meta-xilinx-bsp/recipes-graphics/mesa/mesa-demos_%.bbappend
@@ -0,0 +1,9 @@
1# OpenGL comes from libmali on ev/eg, when egl is enabled
2DEPENDS_MALI_XLNX = "${@bb.utils.contains('PACKAGECONFIG', 'egl', 'libmali-xlnx', '', d)}"
3PKG_ARCH_XLNX = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${SOC_VARIANT_ARCH}', '${TUNE_PKGARCH}', d)}"
4
5DEPENDS_append_zynqmpev = " ${DEPENDS_MALI_XLNX}"
6DEPENDS_append_zynqmpeg = " ${DEPENDS_MALI_XLNX}"
7
8PACKAGE_ARCH_zynqmpev = "${PKG_ARCH_XLNX}"
9PACKAGE_ARCH_zynqmpeg = "${PKG_ARCH_XLNX}"
diff --git a/meta-xilinx-bsp/recipes-graphics/wayland/weston_%.bbappend b/meta-xilinx-bsp/recipes-graphics/wayland/weston_%.bbappend
new file mode 100644
index 00000000..febf1636
--- /dev/null
+++ b/meta-xilinx-bsp/recipes-graphics/wayland/weston_%.bbappend
@@ -0,0 +1,9 @@
1# OpenGL comes from libmali on ev/eg, when egl is enabled
2DEPENDS_MALI_XLNX = "${@bb.utils.contains('PACKAGECONFIG', 'egl', 'libmali-xlnx', '', d)}"
3PKG_ARCH_XLNX = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${SOC_VARIANT_ARCH}', '${TUNE_PKGARCH}', d)}"
4
5DEPENDS_append_zynqmpev = " ${DEPENDS_MALI_XLNX}"
6DEPENDS_append_zynqmpeg = " ${DEPENDS_MALI_XLNX}"
7
8PACKAGE_ARCH_zynqmpev = "${PKG_ARCH_XLNX}"
9PACKAGE_ARCH_zynqmpeg = "${PKG_ARCH_XLNX}"
diff --git a/meta-xilinx-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend b/meta-xilinx-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend
new file mode 100644
index 00000000..febf1636
--- /dev/null
+++ b/meta-xilinx-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend
@@ -0,0 +1,9 @@
1# OpenGL comes from libmali on ev/eg, when egl is enabled
2DEPENDS_MALI_XLNX = "${@bb.utils.contains('PACKAGECONFIG', 'egl', 'libmali-xlnx', '', d)}"
3PKG_ARCH_XLNX = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${SOC_VARIANT_ARCH}', '${TUNE_PKGARCH}', d)}"
4
5DEPENDS_append_zynqmpev = " ${DEPENDS_MALI_XLNX}"
6DEPENDS_append_zynqmpeg = " ${DEPENDS_MALI_XLNX}"
7
8PACKAGE_ARCH_zynqmpev = "${PKG_ARCH_XLNX}"
9PACKAGE_ARCH_zynqmpeg = "${PKG_ARCH_XLNX}"