Index: bin/Makefile =================================================================== --- bin/Makefile +++ bin/Makefile @@ -48,5 +48,6 @@ .include SUBDIR_PARALLEL= +SUBDIR_SORTED= .include Index: sbin/Makefile =================================================================== --- sbin/Makefile +++ sbin/Makefile @@ -94,5 +94,6 @@ .include SUBDIR_PARALLEL= +SUBDIR_SORTED= .include Index: share/mk/bsd.subdir.mk =================================================================== --- share/mk/bsd.subdir.mk +++ share/mk/bsd.subdir.mk @@ -115,6 +115,9 @@ .if defined(SUBDIR) || defined(SUBDIR.yes) SUBDIR:=${SUBDIR} ${SUBDIR.yes} +.if defined(SUBDIR_SORTED) +SUBDIR:=${SUBDIR:O} +.endif SUBDIR:=${SUBDIR:u} .endif Index: usr.bin/Makefile =================================================================== --- usr.bin/Makefile +++ usr.bin/Makefile @@ -307,5 +307,6 @@ .include SUBDIR_PARALLEL= +SUBDIR_SORTED= .include Index: usr.sbin/Makefile =================================================================== --- usr.sbin/Makefile +++ usr.sbin/Makefile @@ -219,5 +219,6 @@ .include SUBDIR_PARALLEL= +SUBDIR_SORTED= .include