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 <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Michal Marek <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sam Ravnborg <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/lkml/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
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)