Skip to content

Commit d6605b6

Browse files
masahir0yIngo Molnar
authored andcommitted
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 <yamada.masahiro@socionext.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Michal Marek <michal.lkml@markovi.net> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/lkml/1529401422-28838-3-git-send-email-yamada.masahiro@socionext.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent bdab125 commit d6605b6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

arch/x86/Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,6 @@ archscripts: scripts_basic
258258
archheaders:
259259
$(Q)$(MAKE) $(build)=arch/x86/entry/syscalls all
260260

261-
archprepare:
262-
ifeq ($(CONFIG_KEXEC_FILE),y)
263-
$(Q)$(MAKE) $(build)=arch/x86/purgatory arch/x86/purgatory/kexec-purgatory.c
264-
endif
265-
266261
###
267262
# Kernel objects
268263

0 commit comments

Comments
 (0)