public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH v2] mesa: Add native patch via a variable
@ 2022-10-18 23:08 Khem Raj
  2022-10-19  5:42 ` [OE-core] " Alexander Kanavin
       [not found] ` <171F61FEE1540458.9064@lists.openembedded.org>
  0 siblings, 2 replies; 23+ messages in thread
From: Khem Raj @ 2022-10-18 23:08 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj, Kai Kang

This helps override the SRC_URI in entirety if needed by
and overriding recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Kai Kang <kai.kang@windriver.com>
---
v2: Weakly define NATIVE_PATCHES

 meta/recipes-graphics/mesa/mesa.inc | 5 +++--
 1 file 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 \
            file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \
            file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch \
            file://0001-util-format-Check-for-NEON-before-using-it.patch \
+           ${NATIVE_PATCHES} \
            "
-
+NATIVE_PATCHES ?= ""
 # required by mesa-native on Ubuntu 18.04 with gcc 7.5 when DEBUG_BUILD enabled
-SRC_URI:append:class-native = " file://0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch"
+NATIVE_PATCHES:class-native = "file://0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch"
 
 SRC_URI[sha256sum] = "b1f9c8fd08f2cae3adf83355bef4d2398e8025f44947332880f2d0066bdafa8c"
 
-- 
2.38.0



^ permalink raw reply related	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2022-10-28 18:02 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-18 23:08 [PATCH v2] mesa: Add native patch via a variable Khem Raj
2022-10-19  5:42 ` [OE-core] " Alexander Kanavin
2022-10-19  6:34   ` Khem Raj
2022-10-19  6:54     ` Alexander Kanavin
2022-10-19 15:04       ` Khem Raj
     [not found]     ` <171F65F5948858B5.6129@lists.openembedded.org>
2022-10-19 10:35       ` Alexander Kanavin
2022-10-26 14:34         ` Mark Hatle
2022-10-26 16:03           ` Alexander Kanavin
2022-10-26 17:20             ` Mark Hatle
2022-10-26 17:48               ` Joshua Watt
2022-10-26 18:01                 ` Alexander Kanavin
2022-10-27  0:46                   ` Mark Hatle
2022-10-28 10:59                     ` Alexander Kanavin
2022-10-28 18:01                       ` Mark Hatle
2022-10-26 20:58                 ` Mark Hatle
2022-10-19 15:29     ` Ross Burton
2022-10-19 16:04       ` Alexander Kanavin
2022-10-26 14:13         ` Richard Purdie
2022-10-19 16:05       ` Martin Jansa
2022-10-21 21:59       ` Khem Raj
     [not found] ` <171F61FEE1540458.9064@lists.openembedded.org>
2022-10-19  5:50   ` Alexander Kanavin
2022-10-19  5:55     ` Kai
2022-10-19  5:58     ` Martin Jansa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox