]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Be more tolerant of share/mk and kern.mk mismatch
authorBrooks Davis <brooks@FreeBSD.org>
Tue, 10 Nov 2020 21:12:32 +0000 (21:12 +0000)
committerBrooks Davis <brooks@FreeBSD.org>
Tue, 10 Nov 2020 21:12:32 +0000 (21:12 +0000)
commitd8033dc3d386a851bd534c7f05c3c753796ebd29
tree24c391f9dd220d0587f70472fe19710f133e5ad3
parentb3ceca0c80aba83f38c4f8da8054f42f5cbd5243
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