mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kbuild: set the initial value of subdir-rustflags-y
@ 2026-07-18  4:01 Yuntao Wang
  0 siblings, 0 replies; only message 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	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-18  4:03 UTC | newest]

Thread overview: (only message) (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

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