diff mbox series

[2/2] x86/build: remove unnecessary preparation for purgatory

Message ID 1529401422-28838-3-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit d6605b6bbee88b74150b14f5e83a6067f5e323d2
Headers show
Series x86/build: clean-up 'archprepare' and 'archclean' | expand

Commit Message

Masahiro Yamada June 19, 2018, 9:43 a.m. UTC
kexec-purgatory.c is properly generated when Kbuild descend into
the arch/x86/purgatory/.

The archprepare target is redundant.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

 arch/x86/Makefile | 5 -----
 1 file changed, 5 deletions(-)

-- 
2.7.4
diff mbox series

Patch

diff --git a/arch/x86/Makefile b/arch/x86/Makefile
index 246a979..a08e828 100644
--- a/arch/x86/Makefile
+++ b/arch/x86/Makefile
@@ -258,11 +258,6 @@  archscripts: scripts_basic
 archheaders:
 	$(Q)$(MAKE) $(build)=arch/x86/entry/syscalls all
 
-archprepare:
-ifeq ($(CONFIG_KEXEC_FILE),y)
-	$(Q)$(MAKE) $(build)=arch/x86/purgatory arch/x86/purgatory/kexec-purgatory.c
-endif
-
 ###
 # Kernel objects