diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2020-11-06 08:11:27 -0800 |
---|---|---|
committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2020-11-17 13:17:12 -0800 |
commit | 42d7edcdc7d213725ca19cbae6154340e763fea5 (patch) | |
tree | 008086a41ba12583544f24541aa902deeab7a604 /meta-xilinx-bsp | |
parent | c433470ca798a1802a581d0b299b613eb560d2c7 (diff) | |
download | meta-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')
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 @@ | |||
1 | PACKAGECONFIG_zynqmp += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \ | 1 | PACKAGECONFIG_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 | ||
5 | DEPENDS_append_zynqmpev = " libmali-xlnx" | ||
6 | DEPENDS_append_zynqmpeg = " libmali-xlnx" | ||
7 | |||
8 | PACKAGE_ARCH_zynqmpev = "${SOC_VARIANT_ARCH}" | ||
9 | PACKAGE_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 | ||
2 | DEPENDS_MALI_XLNX = "${@bb.utils.contains('PACKAGECONFIG', 'egl', 'libmali-xlnx', '', d)}" | ||
3 | PKG_ARCH_XLNX = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${SOC_VARIANT_ARCH}', '${TUNE_PKGARCH}', d)}" | ||
4 | |||
5 | DEPENDS_append_zynqmpev = " ${DEPENDS_MALI_XLNX}" | ||
6 | DEPENDS_append_zynqmpeg = " ${DEPENDS_MALI_XLNX}" | ||
7 | |||
8 | PACKAGE_ARCH_zynqmpev = "${PKG_ARCH_XLNX}" | ||
9 | PACKAGE_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 | ||
2 | DEPENDS_MALI_XLNX = "${@bb.utils.contains('PACKAGECONFIG', 'egl', 'libmali-xlnx', '', d)}" | ||
3 | PKG_ARCH_XLNX = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${SOC_VARIANT_ARCH}', '${TUNE_PKGARCH}', d)}" | ||
4 | |||
5 | DEPENDS_append_zynqmpev = " ${DEPENDS_MALI_XLNX}" | ||
6 | DEPENDS_append_zynqmpeg = " ${DEPENDS_MALI_XLNX}" | ||
7 | |||
8 | PACKAGE_ARCH_zynqmpev = "${PKG_ARCH_XLNX}" | ||
9 | PACKAGE_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 | ||
2 | DEPENDS_MALI_XLNX = "${@bb.utils.contains('PACKAGECONFIG', 'egl', 'libmali-xlnx', '', d)}" | ||
3 | PKG_ARCH_XLNX = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${SOC_VARIANT_ARCH}', '${TUNE_PKGARCH}', d)}" | ||
4 | |||
5 | DEPENDS_append_zynqmpev = " ${DEPENDS_MALI_XLNX}" | ||
6 | DEPENDS_append_zynqmpeg = " ${DEPENDS_MALI_XLNX}" | ||
7 | |||
8 | PACKAGE_ARCH_zynqmpev = "${PKG_ARCH_XLNX}" | ||
9 | PACKAGE_ARCH_zynqmpeg = "${PKG_ARCH_XLNX}" | ||