diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-01-26 08:19:41 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2024-01-30 17:48:07 -0700 |
commit | 15af87613d96b949539aeb43d1ce738a2d4838ae (patch) | |
tree | eb261ddded8399fbff412be51e2a39bc93993fdc | |
parent | 0b4dd99525b504cec333ab157cbc40674148a8df (diff) | |
download | meta-xilinx-15af87613d96b949539aeb43d1ce738a2d4838ae.tar.gz |
mesa: Limit AMD (Xilinx) DRI patch to target only
The DRI patch is only relevant when used with an AMD (Xilinx) machine.
When a nativesdk version of mesa is built the patch will cause a patching
failure.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r-- | meta-xilinx-core/recipes-graphics/mesa/mesa_%.bbappend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-xilinx-core/recipes-graphics/mesa/mesa_%.bbappend b/meta-xilinx-core/recipes-graphics/mesa/mesa_%.bbappend index d148e679..86183f54 100644 --- a/meta-xilinx-core/recipes-graphics/mesa/mesa_%.bbappend +++ b/meta-xilinx-core/recipes-graphics/mesa/mesa_%.bbappend | |||
@@ -1,5 +1,5 @@ | |||
1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" |
2 | SRC_URI += "file://0001-DRI_Add_xlnx_dri.patch" | 2 | SRC_URI:append:class-target = " file://0001-DRI_Add_xlnx_dri.patch" |
3 | 3 | ||
4 | # This is not compatible with the mali400 driver, use mesa-gl instead | 4 | # This is not compatible with the mali400 driver, use mesa-gl instead |
5 | CONFLICT_DISTRO_FEATURES:class-target = "${@bb.utils.contains('MACHINE_FEATURES', 'mali400', bb.utils.contains('DISTRO_FEATURES', 'libmali', 'libmali', '', d), '', d)}" | 5 | CONFLICT_DISTRO_FEATURES:class-target = "${@bb.utils.contains('MACHINE_FEATURES', 'mali400', bb.utils.contains('DISTRO_FEATURES', 'libmali', 'libmali', '', d), '', d)}" |