From c596c2876f7c43f9793922285b6f2e60747f556f Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Tue, 9 May 2017 23:58:07 +0000 Subject: [PATCH] Add a -DNO_LIBS to skip building the libraries phase as well. This is useful for cases where -DWORLDFAST is useful. Sponsored by: Dell EMC Isilon --- Makefile.inc1 | 2 ++ share/man/man7/build.7 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Makefile.inc1 b/Makefile.inc1 index 85612251861d..122dc7760147 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -849,7 +849,9 @@ WMAKE_TGTS+= _build-tools _cross-tools WMAKE_TGTS+= _compiler-metadata WMAKE_TGTS+= _includes .endif +.if !defined(NO_LIBS) WMAKE_TGTS+= _libraries +.endif WMAKE_TGTS+= everything .if defined(LIBCOMPAT) && empty(SUBDIR_OVERRIDE) WMAKE_TGTS+= build${libcompat} diff --git a/share/man/man7/build.7 b/share/man/man7/build.7 index d65591d8ae03..987e34b26319 100644 --- a/share/man/man7/build.7 +++ b/share/man/man7/build.7 @@ -605,6 +605,8 @@ If set, the update process does not update the source of the documentation as part of the .Dq make update target. +.It Va NO_LIBS +If set, the libraries phase will be skipped. .It Va NO_OBJ If set, no object directories will be created. This should only be used if object directories were created in a