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)
Wed, Mar 11, 10:03 AM
Unknown Object (File)
Fri, Mar 6, 3:36 AM
Unknown Object (File)
Mon, Mar 2, 7:41 PM
Unknown Object (File)
Sun, Mar 1, 4:07 AM
Unknown Object (File)
Sat, Feb 28, 2:48 AM
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
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?