NetBSD-Users archive

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

Re: Does build.sh dump things into /usr/obj/ ?



Christian Baer <christian.baer%uni-dortmund.de@localhost> writes:

> Steven M. Bellovin wrote:
>
>>> Read /usr/src/BUILDING for details.  The answer to the specific
>>> question is that it builds into /usr/src.  I suspect FreeBSD has a
>>> better answer...
>>>
>> I'm told that I'm wrong, and that if /usr/obj exists NetBSD will DTRT.
>>
>> Personally, I have a script that puts obj, tools, netbsd, and release
>> under /usr/BUILD, so I can wipe them all out very easily when I want to
>> do a clean build.
>
> I don't suppose, you'd care to share that script?

My script for doing this is BUILD-NetBSD in the sysutils/etcmanage
package.  It doesn't quite use /usr/BUILD, but /usr/obj/auto-current or
some such.


Home | Main Index | Thread Index | Old Index