kbuild: set the initial value of subdir-rustflags-y

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>
Link: https://patch.msgid.link/20260718040146.294700-1-yuntao.wang@linux.dev
Signed-off-by: Nicolas Schier <nsc@kernel.org>
This commit is contained in:
Yuntao Wang 2026-07-18 12:01:46 +08:00 committed by Nicolas Schier
parent a75c339a69
commit f78f3c4c2b
No known key found for this signature in database
GPG Key ID: 07520A7016261269

View File

@ -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