NetBSD-Users archive

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

Re: Compiling minimal userland?



On Fri, Sep 02, 2016 at 10:26:51AM -0400, Thor Lancelot Simon wrote:
> On Fri, Sep 02, 2016 at 03:25:52AM +0200, William Z. wrote:
> > Hi,
> > 
> > I'm currently trying to replace Linux with NetBSD in some of
> > my embedded devices.
> > 
> > I have read "The Guide" and found out how to create a crosscompiler and
> > compile a tiny custom kernel. However, I also want to create a very
> > minimal userland, but as far as I can tell "The Guide" only explains how
> > to compile the full NetBSD userland.
> > 
> > How can I disable unneeded parts of the userland?
> 
> The easiest way is to build everything, but use additional setlists to
> produce a sort of "micro-base" and "micro-etc".  Then install these
> rather than base and etc.  I have reduced a working

I neglected to tip the hat to Matt Thomas -- this was his idea.  And I would
be remiss if I did not say that if you have a _budget_ to build embedded
things that run NetBSD, he is a very good guy to talk to.



Home | Main Index | Thread Index | Old Index