diff mbox series

[1/4] kbuild: add image_name to no-sync-config-targets

Message ID 20210228061028.239459-1-masahiroy@kernel.org (mailing list archive)
State New
Headers show
Series [1/4] kbuild: add image_name to no-sync-config-targets | expand

Commit Message

Masahiro Yamada Feb. 28, 2021, 6:10 a.m. UTC
'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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Masahiro Yamada March 8, 2021, 2:10 p.m. UTC | #1
On Sun, Feb 28, 2021 at 3:10 PM Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> '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>
> ---

All applied to linux-kbuild.



>  Makefile | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index 633d2769b6ec..c84a9311df29 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -263,7 +263,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   :=
> --
> 2.27.0
>
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 633d2769b6ec..c84a9311df29 100644
--- a/Makefile
+++ b/Makefile
@@ -263,7 +263,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	:=