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

Message ID 20230823115048.823011-2-masahiroy@kernel.org
State New
Headers
Series [1/8] kbuild: do not run depmod for 'make modules_sign' |

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(-)
  

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 %/