summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-03 23:05:24 +0000
committerChris Lattner <sabre@nondot.org>2004-02-03 23:05:24 +0000
commit135dcc024b812576882d8ab9b093bfb571dede8d (patch)
tree80995a6459dba2247ed2b56c3ec6a0caa7814589 /llvm
parent3d96eb6fa6a6b6471812aebfce41bf03e4c794ff (diff)
downloadbcm5719-llvm-135dcc024b812576882d8ab9b093bfb571dede8d.tar.gz
bcm5719-llvm-135dcc024b812576882d8ab9b093bfb571dede8d.zip
Revised version of a patch for PR222 that works with my version of gmake.
llvm-svn: 11104
Diffstat (limited to 'llvm')
-rw-r--r--llvm/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/Makefile b/llvm/Makefile
index f9b834b79dc..559cdfe8dd6 100644
--- a/llvm/Makefile
+++ b/llvm/Makefile
@@ -7,9 +7,14 @@
#
##===----------------------------------------------------------------------===##
LEVEL = .
-DIRS = lib/Support utils lib tools runtime
+DIRS = lib/Support utils lib tools
OPTIONAL_DIRS = projects
+ifneq ($(MAKECMDGOALS),tools-only)
+DIRS += runtime
+endif
+
+
include $(LEVEL)/Makefile.common
test :: all
@@ -22,7 +27,6 @@ distclean:: clean
$(LEVEL)/config.log \
$(LEVEL)/TAGS
-tools-only: DIRS = $(DIRS:runtime=)
tools-only: all
configure: autoconf/configure.ac autoconf/aclocal.m4
OpenPOWER on IntegriCloud