kbuild: add image_name to no-sync-config-targets
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 28 Feb 2021 06:10:25 +0000 (15:10 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 9 Mar 2021 19:17:47 +0000 (04:17 +0900)
'make image_name' needs include/config/auto.conf to show the correct
output because KBUILD_IMAGE depends on CONFIG options, but should not
attempt to resync the configuration.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile

index 31dcdb3d61fa5a32514ef3281efb4524439f9e07..3f9f44eac27f56d211940b3e9f0c2cc1eda7b398 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -264,7 +264,8 @@ no-dot-config-targets := $(clean-targets) \
                         $(version_h) headers headers_% archheaders archscripts \
                         %asm-generic kernelversion %src-pkg dt_binding_check \
                         outputmakefile
-no-sync-config-targets := $(no-dot-config-targets) %install kernelrelease
+no-sync-config-targets := $(no-dot-config-targets) %install kernelrelease \
+                         image_name
 single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.s %.symtypes %/
 
 config-build   :=