slim kernel source

Hollis Blanchard hollis at
Fri Mar 29 03:20:53 EST 2002

On Thu, 2002-03-28 at 03:16, Ethan Benson wrote:
> On Wed, Mar 27, 2002 at 10:30:28AM -0800, Dan Bethe wrote:
> >
> > Hi all.  Is there a utility or procedure which can remove a bunch of the code
> > from extraneous architectures from my kernel source tree?  I only want to build
> > kernels for my beloved Powermac 8500 and so I can do without code specific to
> > ia32, S390, Alpha, MIPS, and friends.
> >
> > Even if you just know of a few directories I can remove and save a couple dozen
> > megs of space, that'd be good.
> you can probably safly rm -rf everything under arch/* except arch/ppc
> and include/asm-* except include/asm-ppc.  i haven't tried this but i
> would expect this not to break anything (and if it does thats probably
> a bug).

As I recall, LinuxPPC 2000 shipped kernel source like this (without
testing ;), and a few PPC headers include m68k headers.


** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list