Re: on linux and platforms

Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be)
Wed, 17 Sep 1997 10:09:48 +0200 (CEST)


On Tue, 16 Sep 1997, Teunis Peters wrote:
> >From what I gather, making a kernel for another platform is just:
> make ARCH=<platform> menuconfig
> [for <platform>=alpha, i386, m68k, mips, ppc, sparc, sparc64]
>
> Is that correct?
> (gee - that solves part of my work on documenting kernel compilation <sigh
> - wish I had more time :>)

Yep, that should work. At least for m68k and depending on your type of PPC
platform, you need some additional patches first, though.

> Oh, and incidentally are there any other platform-specific defines?
> [eg. i386 has __SMP__]

m68k and PPC (but this will change) don't have SMP.

Greetings,

Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium