mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 22:23:08 +00:00
Fix bsd.subdir.mk-related issues after 0a0f748641
Since bsd.prog.mk includes bsd.obj.mk, and thus bsd.subdir.mk, we must
ensure all our bsd.subdir.mk-affecting variables are set before
including bsd.prog.mk. Since sbin's various Makefile.arch files add to
SUBDIR this results in those not taking effect, and presumably we also
end up not having buildworld as parallel as it should be due to the fact
that SUBDIR_PARALLEL was not being set before including bsd.prog.mk.
MFC with: 0a0f748641
Reviewed by: olivier
Differential Revision: https://reviews.freebsd.org/D31125
This commit is contained in:
parent
6da773cb1c
commit
8b487b8292
@ -90,14 +90,14 @@ SUBDIR.${MK_ZFS}+= zfsbootcfg
|
||||
|
||||
SUBDIR.${MK_TESTS}+= tests
|
||||
|
||||
.include <bsd.arch.inc.mk>
|
||||
|
||||
SUBDIR_PARALLEL=
|
||||
|
||||
# Add architecture-specific manpages
|
||||
# to be included anyway
|
||||
MAN= sconfig/sconfig.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.include <bsd.arch.inc.mk>
|
||||
|
||||
SUBDIR_PARALLEL=
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
@ -213,6 +213,8 @@ SUBDIR.${MK_TESTS}+= tests
|
||||
|
||||
.include <bsd.arch.inc.mk>
|
||||
|
||||
SUBDIR_PARALLEL=
|
||||
|
||||
# Add architecture-specific manpages
|
||||
# to be included anyway
|
||||
MAN= apmd/apmd.8 \
|
||||
@ -220,6 +222,4 @@ MAN= apmd/apmd.8 \
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
SUBDIR_PARALLEL=
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user