git: mk/crunchgen: Fix parallel builds by ordering targets

Aaron LI aly at crater.dragonflybsd.org
Sun Jul 1 19:04:48 PDT 2018


commit f5d8234e8535a5fbbccf83bdb9a832e1d5f36088
Author: Aaron LI <aly at aaronly.me>
Date:   Mon Jul 2 09:06:31 2018 +0800

    mk/crunchgen: Fix parallel builds by ordering targets
    
    Order the build targets (clean, cleandepend, cleandir, obj, objlink,
    depend, all, install) to avoid the race in parallel building.  This
    change is based on <bsd.subdir.mk>.  Meanwhile, add minor comments to
    make the hierarchy clearer in <bsd.subdir.mk>.
    
    Add the 'depend' target for the crunchdir's.

Summary of changes:
 share/mk/bsd.crunchgen.mk | 9 ++++++---
 share/mk/bsd.subdir.mk    | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f5d8234e8535a5fbbccf83bdb9a832e1d5f36088


-- 
DragonFly BSD source repository



More information about the Commits mailing list