diff options
| author | Masahiro Yamada <[email protected]> | 2018-03-16 07:37:09 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2018-03-25 17:01:21 +0000 |
| commit | ce99d0bf312daf0178e640da9e3c93b773a67e7d (patch) | |
| tree | 8fe9c4fcae4fb441918f4a00133a5650d9e9ab79 /scripts/basic/fixdep.c | |
| parent | kbuild: remove internally used LDFLAGS_vmlinux from kbuild.txt (diff) | |
| download | kernel-ce99d0bf312daf0178e640da9e3c93b773a67e7d.tar.gz kernel-ce99d0bf312daf0178e640da9e3c93b773a67e7d.zip | |
kbuild: clear LDFLAGS in the top Makefile
Currently LDFLAGS is not cleared, so same flags are accumulated in
LDFLAGS when the top Makefile is recursively invoked.
I found unneeded rebuild for ARCH=arm64 when CONFIG_TRIM_UNUSED_KSYMS
is enabled. If include/generated/autoksyms.h is updated, the top
Makefile is recursively invoked, then arch/arm64/Makefile adds one
more '-maarch64linux'. Due to the command line change, modules are
rebuilt needlessly.
Signed-off-by: Masahiro Yamada <[email protected]>
Acked-by: Nicolas Pitre <[email protected]>
Diffstat (limited to 'scripts/basic/fixdep.c')
0 files changed, 0 insertions, 0 deletions
