aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/Makefile.postlink
diff options
context:
space:
mode:
authorGravatar Masahiro Yamada <masahiroy@kernel.org> 2023-10-19 00:19:47 +0900
committerGravatar Masahiro Yamada <masahiroy@kernel.org> 2023-10-28 21:10:08 +0900
commit7f6d8f7e43fb516f060cf71672a922031aa5faa9 (patch)
tree2e350ad484991bdb1ec73c4376a9f05daf7dc141 /arch/x86/Makefile.postlink
parentkbuild: unify no-compiler-targets and no-sync-config-targets (diff)
downloadlinux-7f6d8f7e43fb516f060cf71672a922031aa5faa9.tar.gz
linux-7f6d8f7e43fb516f060cf71672a922031aa5faa9.tar.bz2
linux-7f6d8f7e43fb516f060cf71672a922031aa5faa9.zip
kbuild: remove ARCH_POSTLINK from module builds
The '%.ko' rule in arch/*/Makefile.postlink does nothing but call the 'true' command. Remove the unneeded code. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <n.schier@avm.de>
Diffstat (limited to 'arch/x86/Makefile.postlink')
-rw-r--r--arch/x86/Makefile.postlink3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/Makefile.postlink b/arch/x86/Makefile.postlink
index 936093d29160..fef2e977cc7d 100644
--- a/arch/x86/Makefile.postlink
+++ b/arch/x86/Makefile.postlink
@@ -34,9 +34,6 @@ ifeq ($(CONFIG_X86_NEED_RELOCS),y)
$(call cmd,strip_relocs)
endif
-%.ko: FORCE
- @true
-
clean:
@rm -f $(OUT_RELOCS)/vmlinux.relocs