]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a guard for broken SUBDIR.${MK_FOO} use
authorbrooks <brooks@FreeBSD.org>
Mon, 16 Nov 2020 19:15:11 +0000 (19:15 +0000)
committerbrooks <brooks@FreeBSD.org>
Mon, 16 Nov 2020 19:15:11 +0000 (19:15 +0000)
commitb7923586ef45f1efa72d6b7485bc233b00f787b5
tree9c3feefdf71c7e81ab5de921621d258fb9ee22b6
parent9f09587cc0a4ff2173339ce48c072e2b9aceaad7
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
share/mk/bsd.subdir.mk