HomeFreeBSD

config.5: Document CONF_CFLAGS under 'makeoptions'

Description

config.5: Document CONF_CFLAGS under 'makeoptions'

This variable serves to tweak CFLAGS from the kernel configuration file,
easing some custom kernel builds. It was introduced by bde@ in 1999.

The description has been kept simple on purpose. It does not completely
reflect reality as the build infrastructure actually appends variables
to CFLAGS after CONF_CFLAGS has been processed in a few cases. However,
these cases do not collide with expected common uses of CONF_CFLAGS, so
have not been mentioned.

Reviewed by: markj (older version)
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50544

(cherry picked from commit 1bdf1b8186359d4ea26e26de03e03b7c1543b707)

Event: Kitchener-Waterloo Hackathon 202506

Details

Provenance
olceAuthored on May 27 2025, 7:41 AM
Reviewer
markj
Differential Revision
D50544: config.5: Document CONF_CFLAGS under 'makeoptions'
Parents
rG9e185ae1d4b5: mac_do(4): Bump .Dd to reflect latest update
Branches
Unknown
Tags
Unknown