diff options
author | Masahiro Yamada | 2018-07-20 09:46:36 +0200 |
---|---|---|
committer | Masahiro Yamada | 2018-07-25 16:25:32 +0200 |
commit | 2063945fdc3d4c0ac8f9319d942eda720d02aabe (patch) | |
tree | 4302e61f327b8f6b2bca85fb26b1f587cd7b701b /scripts/Makefile.modbuiltin | |
parent | kbuild: do not update config for 'make kernelrelease' (diff) | |
download | kernel-qcow2-linux-2063945fdc3d4c0ac8f9319d942eda720d02aabe.tar.gz kernel-qcow2-linux-2063945fdc3d4c0ac8f9319d942eda720d02aabe.tar.xz kernel-qcow2-linux-2063945fdc3d4c0ac8f9319d942eda720d02aabe.zip |
kbuild: remove auto.conf from prerequisite of phony targets
The top-level Makefile adds include/config/auto.conf as
prerequisites of 'scripts', 'prepare1', etc.
They were needed to terminate the build when include/config/auto.conf
is missing.
Now that the inclusion of include/config/auto.conf is mandatory
in the top-level Makefile if dot-config is 1 (Note 'include' directive
is used instead of '-include').
Make terminates the build by itself if it fails to create or update
include/config/auto.conf so we are sure that include/config/auto.conf
exists in the very first stage of make.
I am still keeping include/config/auto.conf as the prerequisite of
%/modules.builtin because modules.builtin is a real file. According
to commit a6c366324cac ("kbuild: Do not unnecessarily regenerate
modules.builtin"), it is intentional to compare time-stamps between
%/modules.builtin and include/config/auto.conf . I moved tristate.conf
here because it is only included from scripts/Makefile.modbuiltin.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/Makefile.modbuiltin')
0 files changed, 0 insertions, 0 deletions