diff mbox series

[2/8] kbuild: add modules_sign to no-{compiler,sync-config}-targets

Message ID 20230823115048.823011-2-masahiroy@kernel.org (mailing list archive)
State New, archived
Headers show
Series [1/8] kbuild: do not run depmod for 'make modules_sign' | expand

Commit Message

Masahiro Yamada Aug. 23, 2023, 11:50 a.m. UTC
Like modules_install, modules_sign should avoid the syncconfig.

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

 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Nicolas Schier Aug. 23, 2023, 7:53 p.m. UTC | #1
On Wed 23 Aug 2023 20:50:42 GMT, Masahiro Yamada wrote:
> Like modules_install, modules_sign should avoid the syncconfig.
> 
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> ---
> 
>  Makefile | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index 7d54a0700c6e..e2dfa3b994f7 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -280,8 +280,8 @@ no-dot-config-targets := $(clean-targets) \
>  # Installation targets should not require compiler. Unfortunately, vdso_install
>  # is an exception where build artifacts may be updated. This must be fixed.
>  no-compiler-targets := $(no-dot-config-targets) install dtbs_install \
> -			headers_install modules_install kernelrelease image_name
> -no-sync-config-targets := $(no-dot-config-targets) %install kernelrelease \
> +			headers_install modules_install modules_sign kernelrelease image_name
> +no-sync-config-targets := $(no-dot-config-targets) %install modules_sign kernelrelease \
>  			  image_name
>  single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.rsi %.s %.symtypes %/
>  
> -- 
> 2.39.2

Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 7d54a0700c6e..e2dfa3b994f7 100644
--- a/Makefile
+++ b/Makefile
@@ -280,8 +280,8 @@  no-dot-config-targets := $(clean-targets) \
 # Installation targets should not require compiler. Unfortunately, vdso_install
 # is an exception where build artifacts may be updated. This must be fixed.
 no-compiler-targets := $(no-dot-config-targets) install dtbs_install \
-			headers_install modules_install kernelrelease image_name
-no-sync-config-targets := $(no-dot-config-targets) %install kernelrelease \
+			headers_install modules_install modules_sign kernelrelease image_name
+no-sync-config-targets := $(no-dot-config-targets) %install modules_sign kernelrelease \
 			  image_name
 single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.rsi %.s %.symtypes %/