Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2025 11:09:26 -0700
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        Nuno Teixeira <eduardo@FreeBSD.org>, FreeBSD Current <freebsd-current@FreeBSD.org>, <sjg@juniper.net>
Subject:   Re: incremental bulds from scratch with beinstall.sh
Message-ID:  <49396.1746554966@kaos.jnpr.net>
In-Reply-To: <28F2BDE7-5903-4C04-A570-6A407F19D5F2@yahoo.com>

index | next in thread | previous in thread | raw e-mail

Mark Millard <marklmi@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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49396.1746554966>