Subject: Re: build.sh confusion
To: Brian <4thgensi@comcast.net>
From: Greg Troxel <gdt@ir.bbn.com>
List: netbsd-help
Date: 10/22/2004 10:11:04
   Build the tools and distribution with
   # ./build.sh tools
   # ./build.sh distribution

   Then go to build the kernel and it fails with

   ./build.sh: /usr/src/obj/tooldir.NetBSD-2.0_RC4-i386/bin/nbconfig: not found

   The original tools was built with these settings.

   TOOLDIR path:     /usr/src/tooldir.NetBSD-2.0_RC4-i386
   DESTDIR path:     /usr/src/destdir.i386

   I run ./build.sh tools again and this time the tool path gets set to

    ===> TOOLDIR path:     /usr/src/obj/tooldir.NetBSD-2.0_RC4-i386
   ===> DESTDIR path:     /usr/src/obj/destdir.i386

I have seen similar problems on the 2.0 branch.
I use explicit tool and obj directories, and have not had trouble with
that approach.


-- 
        Greg Troxel <gdt@ir.bbn.com>