NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: empty vs. reuse /usr/obj & /usr/tools for different crossbuilds?
On Tue, Dec 09, 2025 at 08:00:42AM +0100, Martin Husemann wrote:
> On Tue, Dec 09, 2025 at 07:58:12AM +0100, Martin Husemann wrote:
> > The directory passed to -O has to be unique for the architecture,
> > just apped the architecture to it, e.g. -O /usr/obj/amd64.
> >
> > The -T tooldir may be shared between architectures, as all the tools
> > have archtiecture-qualified names (or are identical, only specific to
> > the host).
>
> Oh, in case that isn't clear: both have to be unique for the sources
> they use, so in my local setup I have something like
>
> -O ..../obj-11/sparc64 -T ..../tools-11
>
> for the netbsd-11 source tree and
>
> -O ..../obj-cur/sparc64 -T ..../tools
>
> for -current.
Yes, I followed that part; I'm doing something similar, e.g. /usr/src/
on my build host has 3 symlinks to automounted NFS dirs today for
current
netbsd-10
netbsd-11
with obj/, tools/, and xsrc/ setup similarly. I'll likely append the
arch name to the obj/<src version>/ path name, as you suggested.
The other (amd64) buildhost doesn't share dirs with the rpi4 buildhost
except (x)src/, as it has its own obj/ and tools/ dirs.
Thanks again,
sr.
Home |
Main Index |
Thread Index |
Old Index