NetBSD-Users archive

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

Re: kernel source : compile from a ubuntu (gnu/linux) system : possible?



On Wed, May 27, 2020 at 04:03:50PM +0200, mayuresh%kathe.in@localhost wrote:
> On Wednesday, May 27, 2020 06:26 PM IST, Martin Husemann <martin%duskware.de@localhost> wrote: 
>  
> > On Wed, May 27, 2020 at 02:47:44PM +0200, mayuresh%kathe.in@localhost wrote:
> > > i've also heard that it's possible to cross-compile the whole system
> > > for a different target 'isa'.
> > 
> > Basically what you do is something like:
> > 
> >   cd $(top-dir-where-you-put-the-netsbd-tree)
> >   ./build.sh -m evbarm64-el tools kernel=MYKERNEL
> > 
> > to build cross toolchain + a single kernel. This will create "tools" in a 
> > special tool directory (and tell you where).
> 
> thanks for your advice martin, but my intent is to compile the netbsd kernel using some kind of toolchain under gnu/linux.

Yes, this is what Martin suggests. You can run the above command on a linux
host (I do it on RHEL7 servers)

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index