All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: Brian Gerst <brgerst@gmail.com>
Cc: linux-kernel@vger.kernel.org, "H . Peter Anvin" <hpa@zytor.com>,
	"Linus Torvalds" <torvalds@linux-foundation.org>,
	"Peter Zijlstra" <peterz@infradead.org>,
	"Borislav Petkov" <bp@alien8.de>,
	"Thomas Gleixner" <tglx@linutronix.de>,
	"Vitaly Kuznetsov" <vkuznets@redhat.com>,
	"Jürgen Groß" <jgross@suse.com>,
	"Ard Biesheuvel" <ardb@kernel.org>,
	"Arnd Bergmann" <arnd@arndb.de>,
	"David Woodhouse" <dwmw@amazon.co.uk>,
	"Masahiro Yamada" <yamada.masahiro@socionext.com>,
	"Michal Marek" <michal.lkml@markovi.net>
Subject: Re: [PATCH 03/13] x86/kbuild: Remove ancient 'arch/i386/' and 'arch/x86_64/' directory removal 'archclean' target
Date: Sun, 15 Jun 2025 13:25:09 +0200	[thread overview]
Message-ID: <aE6tldAZUCnmXJcu@gmail.com> (raw)
In-Reply-To: <CAMzpN2jMYaF0eua8FoOPXR74yA62PBGK5f=QOBFYs2Z3O0BeUg@mail.gmail.com>


* Brian Gerst <brgerst@gmail.com> wrote:

> On Thu, May 15, 2025 at 9:28 AM Ingo Molnar <mingo@kernel.org> wrote:
> >
> > We have to go back 17 years into Git history, to kernels that won't
> > even build or boot with modern build environments, to come across
> > the obsolete arch/i386/ and arch/x86_64/ directories.
> >
> > Remove some of their last functional residuals in the 'archclean' target.
> >
> > Signed-off-by: Ingo Molnar <mingo@kernel.org>
> > Cc: Ard Biesheuvel <ardb@kernel.org>
> > Cc: Arnd Bergmann <arnd@arndb.de>
> > Cc: David Woodhouse <dwmw@amazon.co.uk>
> > Cc: H. Peter Anvin <hpa@zytor.com>
> > Cc: Linus Torvalds <torvalds@linux-foundation.org>
> > Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
> > Cc: Michal Marek <michal.lkml@markovi.net>
> > ---
> >  arch/x86/Makefile | 4 ----
> >  1 file changed, 4 deletions(-)
> >
> > diff --git a/arch/x86/Makefile b/arch/x86/Makefile
> > index 594723005d95..4e7ac5e4b537 100644
> > --- a/arch/x86/Makefile
> > +++ b/arch/x86/Makefile
> > @@ -348,10 +348,6 @@ $(orc_hash_h): $(srctree)/arch/x86/include/asm/orc_types.h $(orc_hash_sh) FORCE
> >  archprepare: $(orc_hash_h)
> >  endif
> >
> > -archclean:
> > -       $(Q)rm -rf $(objtree)/arch/i386
> > -       $(Q)rm -rf $(objtree)/arch/x86_64
> > -
> >  define archhelp
> >    echo  '* bzImage             - Compressed kernel image (arch/x86/boot/bzImage)'
> >    echo  '  install             - Install kernel using (your) ~/bin/$(INSTALLKERNEL) or'
> 
> This does not remove the code that actually creates these old symlinks:
> 
> $ ll arch/x86_64/boot/bzImage
> lrwxrwxrwx. 1 bgerst bgerst 22 Jun 13 13:06 arch/x86_64/boot/bzImage
> -> ../../x86/boot/bzImage

I've zapped this commit too.

