From 2c36098f45c313e221be11c1113235b5f0837929 Mon Sep 17 00:00:00 2001 From: Arnaud Durand Date: Sun, 8 Nov 2020 03:21:39 +0100 Subject: [PATCH] libcompiler_rt: Remove duplicate mulsi3.o in Makefile --- litex/soc/software/libcompiler_rt/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litex/soc/software/libcompiler_rt/Makefile b/litex/soc/software/libcompiler_rt/Makefile index ef78cd569..39a980660 100644 --- a/litex/soc/software/libcompiler_rt/Makefile +++ b/litex/soc/software/libcompiler_rt/Makefile @@ -13,8 +13,7 @@ OBJECTS=umodsi3.o udivsi3.o divsi3.o modsi3.o comparesf2.o comparedf2.o negsf2.o all: libcompiler_rt.a -libcompiler_rt.a: $(OBJECTS) - $(CC) -c $(CFLAGS) $(1) $(SOC_DIRECTORY)/software/libcompiler_rt/mulsi3.c -o mulsi3.o +libcompiler_rt.a: $(OBJECTS) mulsi3.o $(AR) crs libcompiler_rt.a $(OBJECTS) mulsi3.o # pull in dependency info for *existing* .o files