From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: slim kernel source From: Hollis Blanchard To: linuxppc-dev@lists.linuxppc.org In-Reply-To: <20020328001611.S26309@plato.local.lan> References: <20020327183028.71552.qmail@web11002.mail.yahoo.com> <20020328001611.S26309@plato.local.lan> Content-Type: text/plain Date: 28 Mar 2002 10:20:53 -0600 Message-Id: <1017332453.24968.404.camel@granite> Mime-Version: 1.0 Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: 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. -Hollis ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/