Commit Graph

12 Commits

Author SHA1 Message Date
apb a2fb9dacaf BUILDINFO part 3: Add BUILDINFO to RELEASEVARS and /etc/release
The BUILDINFO string will appear nearthe top of /etc/release,
indented by 8 spaces and with a blank line above and below it,
but without a heading.  The BUILDINFO string is expected to
be self-explanatory.

Also change some other headings near the top of /etc/release.
2014-08-03 09:19:34 +00:00
ozaki-r 1339b2cc13 Add MKCTF
This variable separates CTF stuffs from MKDTRACE; we can build DTrace
solely without building and using them. This allows us to use DTrace
even if CTF stuffs have problems (actually they have now).

This variable would be merged into MKDTRACE eventually, once CTF stuffs
work correctly again.
2014-03-25 09:52:55 +00:00
apb 66d774c5de Add BUILDSEED to RELEASEVARS. 2014-01-26 17:33:53 +00:00
apb 0c9e596c4b Add MKREPRO and MKARZERO to the list of variables in RELEASEVARS. 2014-01-26 16:53:00 +00:00
christos 2b043c75b6 eliminate use of bsd.sys.mk from Makefiles 2014-01-16 01:15:32 +00:00
apb 44f40b000e HOST_SH is defined in bsd.sys.mk, so we need to include that
as well as bsd.own.mk.  Revert previous use of ${HOST_SH:Ush}.
2013-11-01 11:09:05 +00:00
martin 5df913ae6f If HOST_SH is not defined, use sh to parse osrelease.sh 2013-11-01 10:00:51 +00:00
apb f644e87962 Reinstate .include <bsd.own.mk>. Without this, many variables are undefined.
Define DISTRIBVER in the same way that src/etc/Makefile defines it.
Without this, "make params" in src/Makefile uses an undefined value.

Remove a spurious ">&3".
2013-11-01 06:22:24 +00:00
apb b56cbda8ef Instead of stupid postprocessor tricks, use redirect tricks
to ensure that the output from ${PRINT_PARAMS} contains only
the desired information without any debugging noise.
2013-10-30 15:15:12 +00:00
njoly 9329703b07 Add HAVE_LLVM/HAVE_PCC, MKLLVM/MKPCC to RELEASEVARS. 2013-10-18 11:42:59 +00:00
jmmv 055af6fa83 Record the value of MKATF and MKKYUA in /etc/release. 2013-03-09 14:12:08 +00:00
apb 3e31590ff0 Add src/etc/Makefile.params, containing the definition of the
RELEASEVARS variable, and commands related to printing the values of
the variables whose names are in RELEASEVARS.

Add an awk script to remove noise printed by "make -j" or high levels
of MAKEVERBOSE, so we get only the variables names and values.  The
values are escaped so that variables containing embedded newlines,
quotation marks, and backslashes, are passed through safely.

Adapt src/etc/Makefile and src/Makefile to use the new ${PRINT_PARAMS}
command defined in src/etc/Makefile.params.

Now ${DESTDIR}/etc/release and the params file in the top-level
.OBJDIR should never contain unwanted noise, even after a build with
MAKEVERBOSE=4.
2012-12-03 13:53:28 +00:00