From 64a262268224ffe5a469436f680f7bb3123a53ae Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sun, 8 Jul 2007 03:50:22 +0000 Subject: [PATCH] Install things needed by llvm-top to allow successful building of llvm from that level. llvm-svn: 38423 --- llvm/Makefile | 8 ++++++++ llvm/ModuleInfo.txt | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/llvm/Makefile b/llvm/Makefile index 7a9e7112e36e..c61b7e5ef487 100644 --- a/llvm/Makefile +++ b/llvm/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 + diff --git a/llvm/ModuleInfo.txt b/llvm/ModuleInfo.txt index 4e43564466ed..4d8a853d82cd 100644 --- a/llvm/ModuleInfo.txt +++ b/llvm/ModuleInfo.txt @@ -1,2 +1,2 @@ -BuildTarget: tools-only DepModule: +BuildTarget: build-for-llvm-top