VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Masahiro Yamada <yamada.masahiro@socionext.com> 2019-08-15 01:06:22 +0900 committer: Masahiro Yamada <yamada.masahiro@socionext.com> 2019-08-21 21:05:21 +0900 commit: 10df063855822fcea3c0f51dbf534ad643d3cb1b parent: 888f0c346ff01d544d1cb9da6395a7b3def7fe87
Commit Summary:
kbuild: rebuild modules when module linker scripts are updated
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/Makefile b/Makefile
index 68e7ac654f4c..9c524950f4b3 100644
--- a/Makefile
+++ b/Makefile
@@ -482,7 +482,8 @@ KBUILD_AFLAGS_KERNEL :=
 KBUILD_CFLAGS_KERNEL :=
 KBUILD_AFLAGS_MODULE  := -DMODULE
 KBUILD_CFLAGS_MODULE  := -DMODULE
-KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds
+KBUILD_LDFLAGS_MODULE :=
+export KBUILD_LDS_MODULE := $(srctree)/scripts/module-common.lds
 KBUILD_LDFLAGS :=
 GCC_PLUGINS_CFLAGS :=
 CLANG_FLAGS :=