* [PATCH] kbuild: set the initial value of subdir-rustflags-y
@ 2026-07-18 4:01 Yuntao Wang
2026-07-18 9:54 ` Miguel Ojeda
0 siblings, 1 reply; 2+ messages in thread
From: Yuntao Wang @ 2026-07-18 4:01 UTC (permalink / raw)
To: linux-kernel, linux-kbuild
Cc: Nathan Chancellor, Nicolas Schier, Miguel Ojeda, Gary Guo,
Alice Ryhl, Thomas De Schampheleire, Tamir Duberstein,
Alexandre Courbot, Yuntao Wang
Initialize subdir-rustflags-y to an empty value to prevent it from being
inadvertently affected by an environment variable of the same name.
Signed-off-by: Yuntao Wang <yuntao.wang@linux.dev>
---
scripts/Makefile.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 911745743246..e60d97ef535a 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -28,6 +28,7 @@ ldflags-y :=
subdir-asflags-y :=
subdir-ccflags-y :=
+subdir-rustflags-y :=
# Read auto.conf if it exists, otherwise ignore
-include $(objtree)/include/config/auto.conf
--
2.54.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] kbuild: set the initial value of subdir-rustflags-y
2026-07-18 4:01 [PATCH] kbuild: set the initial value of subdir-rustflags-y Yuntao Wang
@ 2026-07-18 9:54 ` Miguel Ojeda
0 siblings, 0 replies; 2+ messages in thread
From: Miguel Ojeda @ 2026-07-18 9:54 UTC (permalink / raw)
To: Yuntao Wang
Cc: linux-kernel, linux-kbuild, Nathan Chancellor, Nicolas Schier,
Miguel Ojeda, Gary Guo, Alice Ryhl, Thomas De Schampheleire,
Tamir Duberstein, Alexandre Courbot
On Sat, Jul 18, 2026 at 6:03 AM Yuntao Wang <yuntao.wang@linux.dev> wrote:
>
> Initialize subdir-rustflags-y to an empty value to prevent it from being
> inadvertently affected by an environment variable of the same name.
>
> Signed-off-by: Yuntao Wang <yuntao.wang@linux.dev>
Sounds good, thanks!
I guess we can take this via either Kbuild or Rust -- happy either way.
Cheers,
Miguel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-07-18 9:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-18 4:01 [PATCH] kbuild: set the initial value of subdir-rustflags-y Yuntao Wang
2026-07-18 9:54 ` Miguel Ojeda
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.