Page MenuHomeFreeBSD

Allow for local CFLAGS in kernel build
Needs ReviewPublic

Authored by joyul_juniper.net on Oct 24 2024, 6:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Feb 17, 12:25 PM
Unknown Object (File)
Dec 17 2025, 5:33 AM
Unknown Object (File)
Nov 30 2025, 6:24 PM
Unknown Object (File)
Nov 6 2025, 12:04 AM
Unknown Object (File)
Nov 2 2025, 6:23 AM
Unknown Object (File)
Oct 26 2025, 12:44 PM
Unknown Object (File)
Oct 26 2025, 6:04 AM
Unknown Object (File)
Oct 21 2025, 7:37 AM
Subscribers
None

Details

Reviewers
imp
markj
Summary

Allow for local CFLAGS in kernel build.
Add CFLAGS_LOCAL to the CFLAGS.

Test Plan

Build pass upstream codebase.
Build internal products and make sure CFLAGS_LOCAL works.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

joyul_juniper.net created this revision.

Sorry for the lag... I just noticed a whole category of reviews that I was tagged in, but didn't get notified...

Can you share how this is done, how why it can't be done with the existing CONF_CFLAGS or ARCH_FLAGS?