Apply Michael Kahl's patch to fix the 'make tools-only' target when OBJDIR != SRCDIR.
See PR222.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11102 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Makefile b/Makefile
index f574193..f9b834b 100644
--- a/Makefile
+++ b/Makefile
@@ -22,8 +22,8 @@
$(LEVEL)/config.log \
$(LEVEL)/TAGS
-tools-only:
- @for dir in lib/Support utils lib tools; do $(MAKE) -C $$dir; done
+tools-only: DIRS = $(DIRS:runtime=)
+tools-only: all
configure: autoconf/configure.ac autoconf/aclocal.m4
cd autoconf && aclocal && autoconf -o ../configure configure.ac