software: make compiler-rt a submodule
authorSebastien Bourdeauducq <sb@m-labs.hk>
Fri, 7 Nov 2014 02:00:28 +0000 (18:00 -0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Fri, 7 Nov 2014 02:00:28 +0000 (18:00 -0800)
.gitmodules
software/compiler-rt [new submodule]
software/libcompiler-rt/Makefile

index 41a166d11195e4d616a10be35a300c181c7b4cd0..a952646d16d0a985e90407b5975b9355aa273ea1 100644 (file)
@@ -4,3 +4,6 @@
 [submodule "verilog/mor1kx/submodule"]
        path = verilog/mor1kx/submodule
        url = https://github.com/openrisc/mor1kx.git
+[submodule "software/compiler-rt"]
+       path = software/compiler-rt
+       url = http://llvm.org/git/compiler-rt.git
diff --git a/software/compiler-rt b/software/compiler-rt
new file mode 160000 (submodule)
index 0000000..a144878
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit a1448787a069603414e716adc8a41f866e28a4b4
index d7aa03bc0aeb962cde8dbed700883db2d594fea2..c66d53ed9862b9cee42a6d5438ed81d19a58392f 100644 (file)
@@ -16,7 +16,7 @@ libcompiler-rt.a: $(OBJECTS)
        $(AR) clr libcompiler-rt.a $(OBJECTS)
        $(RANLIB) libcompiler-rt.a
 
-%.o: $(CRTDIR)/lib/builtins/%.c
+%.o: $(MSCDIR)/software/compiler-rt/lib/builtins/%.c
        $(compile-dep)
 
 .PHONY: clean