diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-20 16:46:36 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-25 23:25:32 +0900 |
commit | 2063945fdc3d4c0ac8f9319d942eda720d02aabe (patch) | |
tree | 4302e61f327b8f6b2bca85fb26b1f587cd7b701b /scripts/Makefile.modbuiltin | |
parent | a29d4d8c5669a658b5a091b38205c13084967ce7 (diff) | |
download | linux-stable-2063945fdc3d4c0ac8f9319d942eda720d02aabe.tar.gz linux-stable-2063945fdc3d4c0ac8f9319d942eda720d02aabe.tar.bz2 linux-stable-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