A comment in Makefile.inc1 has long stated that LOCAL_DIRS are built last, after the base system. Incremental improvements in parallel building over the years have led to LOCAL_DIRS being built in parallel with base system directories. This change allows the .WAIT directive to appear in LOCAL_DIRS and LOCAL_LIB_DIRS lists to give the user some control over parallel building of local additions.
- Group Reviewers
- rS327663: MFC r327439:
rS327439: Allow use of .WAIT in the LOCAL_DIRS and LOCAL_LIB_DIRS lists.
Passed make universe.
looks totally fine. The ifs were there to keep bad dirs from getting into the SUBDIR list. Since SUBDIR supports .WAIT, this should be no worse than before. And nobody is going to call a subdir .WAIT because of other issues with that. Looks good to me.