Subject: Re: how to cross-compile kernel?
To: None <Ronald.vanderPol@rvdp.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-sparc
Date: 09/08/2002 04:49:02
In article <20020907191601.GD17646@rvdp.org>
Ronald.vanderPol@rvdp.org wrote:

> >   cd /usr/src && ./build.sh -m sparc -T /usr/tools -t
> 
> Hmm, I did a "build.sh -m sparc -D xxx". Then I used the "-t" option.
> No effect. Only after using "-T /usr/tools" I got a nbconfig.

If you don't specify -T, TOOLDIR is set to default, which is defined
in bsd.own.mk (/usr/src/tools/obj.sparc/tools.NetBSD-1.6H-i386/ etc.),
and nbmake will be installed there.

> Moreover, it still does not work:

Try:
  cd ../compile/GENERIC && /usr/tools/bin/nbmake USETOOLS=yes depend &&
  /usr/tools/bin/nbmake USETOOLS=yes

---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp