diff options
author | Masahiro Yamada | 2018-07-20 09:46:35 +0200 |
---|---|---|
committer | Masahiro Yamada | 2018-07-25 16:25:32 +0200 |
commit | a29d4d8c5669a658b5a091b38205c13084967ce7 (patch) | |
tree | 5a39be1fdf7ccc9a9f1d47963afb14aa826cd3fc /Makefile | |
parent | kbuild: do not update config when running install targets (diff) | |
download | kernel-qcow2-linux-a29d4d8c5669a658b5a091b38205c13084967ce7.tar.gz kernel-qcow2-linux-a29d4d8c5669a658b5a091b38205c13084967ce7.tar.xz kernel-qcow2-linux-a29d4d8c5669a658b5a091b38205c13084967ce7.zip |
kbuild: do not update config for 'make kernelrelease'
'make kernelrelease' depends on CONFIG_LOCALVERSION(_AUTO), but
for the same reason as install targets, we do not want to update
the configuration just for printing the kernelrelease string.
This is likely to happen when you compiled the kernel with
CROSS_COMPILE, but forget to pass it to 'make kernelrelease'.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -225,7 +225,8 @@ no-dot-config-targets := $(clean-targets) \ cscope gtags TAGS tags help% %docs check% coccicheck \ $(version_h) headers_% archheaders archscripts \ kernelversion %src-pkg -no-sync-config-targets := $(no-dot-config-targets) install %install +no-sync-config-targets := $(no-dot-config-targets) install %install \ + kernelrelease config-targets := 0 mixed-targets := 0 |