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 Fri, Feb 08, 2008 at 10:29:18PM +0000, Christos Zoulas wrote:
> In article <>,
> Petar Bogdanovic  <> wrote:
> >Hi,
> >
> >is there a simple way to build only parts of the netbsd source-tree or
> >do I have to use 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
`./ distribution'..

Home | Main Index | Thread Index | Old Index