NetBSD-Users archive

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

Re: building parts of the netbsd source-tree



On Feb 9, 12:32am, list+2007%smokva.net@localhost (Petar Bogdanovic) wrote:
-- Subject: Re: building parts of the netbsd source-tree

| On Fri, Feb 08, 2008 at 10:29:18PM +0000, Christos Zoulas wrote:
| > In article <20080208222052.GA30920%pintail.smokva.net@localhost>,
| > Petar Bogdanovic  <list+2007%smokva.net@localhost> wrote:
| > >Hi,
| > >
| > >is there a simple way to build only parts of the netbsd source-tree or
| > >do I have to use build.sh for every single netbsd-component?
| > >
| > >I tried a plain `make' in some of the various subdirectories (src/bin/sh
| > >and src/usr.bin/awk) but make always failed because it didn't know how
| > >to build some dependencies.
| > 
| > What errors are you getting. I do this all the time...
| 
| Sorry, I would have posted the errors in the first place but since I got
| an error in _every_ subdirectory, I thought I'm doing some kind of a
| fundamental mistake..
| 
| In src/bin/sh I got this:
| 
|       # make USETOOLS=no
|       make: don't know how to make /tmp/netbsd/dst/usr/lib/crt0.o. Stop
| 
|       make: stopped in /usr/src/bin/sh
| 
| 
| Then I removed `DESTDIR = /tmp/netbsd/dst' from my mk.conf and now it
| works. Thats a bit strange since my DESTDIR always worked when I did a
| `./build.sh distribution'..

make cleandir in the directory first.

christos




Home | Main Index | Thread Index | Old Index