From 07a9df35863605c5f6a0beadcfc0998667c95ec7 Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Mon, 25 Sep 2017 19:32:55 +1000 Subject: [PATCH] bios: Declare dependency on linked in .a files. --- litex/soc/software/bios/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/soc/software/bios/Makefile b/litex/soc/software/bios/Makefile index e00e4a70..6fd21dd2 100644 --- a/litex/soc/software/bios/Makefile +++ b/litex/soc/software/bios/Makefile @@ -12,8 +12,8 @@ all: bios.bin bios.elf: $(BIOS_DIRECTORY)/linker.ld $(OBJECTS) -%.elf: - $(LD) $(LDFLAGS) -T $< -N -o $@ \ +%.elf: ../libbase/crt0-$(CPU).o ../libnet/libnet.a ../libbase/libbase-nofloat.a ../libcompiler_rt/libcompiler_rt.a + $(LD) $(LDFLAGS) -T $(BIOS_DIRECTORY)/linker.ld -N -o $@ \ ../libbase/crt0-$(CPU).o \ $(OBJECTS) \ -L../libnet \ -- 2.30.2