Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build a uniprocessor kernel



On Thu, 6 Nov 2008 10:30:55 +0000
Emmanuel Dreyfus <manu%netbsd.org@localhost> wrote:

> Hello
> 
> Ho are we supposed to build a uniprocessor kernel?
> If I add "no options MULTIPROCESSOR", then the build will fail:
> ../../../../kern/kern_stub.c:159:5: error: #error __HAVE_PREEMPTION 
> requires MULTIPROCESSOR
> 
> It does not seem like if __HAVE_PREEMPTION can be disabled...

no cpu* at mainbus?
cpu0 at mainbus?

But it's easier to just disable SMP from boot.cfg.

Cheers,
-Tobias


Home | Main Index | Thread Index | Old Index