diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2022-10-24 18:28:43 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2022-10-25 07:28:58 -0700 |
| commit | c873c17657b2ae93bac9e3d116b0457c8631273e (patch) | |
| tree | f0ad698fd4e1af61636895203be6f3db132af141 | |
| parent | 6ee6bb620e42de789e61a3078074c53a65f6e94c (diff) | |
| download | meta-xilinx-c873c17657b2ae93bac9e3d116b0457c8631273e.tar.gz | |
mali400: mali400 is now a MACHINE_FEATURE, set package arch to MACHINE_ARCH
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
12 files changed, 20 insertions, 19 deletions
diff --git a/meta-xilinx-core/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-x11_%.bbappend b/meta-xilinx-core/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-x11_%.bbappend index bb792de2..53475f64 100644 --- a/meta-xilinx-core/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-x11_%.bbappend +++ b/meta-xilinx-core/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-x11_%.bbappend | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | # Has a dependency on libmali | 1 | # Has a dependency on libmali |
| 2 | PACKAGE_ARCH:mali400 = "${SOC_VARIANT_ARCH}" | 2 | PACKAGE_ARCH:mali400 = "${MACHINE_ARCH}" |
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu_%.bbappend b/meta-xilinx-core/recipes-devtools/qemu/qemu_%.bbappend index bb792de2..53475f64 100644 --- a/meta-xilinx-core/recipes-devtools/qemu/qemu_%.bbappend +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu_%.bbappend | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | # Has a dependency on libmali | 1 | # Has a dependency on libmali |
| 2 | PACKAGE_ARCH:mali400 = "${SOC_VARIANT_ARCH}" | 2 | PACKAGE_ARCH:mali400 = "${MACHINE_ARCH}" |
diff --git a/meta-xilinx-core/recipes-gnome/gtk+/gtk+3_%.bbappend b/meta-xilinx-core/recipes-gnome/gtk+/gtk+3_%.bbappend index bb792de2..53475f64 100644 --- a/meta-xilinx-core/recipes-gnome/gtk+/gtk+3_%.bbappend +++ b/meta-xilinx-core/recipes-gnome/gtk+/gtk+3_%.bbappend | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | # Has a dependency on libmali | 1 | # Has a dependency on libmali |
| 2 | PACKAGE_ARCH:mali400 = "${SOC_VARIANT_ARCH}" | 2 | PACKAGE_ARCH:mali400 = "${MACHINE_ARCH}" |
diff --git a/meta-xilinx-core/recipes-graphics/cairo/cairo_%.bbappend b/meta-xilinx-core/recipes-graphics/cairo/cairo_%.bbappend index 68805315..4efd957d 100644 --- a/meta-xilinx-core/recipes-graphics/cairo/cairo_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/cairo/cairo_%.bbappend | |||
| @@ -4,4 +4,4 @@ PACKAGECONFIG:mali400 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb | |||
| 4 | # OpenGL comes from libmali | 4 | # OpenGL comes from libmali |
| 5 | DEPENDS:append:mali400 = " libmali-xlnx" | 5 | DEPENDS:append:mali400 = " libmali-xlnx" |
| 6 | 6 | ||
| 7 | PACKAGE_ARCH:mali400 = "${SOC_VARIANT_ARCH}" | 7 | PACKAGE_ARCH:mali400 = "${MACHINE_ARCH}" |
diff --git a/meta-xilinx-core/recipes-graphics/libepoxy/libepoxy_%.bbappend b/meta-xilinx-core/recipes-graphics/libepoxy/libepoxy_%.bbappend index bb792de2..53475f64 100644 --- a/meta-xilinx-core/recipes-graphics/libepoxy/libepoxy_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/libepoxy/libepoxy_%.bbappend | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | # Has a dependency on libmali | 1 | # Has a dependency on libmali |
| 2 | PACKAGE_ARCH:mali400 = "${SOC_VARIANT_ARCH}" | 2 | PACKAGE_ARCH:mali400 = "${MACHINE_ARCH}" |
diff --git a/meta-xilinx-core/recipes-graphics/libgles/libmali-xlnx.bb b/meta-xilinx-core/recipes-graphics/libgles/libmali-xlnx.bb index 3159829d..ebdda630 100644 --- a/meta-xilinx-core/recipes-graphics/libgles/libmali-xlnx.bb +++ b/meta-xilinx-core/recipes-graphics/libgles/libmali-xlnx.bb | |||
| @@ -27,8 +27,7 @@ SRC_URI = " \ | |||
| 27 | file://gbm.pc \ | 27 | file://gbm.pc \ |
| 28 | " | 28 | " |
| 29 | 29 | ||
| 30 | PACKAGE_ARCH = "${SOC_VARIANT_ARCH}" | 30 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 31 | |||
| 32 | 31 | ||
| 33 | S = "${WORKDIR}/git" | 32 | S = "${WORKDIR}/git" |
| 34 | 33 | ||
diff --git a/meta-xilinx-core/recipes-graphics/libglu/libglu_%.bbappend b/meta-xilinx-core/recipes-graphics/libglu/libglu_%.bbappend index 54fb4298..82725e4f 100644 --- a/meta-xilinx-core/recipes-graphics/libglu/libglu_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/libglu/libglu_%.bbappend | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | # OpenGL comes from libmali, adjust parameters | 1 | # OpenGL comes from libmali, adjust parameters |
| 2 | DEPENDS:append:mali400 = " virtual/libgles2" | 2 | DEPENDS:append:mali400 = " virtual/libgles2" |
| 3 | PACKAGE_ARCH:mali400 = "${SOC_VARIANT_ARCH}" | 3 | PACKAGE_ARCH:mali400 = "${MACHINE_ARCH}" |
diff --git a/meta-xilinx-core/recipes-graphics/libsdl2/libsdl2_%.bbappend b/meta-xilinx-core/recipes-graphics/libsdl2/libsdl2_%.bbappend index c3b20716..ee4ca7bb 100644 --- a/meta-xilinx-core/recipes-graphics/libsdl2/libsdl2_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/libsdl2/libsdl2_%.bbappend | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | # Has a dependency on libmali | 1 | # Has a dependency on libmali |
| 2 | PACKAGE_ARCH:mali400 = "${SOC_VARIANT_ARCH}" | 2 | PACKAGE_ARCH:mali400 = "${MACHINE_ARCH}" |
| 3 | 3 | ||
diff --git a/meta-xilinx-core/recipes-graphics/mesa/mesa-demos_%.bbappend b/meta-xilinx-core/recipes-graphics/mesa/mesa-demos_%.bbappend index ca910830..d430b63e 100644 --- a/meta-xilinx-core/recipes-graphics/mesa/mesa-demos_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/mesa/mesa-demos_%.bbappend | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # OpenGL comes from libmali on ev/eg, when egl is enabled | 1 | # OpenGL comes from libmali on ev/eg, when egl is enabled |
| 2 | DEPENDS:append:mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' libmali-xlnx', '', d)}" | 2 | DEPENDS:append:mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' libmali-xlnx', '', d)}" |
| 3 | 3 | ||
| 4 | PACKAGE_ARCH:mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${SOC_VARIANT_ARCH}', '${TUNE_PKGARCH}', d)}" | 4 | PACKAGE_ARCH:mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${MACHINE_ARCH}', '${TUNE_PKGARCH}', d)}" |
diff --git a/meta-xilinx-core/recipes-graphics/virglrenderer/virglrenderer_%.bbappend b/meta-xilinx-core/recipes-graphics/virglrenderer/virglrenderer_%.bbappend index bb792de2..53475f64 100644 --- a/meta-xilinx-core/recipes-graphics/virglrenderer/virglrenderer_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/virglrenderer/virglrenderer_%.bbappend | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | # Has a dependency on libmali | 1 | # Has a dependency on libmali |
| 2 | PACKAGE_ARCH:mali400 = "${SOC_VARIANT_ARCH}" | 2 | PACKAGE_ARCH:mali400 = "${MACHINE_ARCH}" |
diff --git a/meta-xilinx-core/recipes-graphics/wayland/weston_%.bbappend b/meta-xilinx-core/recipes-graphics/wayland/weston_%.bbappend index 199133f9..85176995 100644 --- a/meta-xilinx-core/recipes-graphics/wayland/weston_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/wayland/weston_%.bbappend | |||
| @@ -2,16 +2,18 @@ FILESEXTRAPATHS:prepend:zynqmp := "${THISDIR}/files:" | |||
| 2 | 2 | ||
| 3 | SRC_URI:append:zynqmp = " file://0001-libweston-Remove-substitute-format-for-ARGB8888.patch" | 3 | SRC_URI:append:zynqmp = " file://0001-libweston-Remove-substitute-format-for-ARGB8888.patch" |
| 4 | 4 | ||
| 5 | # Due to the SRC_URI zynqmp specific change, this needs to be SOC_FAMILY_ARCH specific | ||
| 6 | SOC_FAMILY_ARCH ??= "${TUNE_PKGARCH}" | ||
| 7 | PACKAGE_ARCH:zynqmp = "${SOC_FAMILY_ARCH}" | ||
| 8 | |||
| 9 | |||
| 5 | # OpenGL comes from libmali on ev/eg, when egl is enabled | 10 | # OpenGL comes from libmali on ev/eg, when egl is enabled |
| 6 | DEPENDS:append:mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' libmali-xlnx', '', d)}" | 11 | DEPENDS:append:mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' libmali-xlnx', '', d)}" |
| 7 | 12 | ||
| 8 | # Due to the SRC_URI zynqmp specific change, this needs to be SOC_FAMILY_ARCH specific | 13 | # Store the default value |
| 9 | SOC_FAMILY_ARCH ??= "${TUNE_PKGARCH}" | 14 | DEFAULT_PKGARCH:mali400 := "${PACKAGE_ARCH}" |
| 10 | ZYNQMP_PKGARCH = "${SOC_FAMILY_ARCH}" | 15 | # Set to machine_arch or default_pkgarch |
| 11 | # But if egl is enabled, we also need to be SOC_VARIANT_ARCH specific due to libmali | 16 | PACKAGE_ARCH:mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${MACHINE_ARCH}', '${DEFAULT_PKGARCH}', d)}" |
| 12 | ZYNQMP_PKGARCH:mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${SOC_VARIANT_ARCH}', '${SOC_FAMILY_ARCH}', d)}" | ||
| 13 | 17 | ||
| 14 | # Skip dmabuf-feedback, as it requires gbm >= 21.1.1, mali-xlnx only provides 17.3 | 18 | # Skip dmabuf-feedback, as it requires gbm >= 21.1.1, mali-xlnx only provides 17.3 |
| 15 | SIMPLECLIENTS:mali400 ?= "damage,im,egl,shm,touch,dmabuf-v4l,dmabuf-egl" | 19 | SIMPLECLIENTS:mali400 ?= "damage,im,egl,shm,touch,dmabuf-v4l,dmabuf-egl" |
| 16 | |||
| 17 | PACKAGE_ARCH:zynqmp = "${ZYNQMP_PKGARCH}" | ||
diff --git a/meta-xilinx-core/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend b/meta-xilinx-core/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend index ca910830..d430b63e 100644 --- a/meta-xilinx-core/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend +++ b/meta-xilinx-core/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # OpenGL comes from libmali on ev/eg, when egl is enabled | 1 | # OpenGL comes from libmali on ev/eg, when egl is enabled |
| 2 | DEPENDS:append:mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' libmali-xlnx', '', d)}" | 2 | DEPENDS:append:mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' libmali-xlnx', '', d)}" |
| 3 | 3 | ||
| 4 | PACKAGE_ARCH:mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${SOC_VARIANT_ARCH}', '${TUNE_PKGARCH}', d)}" | 4 | PACKAGE_ARCH:mali400 = "${@bb.utils.contains('PACKAGECONFIG', 'egl', '${MACHINE_ARCH}', '${TUNE_PKGARCH}', d)}" |
