Install things needed by llvm-top to allow successful building
of llvm from that level.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38423 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Makefile b/Makefile
index 7a9e711..c61b7e5 100644
--- a/Makefile
+++ b/Makefile
@@ -128,4 +128,12 @@
$(Verb) du -sk $(ExmplDir)
$(Verb) du -sk $(ObjDir)
+build-for-llvm-top:
+ $(Verb) if test ! -f ./config.status ; then \
+ ./configure --prefix="$(LLVM_TOP)/install" \
+ --with-llvm-gcc="$(LLVM_TOP)/llvm-gcc" ; \
+ fi
+ $(Verb) $(MAKE) tools-only
+
.PHONY: srpm rpm
+