Skip to content

Commit bdab125

Browse files
masahir0yIngo Molnar
authored andcommitted
Revert "kexec/purgatory: Add clean-up for purgatory directory"
Reverts the following commit: b0108f9 ("kexec: purgatory: add clean-up for purgatory directory") ... which incorrectly stated that the kexec-purgatory.c and purgatory.ro files were not removed after 'make mrproper'. In fact, they are. You can confirm it after reverting it. $ make mrproper $ touch arch/x86/purgatory/kexec-purgatory.c $ touch arch/x86/purgatory/purgatory.ro $ make mrproper CLEAN arch/x86/purgatory $ ls arch/x86/purgatory/ entry64.S Makefile purgatory.c setup-x86_64.S stack.S string.c This is obvious from the build system point of view. arch/x86/Makefile adds 'arch/x86' to core-y. Hence 'make clean' descends like this: arch/x86/Kbuild -> arch/x86/purgatory/Makefile 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 74899d9 commit bdab125

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/x86/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@ archclean:
327327
$(Q)rm -rf $(objtree)/arch/x86_64
328328
$(Q)$(MAKE) $(clean)=$(boot)
329329
$(Q)$(MAKE) $(clean)=arch/x86/tools
330-
$(Q)$(MAKE) $(clean)=arch/x86/purgatory
331330

332331
define archhelp
333332
echo '* bzImage - Compressed kernel image (arch/x86/boot/bzImage)'

0 commit comments

Comments
 (0)