HomeFreeBSD

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

Description

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

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

This guard from CheriBSD found the bugs in r367655 and r367728.

Reviewed by: bdrewery, arichardson
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D27211

Details

Provenance
brooksAuthored on Nov 16 2020, 7:15 PM
Parents
rGa521f2116473: bsdiff: fix off-by-one error
Branches
Unknown
Tags
Unknown

Event Timeline