HomeFreeBSD

Create CFLAGS_EARLY.file for boot loader.

Description

Create CFLAGS_EARLY.file for boot loader.

Some external code requires a specific set of include paths to work
properly since it emulates the typical environment the code is used
in. Enable this by creating a CFLAGS_EARLY.file variable that can be
used to build this stack. Otherwise the include stack we build for
stand programs may get in the way. Code that uses this feature has to
tolerate the normal stack of inclues being last on the list (and
presumably unused), though.

Generally, it it should only be used for the specific include
directories. Defines and that sort of thing should be done in the
normal CFLAGS variable. There is a global CFLAGS_EARY hook as well for
everything in a Makefile.

(cherry picked from commit f9553770c03e82abcae07397025797ef346fbdab)

Details

Provenance
impAuthored on Aug 28 2020, 5:36 PM
kevansCommitted on Oct 8 2021, 5:24 AM
Parents
rG087f336455ec: Declare time()
Branches
Unknown
Tags
Unknown