[PATCH 09/13] purgatory: Core purgatory functionality
Borislav Petkov
bp at alien8.de
Fri Jun 13 03:17:13 PDT 2014
On Fri, Jun 06, 2014 at 03:51:04PM -0400, Vivek Goyal wrote:
> On Thu, Jun 05, 2014 at 10:05:23PM +0200, Borislav Petkov wrote:
>
> [..]
> > > @@ -249,6 +254,7 @@ archclean:
> > > $(Q)rm -rf $(objtree)/arch/x86_64
> > > $(Q)$(MAKE) $(clean)=$(boot)
> > > $(Q)$(MAKE) $(clean)=arch/x86/tools
> >
> > ifeq ($(CONFIG_KEXEC),y)
> > $(Q)$(MAKE) $(clean)=arch/x86/purgatory
> > endif
>
> Hmm.., is it strictly required? I am wondering what happens if I build
> a kernel with CONFIG_KEXEC=y, then set CONFIG_KEXEC=n and do "make clean".
Try it - it works here.
> I think I will still like any files in arch/x86/purgatory to be cleaned
> despite the fact that CONFIG_KEXEC=n. Isn't it?
Yep, that works. Conversely, we don't want people who haven't enabled
KEXEC ever to have unrelated cleanup delay.
--
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
--
More information about the kexec
mailing list