From: Sebastien Bourdeauducq Date: Fri, 7 Nov 2014 02:00:28 +0000 (-0800) Subject: software: make compiler-rt a submodule X-Git-Tag: 24jan2021_ls180~2630 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=09773df18645ab050f1db98de8bcc80fd388aee9;p=litex.git software: make compiler-rt a submodule --- diff --git a/.gitmodules b/.gitmodules index 41a166d1..a952646d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 index 00000000..a1448787 --- /dev/null +++ b/software/compiler-rt @@ -0,0 +1 @@ +Subproject commit a1448787a069603414e716adc8a41f866e28a4b4 diff --git a/software/libcompiler-rt/Makefile b/software/libcompiler-rt/Makefile index d7aa03bc..c66d53ed 100644 --- a/software/libcompiler-rt/Makefile +++ b/software/libcompiler-rt/Makefile @@ -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