diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-08-14 18:06:22 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-08-21 14:05:21 +0200 |
commit | 10df063855822fcea3c0f51dbf534ad643d3cb1b (patch) | |
tree | 437f5b671d7ceb1870ffa245fd27e2ef45a4892c /Makefile | |
parent | kbuild: move KBUILD_LDS, KBUILD_VMLINUX_{OBJS,LIBS} to makefiles.rst (diff) | |
download | linux-10df063855822fcea3c0f51dbf534ad643d3cb1b.tar.xz linux-10df063855822fcea3c0f51dbf534ad643d3cb1b.zip |
kbuild: rebuild modules when module linker scripts are updated
Currently, the timestamp of module linker scripts are not checked.
Add them to the dependency of modules so they are correctly rebuilt.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 := |