Hello!

Is any progress going on?
I can do some testing on my side too.

Thanks,

Simon J. Gerraty <s...@juniper.net> escreveu (quarta, 7/05/2025 à(s) 03:21):

> Mark Millard <mark...@yahoo.com> wrote:
> > > I think you could use something like this, which should be safe to
> > > commit:
> >
> > I do not have a commit bit. Should I submit a bugzilla
> > entry or something for its eventual commit?
>
> That's ok.  Confirm it works for you and I'll see if I can break
> anything with it
>
> >
> > > diff --git a/share/mk/src.sys.obj.mk b/share/mk/src.sys.obj.mk
> > > index 708559edcdb8..e4fe3fa9a2aa 100644
> > > --- a/share/mk/src.sys.obj.mk
> > > +++ b/share/mk/src.sys.obj.mk
> > > @@ -73,6 +73,12 @@ OBJROOT:= ${OBJROOT:H:tA}/${OBJROOT:T}
> > >  .endif
> > >  # Must export since OBJDIR will dynamically be based on it
> > >  .export OBJROOT SRCTOP
> > > +# if we didn't get SB_OBJROOT from env,
> > > +# it is handy to set it now, so we can remember it
> > > +.if empty(SB_OBJROOT)
> > > +SB_OBJROOT:= ${OBJROOT}
> > > +.export SB_OBJROOT
> > > +.endif
> > >  .endif
> > >
> > >  .if ${MK_DIRDEPS_BUILD} == "no"
> > >
> > > You can then use ${SB_OBJROOT} in your .MAKE.META.IGNORE_PATHS
> > > The difference is that nothing in the FreeBSD build should ever touch
> > > SB_OBJROOT so it should meet your need.
> > > I think ;-)
> > >
> > > And the above won't break our builds - which set SB_OBJROOT
> > > before running make.
> >
> > Looks to be working for both aarch64 and amd64 with
> > ~/src.configs/make.conf as shown below. It is used
> > in my environment's scripts via the make command
> > line starting with:
> >
> > env __MAKE_CONF="/usr/home/root/src.configs/make.conf"
>
> You might be interesting in https://www.crufty.net/sjg/docs/sb-tools.htm
> like what you are doing but on steroids ;-)
>
>

-- 
Nuno Teixeira
FreeBSD UNIX:  <edua...@freebsd.org>   Web:  https://FreeBSD.org

Reply via email to