diff options
author | Mark Hatle <mark.hatle@amd.com> | 2023-08-16 13:56:51 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2023-08-24 16:04:25 -0600 |
commit | 42b2b9ea8f6203c8117bcc7f3f70024e65c5e55e (patch) | |
tree | 570796376884e34cac4a63e70e534d972875412e /meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2023.1.bb | |
parent | 52e51056ac0e7b705f9e8ae6b2ccb9fa2f3f7520 (diff) | |
download | meta-xilinx-42b2b9ea8f6203c8117bcc7f3f70024e65c5e55e.tar.gz |
Various: Update mali support to ignore recipe hash changes
MALI_PACKAGE_ARCH depends MACHINE_ARCH depends on MACHINE
We can ignore MACHINE_ARCH, as only the resulting value matters, otherwise
the package now depends on MACHINE
PACKAGE_ARCH can ignore MALI_PACKAGE_ARCH, again only the
resulting value of PACKAGE_ARCH matters. Otherwise the value
of MALI_PACKAGE_ARCH will be used in the hash, even if the condition is
not true.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2023.1.bb')
-rw-r--r-- | meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2023.1.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2023.1.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2023.1.bb index 6c1851ba..3b12d161 100644 --- a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2023.1.bb +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2023.1.bb | |||
@@ -5,7 +5,9 @@ require qemu-alt.inc | |||
5 | 5 | ||
6 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | 6 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific |
7 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | 7 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
8 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
8 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | 9 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" |
10 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
9 | PACKAGE_ARCH:class-target = "${@bb.utils.contains_any('DEPENDS', 'libepoxy virglrenderer', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | 11 | PACKAGE_ARCH:class-target = "${@bb.utils.contains_any('DEPENDS', 'libepoxy virglrenderer', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" |
10 | 12 | ||
11 | BBCLASSEXTEND = "nativesdk" | 13 | BBCLASSEXTEND = "nativesdk" |