aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--ModuleInfo.txt2
2 files changed, 9 insertions, 1 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
+
diff --git a/ModuleInfo.txt b/ModuleInfo.txt
index 4e43564466..4d8a853d82 100644
--- a/ModuleInfo.txt
+++ b/ModuleInfo.txt
@@ -1,2 +1,2 @@
-BuildTarget: tools-only
DepModule:
+BuildTarget: build-for-llvm-top