HomeFreeBSD

Be more tolerant of share/mk and kern.mk mismatch

Description

Be more tolerant of share/mk and kern.mk mismatch

When building out-of-tree modules, it appears that the system share/mk
is used, but sys/conf/kern.mk is used. That results in MK_INIT_ALL_ZERO
being undefined. In the interest of maximum compatability, check
that MK_INIT_ALL_* and COMPILER_FEATURES are defined before comparing
their values.

Reported by: mmacy
Sponsored by: DARPA

Details

Provenance
brooksAuthored on Nov 10 2020, 9:12 PM
Parents
rGb3ceca0c80ab: Clear tp->tod in t4_pcb_detach().
Branches
Unknown
Tags
Unknown

Event Timeline