Merge branch 'master' of https://github.com/enjoy-digital/litex
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 12 Apr 2016 23:19:21 +0000 (01:19 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 12 Apr 2016 23:19:21 +0000 (01:19 +0200)
1  2 
litex/soc/software/libcompiler_rt/Makefile

index 664dd20043d45a13b5437e6f27194415506248f8,35a8b98ec25198e014fbb364fc57b23ef1d35de7..e317fdd7b7f19cf22959ca87d5d490f49c34bbd9
@@@ -14,9 -14,11 +14,12 @@@ OBJECTS=umodsi3.o udivsi3.o divsi3.o mo
  all: libcompiler_rt.a
  
  libcompiler_rt.a: $(OBJECTS)
 +      $(CC) -c $(CFLAGS) $(1) $(SOC_DIRECTORY)/software/libcompiler_rt/mulsi3.c -o mulsi3.o
        $(AR) crs libcompiler_rt.a $(OBJECTS)
  
+ mulsi3.o: $(SOC_DIRECTORY)/software/libcompiler_rt/mulsi3.c
+       $(compile)
  %.o: $(SOC_DIRECTORY)/software/compiler_rt/lib/builtins/%.c
        $(compile)