From: Masahiro Yamada Date: Tue, 19 Jun 2018 09:43:42 +0000 (+0900) Subject: x86/build: Remove unnecessary preparation for purgatory X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d6605b6bbee88b74150b14f5e83a6067f5e323d2;p=linux.git x86/build: Remove unnecessary preparation for purgatory kexec-purgatory.c is properly generated when Kbuild descend into the arch/x86/purgatory/. Thus the 'archprepare' target is redundant. Signed-off-by: Masahiro Yamada Cc: Linus Torvalds Cc: Michal Marek Cc: Peter Zijlstra Cc: Sam Ravnborg Cc: Thomas Gleixner Link: https://lore.kernel.org/lkml/1529401422-28838-3-git-send-email-yamada.masahiro@socionext.com Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/Makefile b/arch/x86/Makefile index d6f404ae3d93b..4fafba5df891d 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