Home
last modified time | relevance | path

Searched hist:ce99d0bf312daf0178e640da9e3c93b773a67e7d (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/
H A DMakefilece99d0bf312daf0178e640da9e3c93b773a67e7d Fri Mar 16 02:37:09 CDT 2018 Masahiro Yamada <yamada.masahiro@socionext.com> 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 <yamada.masahiro@socionext.com>
Acked-by: Nicolas Pitre <nico@linaro.org>