]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
kernel-toolchain: Skip world _obj and _cleanobj phases.
authorBryan Drewery <bdrewery@FreeBSD.org>
Tue, 31 Oct 2017 19:02:14 +0000 (19:02 +0000)
committerBryan Drewery <bdrewery@FreeBSD.org>
Tue, 31 Oct 2017 19:02:14 +0000 (19:02 +0000)
commit5a4121a80041eb194857d9ca77e77bc5298398c1
treed9a93373e4dbd531598b6014df0187a104d9e0fc
parent7cd84b56411ceebd98e5972320100c3e9b206956
kernel-toolchain: Skip world _obj and _cleanobj phases.

There's no good reason to treewalk the entire tree removing old OBJDIRS
and creating new ones when 'includes', 'libraries', and 'everything' are
all skipped.  The only shared directory in the existing toolchain target
and world is build-tools.  So handle cleaning in it directly if needed
only for the directories it wants to build.

The extra _obj/_cleanobj walks came in the initial kernel-toolchain
addition in r128189.

MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Makefile.inc1