slim kernel source

Ethan Benson erbenson at alaska.net
Thu Mar 28 20:16:11 EST 2002


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).

--
Ethan Benson
http://www.alaska.net/~erbenson/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list