kbuild: do not update config for 'make kernelrelease'
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 20 Jul 2018 07:46:35 +0000 (16:46 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 25 Jul 2018 14:25:32 +0000 (23:25 +0900)
commita29d4d8c5669a658b5a091b38205c13084967ce7
tree5a39be1fdf7ccc9a9f1d47963afb14aa826cd3fc
parentd79424137a7312d381d131d707a462440c0e8df9
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>
Makefile