aboutsummaryrefslogtreecommitdiff
path: root/targets
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2017-06-20 22:08:02 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2017-06-20 22:08:02 +0000
commit817366f1c154a6985ab541c6f58d81b12066b0ef (patch)
treed5d7facffa8a0f679f7cfca28f5d99d9038132a6 /targets
parentaeb2785c30e1f4593c052954d7ca53d5124f006c (diff)
downloadsrc-817366f1c154a6985ab541c6f58d81b12066b0ef.tar.gz
src-817366f1c154a6985ab541c6f58d81b12066b0ef.zip
buildworld: Pass which world phase the build is in down to submakes.
This is useful for having directories behave differently depending on the phase - such as enabling SUBDIR_PARALLEL or disabling redundant building of library directories already done by earlier 'make _libraries'. Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=320177
Diffstat (limited to 'targets')
-rw-r--r--targets/pseudo/bootstrap-tools/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/targets/pseudo/bootstrap-tools/Makefile b/targets/pseudo/bootstrap-tools/Makefile
index 2259861ce24e..9b0f524f0c63 100644
--- a/targets/pseudo/bootstrap-tools/Makefile
+++ b/targets/pseudo/bootstrap-tools/Makefile
@@ -35,6 +35,7 @@ OSRELDATE?= 0
# need to keep this in sync with src/Makefile.inc1
BSARGS= DESTDIR= \
BOOTSTRAPPING=${OSRELDATE} \
+ BWPHASE=${.TARGET} \
SSP_CFLAGS= \
MK_HTML=no NO_LINT=yes MK_MAN=no \
-DNO_PIC MK_PROFILE=no -DNO_SHARED \