From 454d5d13e24d049a0e8a006aa26cefec52a04501 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 4 Apr 2016 08:36:23 +0200 Subject: [PATCH] soc/software: fix libcompiler_rt mulsi3.c compile --- litex/soc/software/libcompiler_rt/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litex/soc/software/libcompiler_rt/Makefile b/litex/soc/software/libcompiler_rt/Makefile index 96d0387e..664dd200 100644 --- a/litex/soc/software/libcompiler_rt/Makefile +++ b/litex/soc/software/libcompiler_rt/Makefile @@ -7,13 +7,14 @@ else CFLAGS+=-D_YUGA_LITTLE_ENDIAN=1 -D_YUGA_BIG_ENDIAN=0 -Wno-missing-prototypes endif -OBJECTS=umodsi3.o udivsi3.o mulsi3.o divsi3.o modsi3.o comparesf2.o comparedf2.o negsf2.o negdf2.o addsf3.o subsf3.o mulsf3.o divsf3.o lshrdi3.o muldi3.o divdi3.o ashldi3.o ashrdi3.o udivmoddi4.o \ +OBJECTS=umodsi3.o udivsi3.o divsi3.o modsi3.o comparesf2.o comparedf2.o negsf2.o negdf2.o addsf3.o subsf3.o mulsf3.o divsf3.o lshrdi3.o muldi3.o divdi3.o ashldi3.o ashrdi3.o udivmoddi4.o \ floatsisf.o floatunsisf.o fixsfsi.o fixdfdi.o fixunssfsi.o fixunsdfdi.o adddf3.o subdf3.o muldf3.o divdf3.o floatsidf.o floatunsidf.o floatdidf.o fixdfsi.o fixunsdfsi.o \ clzsi2.o ctzsi2.o udivdi3.o umoddi3.o moddi3.o ucmpdi2.o 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) %.o: $(SOC_DIRECTORY)/software/compiler_rt/lib/builtins/%.c -- 2.30.2