diff options
| author | Mark Hatle <mark.hatle@xilinx.com> | 2021-05-18 15:09:57 -0700 |
|---|---|---|
| committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2021-07-14 15:01:47 -0700 |
| commit | 2430f6812a79ab585eb0bd2317def78e8b38ba25 (patch) | |
| tree | bac8fdb9470838734a74307b00b4e57298c2bd3d | |
| parent | 43f2a58613cf2f56faf0c8e0b3f878f79aa16472 (diff) | |
| download | meta-xilinx-2430f6812a79ab585eb0bd2317def78e8b38ba25.tar.gz | |
weston: The package uses different sources when build on zynqmp
Issue: CR-1099768
Combine two different weston bbappends to avoid confusion and conflicts
between the two.
Adjust the parameters of the original bbappend to use the mali400 override,
as well as define a new zynqmp (non-mali) PACKAGE_ARCH due to the SRC_URI
patch that is also zynqmp specific.
The end result will be:
not-zynqmp: TUNE_PKGARCH
zynqmp w/o mali: SOC_FAMILY_ARCH
zynqmp w/ mali: SOC_VARIANT_ARCH
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| -rw-r--r-- | meta-xilinx-bsp/recipes-graphics/wayland/files/0001-libweston-Remove-substitute-format-for-ARGB8888.patch (renamed from meta-xilinx-bsp/recipes-graphics/weston/files/0001-libweston-Remove-substitute-format-for-ARGB8888.patch) | 0 | ||||
| -rw-r--r-- | meta-xilinx-bsp/recipes-graphics/wayland/files/weston.ini (renamed from meta-xilinx-bsp/recipes-graphics/weston/files/weston.ini) | 0 | ||||
| -rw-r--r-- | meta-xilinx-bsp/recipes-graphics/wayland/weston-init%.bbappend (renamed from meta-xilinx-bsp/recipes-graphics/weston/weston-init%.bbappend) | 0 | ||||
| -rw-r--r-- | meta-xilinx-bsp/recipes-graphics/wayland/weston_%.bbappend | 17 | ||||
| -rw-r--r-- | meta-xilinx-bsp/recipes-graphics/weston/weston_%.bbappend | 3 |
5 files changed, 11 insertions, 9 deletions
diff --git a/meta-xilinx-bsp/recipes-graphics/weston/files/0001-libweston-Remove-substitute-format-for-ARGB8888.patch b/meta-xilinx-bsp/recipes-graphics/wayland/files/0001-libweston-Remove-substitute-format-for-ARGB8888.patch index 33d33b0f..33d33b0f 100644 --- a/meta-xilinx-bsp/recipes-graphics/weston/files/0001-libweston-Remove-substitute-format-for-ARGB8888.patch +++ b/meta-xilinx-bsp/recipes-graphics/wayland/files/0001-libweston-Remove-substitute-format-for-ARGB8888.patch | |||
diff --git a/meta-xilinx-bsp/recipes-graphics/weston/files/weston.ini b/meta-xilinx-bsp/recipes-graphics/wayland/files/weston.ini index 2ff81795..2ff81795 100644 --- a/meta-xilinx-bsp/recipes-graphics/weston/files/weston.ini +++ b/meta-xilinx-bsp/recipes-graphics/wayland/files/weston.ini | |||
diff --git a/meta-xilinx-bsp/recipes-graphics/weston/weston-init%.bbappend b/meta-xilinx-bsp/recipes-graphics/wayland/weston-init%.bbappend index aaee7f5d..aaee7f5d 100644 --- a/meta-xilinx-bsp/recipes-graphics/weston/weston-init%.bbappend +++ b/meta-xilinx-bsp/recipes-graphics/wayland/weston-init%.bbappend | |||
diff --git a/meta-xilinx-bsp/recipes-graphics/wayland/weston_%.bbappend b/meta-xilinx-bsp/recipes-graphics/wayland/weston_%.bbappend index 9644aa1b..19d8ac6c 100644 --- a/meta-xilinx-bsp/recipes-graphics/wayland/weston_%.bbappend +++ b/meta-xilinx-bsp/recipes-graphics/wayland/weston_%.bbappend | |||
| @@ -1,9 +1,14 @@ | |||
| 1 | FILESEXTRAPATHS_prepend_zynqmp := "${THISDIR}/files:" | ||
| 2 | |||
| 3 | SRC_URI_append_zynqmp = " file://0001-libweston-Remove-substitute-format-for-ARGB8888.patch" | ||
| 4 | |||
| 1 | # OpenGL comes from libmali on ev/eg, when egl is enabled | 5 | # OpenGL comes from libmali on ev/eg, when egl is enabled |
| 2 | DEPENDS_MALI_XLNX = "${@bb.utils.contains('PACKAGECONFIG', 'egl', 'libmali-xlnx', '', d)}" | 6 | DEPENDS_append_mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' libmali-xlnx', '', d)}" |
| 3 | PKG_ARCH_XLNX = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${SOC_VARIANT_ARCH}', '${TUNE_PKGARCH}', d)}" | ||
| 4 | 7 | ||
| 5 | DEPENDS_append_zynqmp-ev = " ${DEPENDS_MALI_XLNX}" | 8 | # Due to the SRC_URI zynqmp specific change, this needs to be SOC_FAMILY_ARCH specific |
| 6 | DEPENDS_append_zynqmp-eg = " ${DEPENDS_MALI_XLNX}" | 9 | SOC_FAMILY_ARCH ??= "${TUNE_PKGARCH}" |
| 10 | ZYNQMP_PKGARCH = "${SOC_FAMILY_ARCH}" | ||
| 11 | # But if egl is enabled, we also need to be SOC_VARIANT_ARCH specific due to libmali | ||
| 12 | ZYNQMP_PKGARCH_mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${SOC_VARIANT_ARCH}', '${SOC_FAMILY_ARCH}', d)}" | ||
| 7 | 13 | ||
| 8 | PACKAGE_ARCH_zynqmp-ev = "${PKG_ARCH_XLNX}" | 14 | PACKAGE_ARCH_zynqmp = "${ZYNQMP_PKGARCH}" |
| 9 | PACKAGE_ARCH_zynqmp-eg = "${PKG_ARCH_XLNX}" | ||
diff --git a/meta-xilinx-bsp/recipes-graphics/weston/weston_%.bbappend b/meta-xilinx-bsp/recipes-graphics/weston/weston_%.bbappend deleted file mode 100644 index d1912a81..00000000 --- a/meta-xilinx-bsp/recipes-graphics/weston/weston_%.bbappend +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | FILESEXTRAPATHS_prepend_zynqmp := "${THISDIR}/files:" | ||
| 2 | |||
| 3 | SRC_URI_append_zynqmp = " file://0001-libweston-Remove-substitute-format-for-ARGB8888.patch" | ||
