| #
dd8c666d
|
| 10-Sep-2025 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
src.sys.mk: Support src.conf in SRCTOP
If SRCCONF is not defined and src.conf exists at the top level of the source tree, use that instead of /etc/src.conf.
MFC after: 3 days Reviewed by: kevans, i
src.sys.mk: Support src.conf in SRCTOP
If SRCCONF is not defined and src.conf exists at the top level of the source tree, use that instead of /etc/src.conf.
MFC after: 3 days Reviewed by: kevans, imp Differential Revision: https://reviews.freebsd.org/D52470
show more ...
|
| #
161f8edc
|
| 08-Aug-2025 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
bsd.mkopt.mk: Prepare a list of all build options
After processing all the build options, iterate over the complete list minus CLEAN, MAN and TESTS, and prepare two variables:
* SRC_OPT_DEFS is a l
bsd.mkopt.mk: Prepare a list of all build options
After processing all the build options, iterate over the complete list minus CLEAN, MAN and TESTS, and prepare two variables:
* SRC_OPT_DEFS is a list of -D and -U directives, suitable for passing to cpp or unifdef, where each option is either defined or undefined depending on whether it is set or unset. This list also includes -D__${MACHINE_ARCH}__.
* SRC_OPT_LIST is a list of build options suitable for passing to make itself (or sticking in /etc/src.conf). This list also includes TARGET=${MACHINE} and TARGET_ARCH=${MACHINE_ARCH}.
Note that this list is cumulative, so it includes both options defined in bsd.opts.mk and options defined in src.opts.mk.
Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D51827
show more ...
|
| #
65fd76b5
|
| 13-May-2024 |
Ed Maste <emaste@FreeBSD.org> |
makeman: extend duplicate option warning to OPT_ options
In a local tree I accidentally had OPT_INIT_ALL defaulting to zero in userland and none in kernel. This resulted in the INIT_ALL text appear
makeman: extend duplicate option warning to OPT_ options
In a local tree I accidentally had OPT_INIT_ALL defaulting to zero in userland and none in kernel. This resulted in the INIT_ALL text appearing twice in src.conf.5.
Reviewed by: brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45184
show more ...
|
| #
9c80d66e
|
| 08-Sep-2023 |
John Baldwin <jhb@FreeBSD.org> |
makeman: Use ${make} instead of plain make to compute ${requireds}
This is currently a no-op but can matter for downstreams whose ${make} includes additional settings.
Reviewed by: imp, emaste Obta
makeman: Use ${make} instead of plain make to compute ${requireds}
This is currently a no-op but can matter for downstreams whose ${make} includes additional settings.
Reviewed by: imp, emaste Obtained from: CheriBSD Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D41777
show more ...
|
| #
897ae85f
|
| 01-Sep-2023 |
Brooks Davis <brooks@FreeBSD.org> |
makeman: add minimal support for group options
Ignore OPT_* values in showconfig out in exising code paths and add a new path to include descriptions for each. For now, hardcode the description cont
makeman: add minimal support for group options
Ignore OPT_* values in showconfig out in exising code paths and add a new path to include descriptions for each. For now, hardcode the description contents rather than attempting to generate it. This runs the risk of docs getting out of date, limits the amount of new shell code added today while a lua rewrite is nearly ready to land.
This change requires a followup commit to enable OPT_* values in "make showconfig" in order to actually find group options.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D41681
show more ...
|
| #
89aed883
|
| 31-Aug-2023 |
Brooks Davis <brooks@FreeBSD.org> |
makeman: clarify scope of ignored option values
The values of WITH_ and WITHOUT_ options are ignored, but group options are not.
Reviewed by: imp, emaste Differential Revision: https://reviews.free
makeman: clarify scope of ignored option values
The values of WITH_ and WITHOUT_ options are ignored, but group options are not.
Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41683
show more ...
|
| #
d0b2dbfa
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
bce99679
|
| 18-Jun-2023 |
Colin Percival <cperciva@FreeBSD.org> |
options/makeman: Handle __REQUIRED_OPTIONS
Teach the code which generates src.conf.5 about __REQUIRED_OPTIONS; without this change it gets confused and thinks that every option turns the required op
options/makeman: Handle __REQUIRED_OPTIONS
Teach the code which generates src.conf.5 about __REQUIRED_OPTIONS; without this change it gets confused and thinks that every option turns the required options on.
Reviewed by: sjg, imp Differential Revision: https://reviews.freebsd.org/D40591
show more ...
|
| #
baf2dc64
|
| 23-Apr-2023 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Set UPDATE_DEPDFILE=NO for showconfig
Exporting UPDATE_DEPDFILE=NO from makeman didn't work, back to setting it in local.meta.sys.env.mk
|
| #
16161b48
|
| 22-Apr-2023 |
Simon J. Gerraty <sjg@FreeBSD.org> |
makeman export UPDATE_DEPENFILE=no
Just to be clear we do not need any updates.
|
| #
cc36164a
|
| 08-Mar-2023 |
Brooks Davis <brooks@FreeBSD.org> |
makeman: replace -\|/ twiddles with dots
It shows progress more clearly, there aren't so many that the output is excessive, and it's more friendly for things like Cirrus-CI's logging that print the
makeman: replace -\|/ twiddles with dots
It shows progress more clearly, there aren't so many that the output is excessive, and it's more friendly for things like Cirrus-CI's logging that print the backspaces as boxes.
Reviewed by: emaste Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D38990
show more ...
|
| #
fca7df1b
|
| 08-Mar-2023 |
Brooks Davis <brooks@FreeBSD.org> |
makeman: don't insert a $FreeBSD$
There's no need to insert this line which won't be expanded in git. Not generating it won't impact MFCs to 12 since the removal won't be MFCd.
Reviewed by: emaste
makeman: don't insert a $FreeBSD$
There's no need to insert this line which won't be expanded in git. Not generating it won't impact MFCs to 12 since the removal won't be MFCd.
Reviewed by: emaste Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D38989
show more ...
|
| #
42afe48b
|
| 08-Mar-2023 |
Brooks Davis <brooks@FreeBSD.org> |
makeman: fix a whitespace bug
Reviewed by: emaste Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D38988
|
| #
e6ca6901
|
| 11-Sep-2020 |
Gordon Bergling <gbe@FreeBSD.org> |
Improvements for the src.conf(5) and build(7) man pages
PR: 203863 (based on) Submitted by: Russell Haley <russ dot haley at gmail dot com> Reviewed by: bcr, imp Approved by: imp MFC after: 1 week
Improvements for the src.conf(5) and build(7) man pages
PR: 203863 (based on) Submitted by: Russell Haley <russ dot haley at gmail dot com> Reviewed by: bcr, imp Approved by: imp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D26343
show more ...
|
| #
dd8c666d
|
| 10-Sep-2025 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
src.sys.mk: Support src.conf in SRCTOP
If SRCCONF is not defined and src.conf exists at the top level of the source tree, use that instead of /etc/src.conf.
MFC after: 3 days Reviewed by: kevans, i
src.sys.mk: Support src.conf in SRCTOP
If SRCCONF is not defined and src.conf exists at the top level of the source tree, use that instead of /etc/src.conf.
MFC after: 3 days Reviewed by: kevans, imp Differential Revision: https://reviews.freebsd.org/D52470
show more ...
|
| #
161f8edc
|
| 08-Aug-2025 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
bsd.mkopt.mk: Prepare a list of all build options
After processing all the build options, iterate over the complete list minus CLEAN, MAN and TESTS, and prepare two variables:
* SRC_OPT_DEFS is a l
bsd.mkopt.mk: Prepare a list of all build options
After processing all the build options, iterate over the complete list minus CLEAN, MAN and TESTS, and prepare two variables:
* SRC_OPT_DEFS is a list of -D and -U directives, suitable for passing to cpp or unifdef, where each option is either defined or undefined depending on whether it is set or unset. This list also includes -D__${MACHINE_ARCH}__.
* SRC_OPT_LIST is a list of build options suitable for passing to make itself (or sticking in /etc/src.conf). This list also includes TARGET=${MACHINE} and TARGET_ARCH=${MACHINE_ARCH}.
Note that this list is cumulative, so it includes both options defined in bsd.opts.mk and options defined in src.opts.mk.
Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D51827
show more ...
|
| #
65fd76b5
|
| 13-May-2024 |
Ed Maste <emaste@FreeBSD.org> |
makeman: extend duplicate option warning to OPT_ options
In a local tree I accidentally had OPT_INIT_ALL defaulting to zero in userland and none in kernel. This resulted in the INIT_ALL text appear
makeman: extend duplicate option warning to OPT_ options
In a local tree I accidentally had OPT_INIT_ALL defaulting to zero in userland and none in kernel. This resulted in the INIT_ALL text appearing twice in src.conf.5.
Reviewed by: brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45184
show more ...
|
| #
9c80d66e
|
| 08-Sep-2023 |
John Baldwin <jhb@FreeBSD.org> |
makeman: Use ${make} instead of plain make to compute ${requireds}
This is currently a no-op but can matter for downstreams whose ${make} includes additional settings.
Reviewed by: imp, emaste Obta
makeman: Use ${make} instead of plain make to compute ${requireds}
This is currently a no-op but can matter for downstreams whose ${make} includes additional settings.
Reviewed by: imp, emaste Obtained from: CheriBSD Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D41777
show more ...
|
| #
897ae85f
|
| 01-Sep-2023 |
Brooks Davis <brooks@FreeBSD.org> |
makeman: add minimal support for group options
Ignore OPT_* values in showconfig out in exising code paths and add a new path to include descriptions for each. For now, hardcode the description cont
makeman: add minimal support for group options
Ignore OPT_* values in showconfig out in exising code paths and add a new path to include descriptions for each. For now, hardcode the description contents rather than attempting to generate it. This runs the risk of docs getting out of date, limits the amount of new shell code added today while a lua rewrite is nearly ready to land.
This change requires a followup commit to enable OPT_* values in "make showconfig" in order to actually find group options.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D41681
show more ...
|
| #
89aed883
|
| 31-Aug-2023 |
Brooks Davis <brooks@FreeBSD.org> |
makeman: clarify scope of ignored option values
The values of WITH_ and WITHOUT_ options are ignored, but group options are not.
Reviewed by: imp, emaste Differential Revision: https://reviews.free
makeman: clarify scope of ignored option values
The values of WITH_ and WITHOUT_ options are ignored, but group options are not.
Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41683
show more ...
|
| #
d0b2dbfa
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
bce99679
|
| 18-Jun-2023 |
Colin Percival <cperciva@FreeBSD.org> |
options/makeman: Handle __REQUIRED_OPTIONS
Teach the code which generates src.conf.5 about __REQUIRED_OPTIONS; without this change it gets confused and thinks that every option turns the required op
options/makeman: Handle __REQUIRED_OPTIONS
Teach the code which generates src.conf.5 about __REQUIRED_OPTIONS; without this change it gets confused and thinks that every option turns the required options on.
Reviewed by: sjg, imp Differential Revision: https://reviews.freebsd.org/D40591
show more ...
|
| #
baf2dc64
|
| 23-Apr-2023 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Set UPDATE_DEPDFILE=NO for showconfig
Exporting UPDATE_DEPDFILE=NO from makeman didn't work, back to setting it in local.meta.sys.env.mk
|
| #
16161b48
|
| 22-Apr-2023 |
Simon J. Gerraty <sjg@FreeBSD.org> |
makeman export UPDATE_DEPENFILE=no
Just to be clear we do not need any updates.
|
| #
cc36164a
|
| 08-Mar-2023 |
Brooks Davis <brooks@FreeBSD.org> |
makeman: replace -\|/ twiddles with dots
It shows progress more clearly, there aren't so many that the output is excessive, and it's more friendly for things like Cirrus-CI's logging that print the
makeman: replace -\|/ twiddles with dots
It shows progress more clearly, there aren't so many that the output is excessive, and it's more friendly for things like Cirrus-CI's logging that print the backspaces as boxes.
Reviewed by: emaste Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D38990
show more ...
|