Thread (2 messages) 2 messages, 2 authors, 2002-03-28

Re: slim kernel source

From: Hollis Blanchard <hidden>
Date: 2002-03-28 16:20:53

Possibly related (same subject, not in this thread)

On Thu, 2002-03-28 at 03:16, Ethan Benson wrote:
On Wed, Mar 27, 2002 at 10:30:28AM -0800, Dan Bethe wrote:
quoted
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.

-Hollis


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help