Index: tools/Makefile |
diff --git a/tools/Makefile b/tools/Makefile |
index 93ea4b992624aaefb2d7e086a052cd8292d51676..7096b965943bc0ca11a1dd56a1408ada9c71b26c 100644 |
--- a/tools/Makefile |
+++ b/tools/Makefile |
@@ -47,8 +47,13 @@ endif |
# Let users override the set of tools to build from the command line. |
ifdef ONLY_TOOLS |
OPTIONAL_PARALLEL_DIRS := |
+ # @LOCALMOD-BEGIN -- Allow subzero to be built as a tool if requested. |
+ ifneq ($(findstring subzero,$(ONLY_TOOLS)),) |
+ OPTIONAL_PARALLEL_DIRS += $(SUBZERO_SRC_ROOT) |
+ endif |
+ # @LOCALMOD-END |
OPTIONAL_DIRS := $(findstring lldb,$(ONLY_TOOLS)) |
- PARALLEL_DIRS := $(filter-out lldb,$(ONLY_TOOLS)) |
+ PARALLEL_DIRS := $(filter-out lldb subzero,$(ONLY_TOOLS)) # @LOCALMOD |
endif |
# These libraries build as dynamic libraries (.dylib /.so), they can only be |