opnsense-src/tools/build
Jessica Clarke 69cfdc81ea tools/build/make.py: Keep bootstrapped bmake binary up-to-date
We currently assume that any existing bootstrapped bmake binary will
work, but this means it never gets updated as contrib/bmake is, and
similarly we won't rebuild it as and when the configure arguments given
to boot-strap change. Whilst the former isn't necessarily a huge problem
given WANT_MAKE_VERSION rarely gets bumped in Makefile, having fewer
variables is a good thing, and so it's easiest if we just always keep it
up-to-date rather than trying to do something similar to what's already
in Makefile (which may or may not be accurate, given updating FreeBSD
gives you an updated bmake, but nothing does so for our bootstrapped
bmake on non-FreeBSD). The latter is more problematic, though, and the
next commit will be changing this configuration.

We thus now add in two checks. The first is to compare MAKE_VERSION
against _MAKE_VERSION from contrib/bmake/VERSION. The second is to
record at bootstrap time the exact configuration used, and compare that
against what we would bootstrap with.

Reviewed by:	arichardson, sjg
Differential Revision:	https://reviews.freebsd.org/D41556
2023-08-23 17:56:50 +01:00
..
bootstrap-m4 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
cross-build Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
libc-bootstrap Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
make_check Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
mk Fix GoogleTest 1.14.0 import 2023-08-18 19:33:58 -07:00
options Remove $FreeBSD$: one-line nroff pattern 2023-08-16 11:55:15 -06:00
test-includes test-includes: improve portability 2022-03-22 20:23:22 +00:00
beinstall.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
check-links.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
checkstyle9.pl checkstyle9.pl: Add check for bad email 2023-06-12 10:08:17 -06:00
depend-cleanup.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
dummy.c Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:23 -06:00
fcntl.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
freebsd-yeet.pl Update freebsd-yeet for mfc 2023-08-21 19:37:20 -06:00
fspacectl.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
futimens.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
make.py tools/build/make.py: Keep bootstrapped bmake binary up-to-date 2023-08-23 17:56:50 +01:00
Makefile kbdcontrol: Support building as a bootstrap tool on old and non-FreeBSD 2023-08-22 21:00:28 +01:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
stat.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
stdlib.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
strings.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
utimensat.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00