From: Tim 'mithro' Ansell Date: Mon, 25 Sep 2017 09:32:55 +0000 (+1000) Subject: bios: Declare dependency on linked in .a files. X-Git-Tag: 24jan2021_ls180~1802^2~4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07a9df35863605c5f6a0beadcfc0998667c95ec7;p=litex.git bios: Declare dependency on linked in .a files. --- 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 \