Thanks,

	Ingo

  reply	other threads:[~2025-06-15 11:25 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-15 13:27 [PATCH -v3 00/13] x86/kconfig: Synchronize the x86 defconfigs with distribution configs Ingo Molnar
2025-05-15 13:27 ` [PATCH 01/13] x86/kconfig/64: Refresh defconfig Ingo Molnar
2025-06-13  8:25   ` [tip: x86/kconfig] x86/kconfig/32: " tip-bot2 for Ingo Molnar
2025-06-13  8:25   ` [tip: x86/kconfig] x86/kconfig/64: " tip-bot2 for Ingo Molnar
2025-07-14 14:33   ` [tip: x86/kconfig] x86/kconfig/32: " tip-bot2 for Ingo Molnar
2025-05-15 13:27 ` [PATCH 02/13] " Ingo Molnar
2025-05-15 13:27 ` [PATCH 03/13] x86/kbuild: Remove ancient 'arch/i386/' and 'arch/x86_64/' directory removal 'archclean' target Ingo Molnar
2025-06-13  8:25   ` [tip: x86/kconfig] " tip-bot2 for Ingo Molnar
2025-06-13 17:12   ` [PATCH 03/13] " Brian Gerst
2025-06-15 11:25     ` Ingo Molnar [this message]
2025-05-15 13:27 ` [PATCH 04/13] x86/tools: insn_decoder_test.c: Emit standard build success messages Ingo Molnar
2025-06-13  8:25   ` [tip: x86/kconfig] " tip-bot2 for Ingo Molnar
2025-06-15 11:34   ` tip-bot2 for Ingo Molnar
2025-07-14 14:33   ` tip-bot2 for Ingo Molnar
2025-07-14 15:10   ` tip-bot2 for Ingo Molnar
2025-05-15 13:27 ` [PATCH 05/13] x86/tools: insn_sanity.c: " Ingo Molnar
2025-06-13  8:25   ` [tip: x86/kconfig] " tip-bot2 for Ingo Molnar
2025-06-15 11:34   ` tip-bot2 for Ingo Molnar
2025-07-14 14:33   ` tip-bot2 for Ingo Molnar
2025-07-14 15:10   ` tip-bot2 for Ingo Molnar
2025-05-15 13:27 ` [PATCH 06/13] x86/kconfig/64: Enable the KVM host in the defconfig Ingo Molnar
2025-06-13  8:25   ` [tip: x86/kconfig] " tip-bot2 for Ingo Molnar
2025-05-15 13:27 ` [PATCH 07/13] x86/kconfig/64: Enable more virtualization guest options in the defconfig: enable Xen, Xen_PVH, Jailhouse, ACRN, Intel TDX and Hyper-V Ingo Molnar
2025-05-15 23:40   ` Michael Kelley
2025-05-16  7:49     ` Ingo Molnar
2025-05-16 13:14       ` Michael Kelley
2025-05-16  8:15     ` Vitaly Kuznetsov
2025-06-14  7:32       ` [PATCH] x86/kconfig/defconfig: Enable CONFIG_DRM_FBDEV_EMULATION=y Ingo Molnar
2025-06-14 10:30     ` [PATCH 07/13] x86/kconfig/64: Enable more virtualization guest options in the defconfig: enable Xen, Xen_PVH, Jailhouse, ACRN, Intel TDX and Hyper-V Peter Zijlstra
2025-06-14 16:46       ` Michael Kelley
2025-06-13  8:25   ` [tip: x86/kconfig] x86/kconfig/64: Enable more virtualization guest options in the defconfig: Enable " tip-bot2 for Ingo Molnar
2025-05-15 13:27 ` [PATCH 08/13] x86/kconfig/64: Enable BPF support in the defconfig Ingo Molnar
2025-06-13  8:25   ` [tip: x86/kconfig] " tip-bot2 for Ingo Molnar
2025-05-15 13:27 ` [PATCH 09/13] x86/kconfig/64: Enable popular MM options " Ingo Molnar
2025-06-13  8:25   ` [tip: x86/kconfig] " tip-bot2 for Ingo Molnar
2025-06-14 10:39   ` [PATCH 09/13] " Peter Zijlstra
2025-06-16 18:34     ` Jann Horn
2025-06-14 17:18   ` Linus Torvalds
2025-06-15 11:23     ` Ingo Molnar
2025-06-15 11:29       ` Ingo Molnar
2025-05-15 13:27 ` [PATCH 10/13] x86/kconfig/64: Enable popular kernel debugging " Ingo Molnar
2025-06-13  8:25   ` [tip: x86/kconfig] " tip-bot2 for Ingo Molnar
2025-05-15 13:27 ` [PATCH 11/13] x86/kconfig/64: Enable popular scheduler, cgroups and namespaces " Ingo Molnar
2025-06-13  8:25   ` [tip: x86/kconfig] " tip-bot2 for Ingo Molnar
2025-05-15 13:27 ` [PATCH 12/13] x86/kconfig/64: Enable popular generic kernel " Ingo Molnar
2025-06-13  8:25   ` [tip: x86/kconfig] " tip-bot2 for Ingo Molnar
2025-05-15 13:27 ` [PATCH 13/13] x86/kconfig/32: Synchronize the x86-32 defconfig to the x86-64 defconfig Ingo Molnar
2025-06-13  8:25   ` [tip: x86/kconfig] " tip-bot2 for Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aE6tldAZUCnmXJcu@gmail.com \
    --to=mingo@kernel.org \
    --cc=ardb@kernel.org \
    --cc=arnd@arndb.de \
    --cc=bp@alien8.de \
    --cc=brgerst@gmail.com \
    --cc=dwmw@amazon.co.uk \
    --cc=hpa@zytor.com \
    --cc=jgross@suse.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.lkml@markovi.net \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    --cc=vkuznets@redhat.com \
    --cc=yamada.masahiro@socionext.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.