]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Be more tolerant of share/mk and kern.mk mismatch
authorbrooks <brooks@FreeBSD.org>
Tue, 10 Nov 2020 21:12:32 +0000 (21:12 +0000)
committerbrooks <brooks@FreeBSD.org>
Tue, 10 Nov 2020 21:12:32 +0000 (21:12 +0000)
commita89495b149544490927cc8622941e15155b1fe14
tree24c391f9dd220d0587f70472fe19710f133e5ad3
parent0563fa88641855ec0ba6d1a826982956653c16a5
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
sys/conf/kern.mk