]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Rework r349061: Don't apply guessed dependencies if there is a custom target.
authorbdrewery <bdrewery@FreeBSD.org>
Tue, 18 Jun 2019 22:00:38 +0000 (22:00 +0000)
committerbdrewery <bdrewery@FreeBSD.org>
Tue, 18 Jun 2019 22:00:38 +0000 (22:00 +0000)
commitdc927a012fda9e218f7bddd61a21af9dabb3a954
treecc6ac347d40677ed952d7518ce873de57c0eb301
parenta4a0ae9441093e88e463c25492eecfa02f71f107
Rework r349061: Don't apply guessed dependencies if there is a custom target.

This is still targeting bin/sh cyclic dependency issues.  Only apply
guessed dependencies that are explicitly set for an object (which
gnu/lib/cc/cc_tools needs) and if no custom target exists with its
own dependencies.

This was manifesting as a missing yacc.h in usr.bin/mkesdb_static when
built without -j (or -B). No actual yacc.h dependency ordering was
defined but with -j it got lucky and built fine.

Before r349061 the behavior was different for META_MODE but that logic
difference isn't needed.

X-MFC-With: r349061
Sponsored by: DellEMC
share/mk/bsd.dep.mk