Page MenuHomeFreeBSD

Add a guard for broken SUBDIR.${MK_FOO} use
ClosedPublic

Authored by brooks on Fri, Nov 13, 10:36 PM.

Details

Summary

Check for the variable SUBDIR. and error as it usually means someone
forgot to include src.opts.mk.

This guard from CheriBSD found the bug in D27210.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.