summaryrefslogtreecommitdiffstats
path: root/scripts/Kbuild.include
diff options
context:
space:
mode:
authorMasahiro Yamada2018-11-30 02:05:25 +0100
committerMasahiro Yamada2018-12-01 15:13:14 +0100
commitee3e46b7efd2954479f87030d31fda3c22bbc763 (patch)
tree94fe222e060732cf27151e38a9c5075ec11eee24 /scripts/Kbuild.include
parentkbuild: remove redundant 'set -e' from sub_cmd_record_mcount (diff)
downloadkernel-qcow2-linux-ee3e46b7efd2954479f87030d31fda3c22bbc763.tar.gz
kernel-qcow2-linux-ee3e46b7efd2954479f87030d31fda3c22bbc763.tar.xz
kernel-qcow2-linux-ee3e46b7efd2954479f87030d31fda3c22bbc763.zip
kbuild: refactor modversions build rules
Let $(CC) compile objects into normal files *.o instead of .tmp_*.o whether CONFIG_MODVERSIONS is enabled or not. With this, the input file for objtool is always *.o so objtool_o can go away. I guess the reason of using .tmp_*.o for intermediate objects was to avoid leaving incomplete *.o file (, whose timestamp says it is up-to-date) when the genksyms tool failed for some reasons. It no longer matters because any targets are deleted on errors since commit 9c2af1c7377a ("kbuild: add .DELETE_ON_ERROR special target"). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/Kbuild.include')
0 files changed, 0 insertions, 0 deletions