diff options
Diffstat (limited to 'meta-xilinx-core/recipes-graphics/wayland/weston.inc')
-rw-r--r-- | meta-xilinx-core/recipes-graphics/wayland/weston.inc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-graphics/wayland/weston.inc b/meta-xilinx-core/recipes-graphics/wayland/weston.inc new file mode 100644 index 00000000..fadc9486 --- /dev/null +++ b/meta-xilinx-core/recipes-graphics/wayland/weston.inc | |||
@@ -0,0 +1,15 @@ | |||
1 | SRC_URI:append:zynqmp = " file://0001-libweston-Remove-substitute-format-for-ARGB8888.patch" | ||
2 | |||
3 | # Due to the SRC_URI zynqmp specific change, this needs to be SOC_FAMILY_ARCH specific | ||
4 | SOC_FAMILY_ARCH ??= "${TUNE_PKGARCH}" | ||
5 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | ||
6 | DEFAULT_PACKAGE_ARCH:zynqmp = "${SOC_FAMILY_ARCH}" | ||
7 | PACKAGE_ARCH = "${DEFAULT_PACKAGE_ARCH}" | ||
8 | |||
9 | |||
10 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | ||
11 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | ||
12 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
13 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | ||
14 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
15 | PACKAGE_ARCH = "${@bb.utils.contains_any('DEPENDS', 'virtual/libgles1 virtual/libgles2 virtual/egl virtual/libgbm', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | ||