diff mbox series

[2/2] mesa: Do not use envvar BINDGEN_EXTRA_CLANG_ARGS

Message ID 20250506022231.1665007-2-raj.khem@gmail.com
State Accepted, archived
Commit 4e0bf4e1abab97ac149a7483742d466e9f07ddd4
Headers show
Series [1/2] meson: correct bindgen_clang_argments | expand

Commit Message

Khem Raj May 6, 2025, 2:22 a.m. UTC
Its now set in meson bbclass for native, nativesdk and target recipes
correctly.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-graphics/mesa/mesa.inc | 4 ----
 1 file changed, 4 deletions(-)

Comments

Dmitry Baryshkov May 6, 2025, 9:55 a.m. UTC | #1
On Mon, May 05, 2025 at 07:22:31PM -0700, Khem Raj wrote:
> Its now set in meson bbclass for native, nativesdk and target recipes
> correctly.
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-graphics/mesa/mesa.inc | 4 ----
>  1 file changed, 4 deletions(-)
> 

Acked-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>

But I wonder, what made you change your mind?
Khem Raj May 6, 2025, 1:18 p.m. UTC | #2
On Tue, May 6, 2025 at 2:55 AM Dmitry Baryshkov
<dmitry.baryshkov@oss.qualcomm.com> wrote:
>
> On Mon, May 05, 2025 at 07:22:31PM -0700, Khem Raj wrote:
> > Its now set in meson bbclass for native, nativesdk and target recipes
> > correctly.
> >
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> >  meta/recipes-graphics/mesa/mesa.inc | 4 ----
> >  1 file changed, 4 deletions(-)
> >
>
> Acked-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
>
> But I wonder, what made you change your mind?

I read through meson documentation and they do have bindgen support
variables added so
informed myself :)

>
> --
> With best wishes
> Dmitry
diff mbox series

Patch

diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 66fb896676a..288027bbb99 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -267,10 +267,6 @@  PACKAGES =+ "libegl-mesa libegl-mesa-dev \
              mesa-vdpau-drivers mesa-tools \
             "
 
-do_compile:prepend:class-target() {
-    export BINDGEN_EXTRA_CLANG_ARGS="${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} --target=${TARGET_SYS}"
-}
-
 do_install:append () {
     # libwayland-egl has been moved to wayland 1.15+
     rm -f ${D}${libdir}/libwayland-egl*