Subject: Re: Kernel cross-compiling howto
To: None <email@example.com>
From: Klaus Heinz <firstname.lastname@example.org>
Date: 12/25/2004 17:02:09
Florian Stoehr wrote:
> I got many replies, so I learned that build.sh itself is capable of
> doing the kernel-only crosscompile, futhermore there are instructions
> under "crosscompiling NetBSD" -> but the toolchain moving seems not
> mentioned there.
I don't see why you would need to rename the directory:
$ ls -1 bin
> Unfortunately, there is no link to the cross compiling howto in the
> kernel FAQ -> maybe it'd be good to put a link to the cross-compiling
> howto there?
This is indeed a good idea.
> Still I wonder why "nbmake" will not work - I saw this in another
> kernel-crosscompiling mail in the archive (although that was old and
> used build.sh -t to build the toolchain which seems depreacted).
You need nbmake-<yourarch>. This is a script containing the variables
resulting from your first invocation of build.sh.