]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - arch/loongarch/Makefile
Merge tag 'loongarch-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai...
[thirdparty/linux.git] / arch / loongarch / Makefile
index e3bc02fb7fdcce1d3224371b73c0578adb7dd827..df6caf79537a9d884aa97161a32840782147460e 100644 (file)
@@ -101,6 +101,7 @@ ifdef CONFIG_OBJTOOL
 KBUILD_CFLAGS                  += -fno-jump-tables
 endif
 
+KBUILD_RUSTFLAGS                       += --target=$(objtree)/scripts/target.json
 KBUILD_RUSTFLAGS_MODULE                += -Crelocation-model=pic
 
 ifeq ($(CONFIG_RELOCATABLE),y)