diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-10-18 16:08:20 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-26 12:28:39 +0100 |
commit | 10ac1595e12b4882e3e3b4b91528b41511b891a3 (patch) | |
tree | 14eaad93759e88f986ebc0e6a44840a574db1206 /meta/recipes-graphics/mesa/mesa.inc | |
parent | d8a5c6551d3aeafdc6e7d02ecc4a0916a8d9e988 (diff) | |
download | poky-10ac1595e12b4882e3e3b4b91528b41511b891a3.tar.gz |
mesa: Add native patch via a variable
This helps override the SRC_URI in entirety if needed by
and overriding recipe
(From OE-Core rev: 42a0cb57503dff5ac2404f83353661fe9f987e5d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa.inc')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index c94e439363..04d78a6aa5 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
@@ -19,10 +19,11 @@ SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ | |||
19 | file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \ | 19 | file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \ |
20 | file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch \ | 20 | file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch \ |
21 | file://0001-util-format-Check-for-NEON-before-using-it.patch \ | 21 | file://0001-util-format-Check-for-NEON-before-using-it.patch \ |
22 | ${NATIVE_PATCHES} \ | ||
22 | " | 23 | " |
23 | 24 | NATIVE_PATCHES ?= "" | |
24 | # required by mesa-native on Ubuntu 18.04 with gcc 7.5 when DEBUG_BUILD enabled | 25 | # required by mesa-native on Ubuntu 18.04 with gcc 7.5 when DEBUG_BUILD enabled |
25 | SRC_URI:append:class-native = " file://0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch" | 26 | NATIVE_PATCHES:class-native = "file://0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch" |
26 | 27 | ||
27 | SRC_URI[sha256sum] = "b1f9c8fd08f2cae3adf83355bef4d2398e8025f44947332880f2d0066bdafa8c" | 28 | SRC_URI[sha256sum] = "b1f9c8fd08f2cae3adf83355bef4d2398e8025f44947332880f2d0066bdafa8c" |
28 | 29 | ||