Mark Millard <mark...@yahoo.com> wrote:
> > > # cd /usr/src
> > > # make buildworld-jobs buildkernel-jobs
> 
> The above used older commands and files from before
> the following install. META_MODE recorded the use of
> those commands.

I'm sure you are aware, but maybe not everyone is, that bmake contains a
number of methods to tame META_MODEs enthusiasm for finding things to
make a target out-of-date.

.MAKE.META.IGNORE_PATHS is the cheapest and generally most useful

.MAKE.META.IGNORE_PATTERNS can be more selective and

.MAKE.META.IGNORE_FILTER can be expensive, but let you do a lot more.

With recent bmake (MAKE_VERSION > 20220126) you can also set target local
variables which means you can set say .MAKE.META.IGNORE_PATHS to apply
only to a given target.

Of course trying to get too clever can end up being counter productive,
but the tools are there...

--sjg

Reply via email to