summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-07-08 03:50:22 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-07-08 03:50:22 +0000
commit51cf6426bf2ec569d843418077af59e7080e7f3e (patch)
treeab06cbe66eed729aef15e75441545f381765a18d /Makefile
parent8d87a6b29c43c5bbed3e7c8f760d2cb6342eb632 (diff)
downloadllvm-51cf6426bf2ec569d843418077af59e7080e7f3e.tar.gz
llvm-51cf6426bf2ec569d843418077af59e7080e7f3e.tar.bz2
llvm-51cf6426bf2ec569d843418077af59e7080e7f3e.tar.xz
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7a9e7112e3..c61b7e5ef4 100644
--- a/Makefile
+++ b/Makefile
@@ -128,4 +128,12 @@ show-footprint:
$(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
+